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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x416638
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41686f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x41683d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 4
mov edx, ebx
call fcn.00403e2c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00404298
push eax
call fcn.00405b98
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], ebx
cmp ebx, 0xffffffff
jne 0x4166e3
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, 0x416254
call fcn.00405818
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, 0x416264
call fcn.00405818
mov eax, dword [ebp - 0x1c]
mov ecx, 1
pop edx
call fcn.00416218
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.00405c48
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], ebx
cmp ebx, 0xffffffff
jne 0x416741
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, 0x41623c
call fcn.00405818
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, 0x416264
call fcn.00405818
mov eax, dword [ebp - 0x24]
mov ecx, 1
pop edx
call fcn.00416218
mov eax, dword [ebp - 4]
cmp dword [eax + 0x1c], 0
jne 0x41676b
lea edx, [ebp - 0x28]
mov eax, 0x416274
call fcn.00405818
mov ecx, dword [ebp - 0x28]
mov dl, 1
mov eax, dword [0x415924]
call fcn.0040a7b0
call fcn.00403800
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.00405ba0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
test ebx, ebx
jne 0x4167d0
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, 0x416244
call fcn.00405818
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, 0x416264
call fcn.00405818
mov eax, dword [ebp - 0x30]
mov ecx, 1
pop edx
call fcn.00416218
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call fcn.00405d00
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], ebx
test ebx, ebx
jne 0x416833
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, 0x41624c
call fcn.00405818
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, 0x416264
call fcn.00405818
mov eax, dword [ebp - 0x38]
mov ecx, 1
pop edx
call fcn.00416218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x416854
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x416876
lea eax, [ebp - 0x38]
mov edx, 9
call fcn.00403dfc
ret