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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x416ecc
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x417103
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4170d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
call fcn.00404714
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404b50
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
cmp ebx, 0xffffffff
jne 0x416f77
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, 0x416ae8
call fcn.0040620c
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, 0x416af8
call fcn.0040620c
mov eax, dword [ebp - 0x1c]
mov ecx, 1
pop edx
call fcn.00416aac
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 0x416fd5
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, 0x416ad0
call fcn.0040620c
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, 0x416af8
call fcn.0040620c
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.00416aac
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x416fff
lea edx, [ebp - 0x28]
mov eax, 0x416b08
call fcn.0040620c
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x4161b0]
call fcn.0040b064
call fcn.00404120
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 0x417064
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, 0x416ad8
call fcn.0040620c
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, 0x416af8
call fcn.0040620c
mov eax, dword [ebp - 0x30]
mov ecx, 1
pop edx
call fcn.00416aac
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 0x4170c7
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, 0x416ae0
call fcn.0040620c
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, 0x416af8
call fcn.0040620c
mov eax, dword [ebp - 0x38]
mov ecx, 1
pop edx
call fcn.00416aac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4170e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41710a
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.004046e4
ret