Function at 0x416e61
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65928c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0xa4
call fcn.00419f60
test eax, eax
je 0x416e98
xor eax, eax
jmp 0x4171ed
push 0
mov ecx, dword [ebp - 0x54]
call fcn.0041683a
mov eax, dword [ebp - 0x54]
add eax, 0x190
push eax
lea ecx, [ebp - 0x30]
call fcn.006222db
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
add ecx, 0x6b0
call fcn.00412660
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x416f50
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x6b0
call fcn.00619d9d
cmp eax, 1
jne 0x416f50
push 0x757020
push 0
mov edx, dword [ebp - 0x20]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x6b0
call fcn.00619cb3
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.006227fb
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x64], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x64]
push edx
lea ecx, [ebp - 0x30]
call fcn.0062297e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.00622566
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00622566
mov ecx, dword [ebp - 0x54]
add ecx, 0x6c
call fcn.00408080
test eax, eax
jne 0x416f99
push 0x757024
mov eax, dword [ebp - 0x54]
add eax, 0x6c
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.006227fb
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x30]
call fcn.0062297e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00622566
lea ecx, [ebp - 0x30]
call fcn.00408080
test eax, eax
je 0x417013
push 0x782540
mov ecx, dword [ebp - 0x54]
add ecx, 0x5b4
call fcn.006226ef
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0xa4
call fcn.00419fa0
lea ecx, [ebp - 0x40]
call fcn.00622566
push 1
mov ecx, dword [ebp - 0x54]
call fcn.0041683a
push 0x30
push 0x757028
push 0x757030
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00622566
mov eax, dword [ebp - 0x44]
jmp 0x4171ed
mov ecx, dword [ebp - 0x54]
add ecx, 0xa4
call fcn.00419f80
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0x70
call fcn.0062269f
mov ecx, dword [ebp - 0x54]
add ecx, 0x5b4
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.00622795
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x54]
add ecx, 0x64
call fcn.0062269f
push 0
push 0x80
push 3
push 0
push 1
push bind
push 0
mov ecx, dword [ebp - 0x54]
add ecx, 0x70
call fcn.00622996
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x4170b0
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00622566
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00622566
mov eax, dword [ebp - 0x48]
jmp 0x4171ed
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xffffffff
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov edx, dword [ebp - 0x10]
imul edx, ecx
add edx, dword [ebp - 0x28]
xor eax, eax
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0x78], edx
mov dword [ecx + 0x7c], eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
call fcn.00402950
add eax, 0xa
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.005fb270
add esp, 0xc
mov eax, dword [ebp - 0x1c]
mov byte [eax], 4
push 4
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
call fcn.005fb2d0
add esp, 0xc
push 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 5
push ecx
call fcn.005fb2d0
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00402950
add eax, 1
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00622996
push eax
mov edx, dword [ebp - 0x1c]
add edx, 9
push edx
call fcn.005fb2d0
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0x5a0]
push eax
mov ecx, dword [ebp - 0x54]
mov ecx, dword [ecx + 0x5a4]
call fcn.0041c41b
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x782544
mov ecx, dword [ebp - 0x54]
add ecx, 0x5b4
call fcn.006226ef
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x54]
add ecx, 0xa4
call fcn.00419fa0
lea ecx, [ebp - 0x4c]
call fcn.00622566
mov dword [ebp - 0x50], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00622566
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00622566
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret