Function at 0x41fb8d
Capabilities:
Get file size
Read file via mapping

Disassembly:
push 8
push 0x58
mov eax, 0x477e65
call fcn.00474d92
mov edi, edx
mov dword [ebp - 0x18], edi
mov esi, ecx
mov dword [ebp - 0x1c], esi
and dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x68]
call fcn.00434cd9
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x41fd71
cmp word [esi], cx
je 0x41fd71
test edi, edi
je 0x41fd71
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp byte [ebx + 8], cl
je 0x41fc41
push esi
lea ecx, [ebp - 0x24]
call fcn.0040a211
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x3c]
push edi
push eax
mov ecx, 0x4a03b8
call fcn.0040a718
mov esi, dword [ebp - 0x34]
cmp byte [esi + 0xd], 0
jne 0x41fc10
push dword [esi + 0x10]
mov ecx, edi
call fcn.0040a7ea
test eax, eax
jns 0x41fc16
mov esi, dword [0x4a03b8]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00409575
cmp esi, dword [0x4a03b8]
je 0x41fc3c
mov edi, dword [ebp - 0x18]
add esi, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x41fd78
mov esi, dword [ebp - 0x1c]
xor ecx, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], 9
push ecx
push ecx
push 3
push ecx
push 5
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x28], esi
call edi
cmp esi, 0xffffffff
jne 0x41fc98
cmp eax, 0x20
je 0x41fc77
cmp eax, 5
jne 0x41fc8e
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x24], 1
mov esi, dword [ebp - 0x1c]
push 0
pop ecx
jns 0x41fc4e
call edi
mov dword [ebp - 0x14], eax
jmp 0x41fd78
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41fd68
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jne 0x41fcd2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x41fd68
push dword [ebp - 0x24]
xor eax, eax
push eax
push eax
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x41fcf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41fd59
push dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
mov ecx, eax
call fcn.0041e5e9
cmp byte [ebx + 8], 0
pop ecx
je 0x41fd4e
mov esi, dword [ebp - 0x18]
lea edi, [ebp - 0x40]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0040a211
mov byte [ebp - 4], 3
mov ecx, 0x4a03b8
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00422bee
lea esi, [ebp - 0x40]
mov edi, dword [eax]
add edi, 0x14
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00409575
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
xor eax, eax
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x41fd78
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41fd78
mov dword [ebp - 0x14], 0x57
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00434cfb
mov eax, dword [ebp - 0x14]
call fcn.00474d0d
ret