Function at 0x42bc00
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b82c8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x621d30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
setne al
mov dword [ebp - 0x10], edi
test al, al
je 0x42bcc4
lea ecx, [ebp - 0x14]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42bc76
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42bcc4
mov eax, dword [ebp - 0x14]
xor ebx, ebx
xor edx, edx
add ebx, esi
adc eax, edx
test eax, eax
jne 0x42bcc4
cmp ebx, 0x80000000
ja 0x42bcc4
lea esi, [ebp - 0x3c]
call fcn.00419a60
lea ecx, [ebx + 1]
mov byte [ebp - 4], 1
call fcn.0042bec0
push ebx
lea ecx, [ebp - 0x10]
push ecx
lea esi, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.0044bfa0
test al, al
jne 0x42bce4
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00489718
add esp, 4
cmp edi, 0xffffffff
je 0x42bcd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x3c]
mov byte [ebx + eax], 0
call fcn.0042bf20
cmp edi, 0xffffffff
je 0x42bd09
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42bd09
or edi, 0xffffffff
mov dword [ebp - 0x10], edi
lea esi, [ebp - 0x30]
call fcn.00406460
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3c]
cmp eax, 0xfde9
jne 0x42bd66
mov eax, esi
call fcn.004334c0
test al, al
jne 0x42bd90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00489718
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x3c]
push edx
call fcn.00489718
add esp, 8
lea esi, [ebp - 0x10]
call fcn.00407140
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00433010
add esp, 8
push eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.004064e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00489718
add esp, 4
cmp dword [ebp - 0x2c], 0
je 0x42bdb2
mov eax, dword [ebp - 0x30]
mov edx, 0xfeff
cmp word [eax], dx
jne 0x42bdb2
mov eax, 1
xor ecx, ecx
lea esi, [ebp - 0x30]
call fcn.0040dda0
lea esi, [ebp - 0x24]
call fcn.00406460
xor ebx, ebx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x2c], ebx
jle 0x42be16
mov ecx, dword [ebp - 0x30]
movzx eax, word [ecx + ebx*2]
cmp eax, 0xa
je 0x42bde1
cmp eax, 0xd
je 0x42bde1
push eax
lea eax, [ebp - 0x24]
call fcn.0040b500
jmp 0x42be10
lea esi, [ebp - 0x24]
call fcn.00422ef0
mov ecx, esi
call fcn.0042bb80
cmp dword [ebp - 0x20], 0
je 0x42be01
mov ecx, dword [ebp + 0xc]
mov edx, esi
push edx
call fcn.0041d2f0
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ecx], ax
inc ebx
cmp ebx, dword [ebp - 0x2c]
jl 0x42bdc5
lea edx, [ebp - 0x48]
push edx
call fcn.004230d0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00423030
mov edx, dword [ebp - 0x48]
push edx
call fcn.00489718
add esp, 4
lea eax, [ebp - 0x48]
push eax
call fcn.004230d0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
call fcn.00422fb0
mov edx, dword [ebp - 0x48]
push edx
call fcn.00489718
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.0042bb80
cmp dword [ebp - 0x20], 0
je 0x42be70
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.0041d2f0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00489718
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x30]
push edx
call fcn.00489718
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00489718
add esp, 0xc
cmp edi, 0xffffffff
je 0x42bea6
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret