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

Disassembly:
push 0x60
mov eax, 0x467955
call fcn.00463b20
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
push ecx
lea ecx, [ebp - 0x6c]
xor ebx, ebx
call fcn.004327b3
mov dword [ebp - 4], ebx
or esi, 0xffffffff
mov eax, dword [ebp - 0x14]
mov edi, ebx
mov dword [ebp - 0x1c], ebx
test eax, eax
je 0x41d634
cmp word [eax], bx
je 0x41d634
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x41d634
push 8
xor eax, eax
mov edi, edx
pop ecx
rep stosd dword es:[edi], eax
cmp byte [ebp + 8], al
je 0x41d4e8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040769d
mov edi, eax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
push edi
push eax
mov ecx, 0x48bd60
call fcn.004078e6
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x48bd60]
cmp esi, ecx
je 0x41d4c0
push dword [esi + 0x10]
mov ecx, edi
call fcn.00407923
test eax, eax
jns 0x41d4c2
mov ecx, dword [0x48bd60]
mov esi, ecx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00406985
cmp esi, dword [0x48bd60]
je 0x41d4e8
mov edi, dword [ebp - 0x10]
add esi, 0x14
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
jmp 0x41d65c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], 9
push ebx
push ebx
push 3
push ebx
push 5
push SysReAllocString
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x20], esi
call edi
cmp esi, 0xffffffff
jne 0x41d53a
cmp eax, 0x20
je 0x41d520
cmp eax, 5
jne 0x41d531
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub dword [ebp - 0x18], 1
jns 0x41d4f5
call edi
mov ebx, eax
jmp 0x41d65c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x41d650
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x41d56a
call edi
mov ebx, eax
jmp 0x41d650
push dword [ebp - 0x18]
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
jne 0x41d58e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x41d642
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, edi
call fcn.0041c099
cmp byte [ebp + 8], 0
pop ecx
je 0x41d637
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0x44]
push 8
pop ecx
push dword [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x14]
call fcn.0040769d
mov edi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push edi
push eax
mov ecx, 0x48bd60
call fcn.004078e6
mov esi, dword [ebp - 0x18]
cmp esi, dword [0x48bd60]
je 0x41d5ea
push dword [esi + 0x10]
mov ecx, edi
call fcn.00407923
test eax, eax
jns 0x41d613
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
push ecx
mov edi, 0x48bd60
mov ecx, edi
call fcn.004202e0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.0042034a
mov esi, dword [ebp - 0x18]
lea edi, [esi + 0x14]
push 8
pop ecx
lea esi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00406985
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
jmp 0x41d637
push 0x57
pop ebx
test edi, edi
je 0x41d642
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41d650
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x41d65c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004327d5
mov eax, ebx
call fcn.00463ae9
ret