Function at 0x4cddd0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574320
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5f969c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
push 8
push 0
lea eax, [ebp - 0x80]
push eax
call fcn.0053c870
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push bind
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80], eax
lea ecx, [ebp - 0x64]
call fcn.00438030
mov dword [ebp - 4], 0
push 0xd5
lea ecx, [ebp - 0x64]
call fcn.0041a8c0
lea ecx, [ebp - 0x88]
call fcn.00438030
mov byte [ebp - 4], 1
push 0xc0
lea ecx, [ebp - 0x88]
call fcn.0041a8c0
cmp dword [ebp - 0x80], 0xffffffff
jne 0x4cdecb
push 0x30
lea ecx, [ebp - 0x64]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x88]
call fcn.004dfdf0
push eax
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x98], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0044fc20
mov eax, dword [ebp - 0x98]
jmp 0x4ce18e
push 0
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x60], eax
push 0x20
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x60]
xor ecx, ecx
push ecx
push eax
call fcn.00466f60
add esp, 0x10
cmp dword [ebp - 0x60], 0xffffffff
jne 0x4cdf59
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
lea ecx, [ebp - 0x64]
call fcn.004dfdf0
push eax
lea ecx, [ebp - 0x88]
call fcn.004dfdf0
push eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x9c], 0x80004005
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0044fc20
mov eax, dword [ebp - 0x9c]
jmp 0x4ce18e
lea ecx, [ebp - 0x5c]
call fcn.00438030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00438030
mov byte [ebp - 4], 3
push 0x90
lea ecx, [ebp - 0x58]
call fcn.0041a8c0
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x54]
push eax
push 0x5884cc
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004386c0
add esp, 0x10
cmp dword [ebp - 0x60], 0x6400000
jbe 0x4ce038
push 0x20
lea edx, [ebp - 0x54]
push edx
push 0
push 0x6400000
call fcn.00466f60
add esp, 0x10
lea ecx, [ebp - 0x94]
call fcn.00438030
mov byte [ebp - 4], 4
push 0x109
lea ecx, [ebp - 0x94]
call fcn.0041a8c0
lea ecx, [ebp - 0x90]
call fcn.00438030
mov byte [ebp - 4], 5
push 0x90
lea ecx, [ebp - 0x90]
call fcn.0041a8c0
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
lea edx, [ebp - 0x54]
push edx
push str._s__s__s_
lea eax, [ebp - 0x5c]
push eax
call fcn.004386c0
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x90]
call fcn.0044fc20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x94]
call fcn.0044fc20
push 0
lea ecx, [ebp - 0x78]
call fcn.004da240
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ecx + 0x28]
push edx
lea ecx, [ebp - 0x78]
call fcn.00493da0
push 0x100
lea ecx, [ebp - 0x5c]
call fcn.0044ab00
push eax
push 0
lea ecx, [ebp - 0x78]
call fcn.004cef80
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x74]
call fcn.0041a130
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.00438030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.00438030
mov byte [ebp - 4], 8
push 0xe1
lea ecx, [ebp - 0x8c]
call fcn.0041a8c0
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
push 0x5884ec
lea eax, [ebp - 0x84]
push eax
call fcn.004386c0
add esp, 0x10
lea ecx, [ebp - 0x84]
call fcn.0044ab00
push eax
mov ecx, dword [ebp - 0xa4]
add ecx, 4
call fcn.0043c4b0
mov dword [ebp - 0x68], 0x4ce1b0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x70]
push edx
push 1
push 0x449
mov eax, dword [ebp - 0xa4]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.004cf470
add esp, 0x10
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0xa0], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.0044fc20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x84]
call fcn.0044fc20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.0044fc20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0044fc20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0044fc20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0044fc20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.0044fc20
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053c85d
mov esp, ebp
pop ebp
ret 4