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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x416d4c
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x416f83
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x416f51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
call fcn.0040450c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.0040497c
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
cmp ebx, 0xffffffff
jne 0x416df7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x18]
mov eax, 0x416968
call fcn.0040602c
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x416978
call fcn.0040602c
mov eax, dword [ebp - 0x1c]
mov ecx, 1
pop edx
call fcn.0041692c
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_GetFileSize
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x416e55
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x20]
mov eax, 0x416950
call fcn.0040602c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x416978
call fcn.0040602c
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.0041692c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x416e7f
lea edx, [ebp - 0x28]
mov eax, 0x416988
call fcn.0040602c
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x416030]
call fcn.0040ae5c
call fcn.00403f18
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.KERNEL32.DLL_CreateFileMappingA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jne 0x416ee4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x2c]
mov eax, 0x416958
call fcn.0040602c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x30]
mov eax, 0x416978
call fcn.0040602c
mov eax, dword [ebp - 0x30]
mov ecx, 1
pop edx
call fcn.0041692c
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.KERNEL32.DLL_MapViewOfFile
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
test ebx, ebx
jne 0x416f47
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x34]
mov eax, 0x416960
call fcn.0040602c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x38]
mov eax, 0x416978
call fcn.0040602c
mov eax, dword [ebp - 0x38]
mov ecx, 1
pop edx
call fcn.0041692c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x416f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416f8a
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.004044dc
ret