Function at 0x43f5b0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4cb6ad
mov eax, dword fs:[0]
push eax
sub esp, 0x7fc
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x7f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50a4c0]
xor eax, esp
push eax
lea eax, [esp + 0x810]
mov dword fs:[0], eax
mov eax, dword [esp + 0x824]
mov ebp, dword [esp + 0x820]
mov ebx, ecx
mov esi, edx
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x818], ecx
cmp esi, ecx
je 0x43f92d
cmp eax, ecx
jne 0x43f62b
cmp dword [esi], ecx
jne 0x43f92d
cmp ebx, ecx
je 0x43f638
cmp byte [ebx], 0
jne 0x43f7b7
mov edi, ebp
call fcn.0043f3b0
test al, al
jne 0x43f7b7
lea eax, [esp + 0x14c]
call fcn.0043c120
cmp byte [ebp + 0x120], 0
je 0x43f661
add ebp, 0x10
jmp 0x43f664
mov ebp, dword [ebp + 0xc]
lea ecx, [esp + 0x28]
call fcn.00430920
lea eax, [ebp + 4]
lea edx, [esp + 0x28]
call fcn.00430b00
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
lea edi, [esp + 0x150]
mov byte [esp + 0x81c], 3
call fcn.0043c1b0
test al, al
mov byte [esp + 0x818], 1
sete bl
cmp byte [esp + 0x144], 0
mov dword [esp + 0x28], vtable.t_str.0
jne 0x43f6ca
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x34]
cmp eax, ecx
je 0x43f6ca
push eax
call fcn.004a4a7f
add esp, 4
test bl, bl
je 0x43f70b
mov byte [esp + 0x818], 0
lea ecx, [esp + 0x14c]
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4a0], 0x4f3cb0
call fcn.00437100
lea ecx, [esp + 0x14]
call fcn.0042c930
mov eax, 1
jmp 0x43f93b
mov eax, dword [esp + 0x150]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x43f73b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x43f73b
xor eax, eax
jmp 0x43f73d
mov eax, edi
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x43f778
cmp dword [esi], eax
jl 0x43f778
push eax
push ecx
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4ac]
call fcn.0043c200
mov byte [esp + 0x818], 0
lea ecx, [esp + 0x14c]
test al, al
jne 0x43f91b
jmp 0x43f894
mov byte [esp + 0x818], 0
lea ecx, [esp + 0x14c]
mov dword [esi], eax
mov dword [esp + method.t_fileRead.virtual_0], vtable.t_fileRead.0
mov dword [esp + 0x4a0], 0x4f3cb0
call fcn.00437100
lea ecx, [esp + 0x14]
call fcn.0042c930
mov eax, 3
jmp 0x43f93b
push ebp
call fcn.00440500
test al, al
je 0x43f6f8
test ebx, ebx
jne 0x43f7ce
mov ebx, 0x4ef766
lea esi, [ebp + 0x14c]
push ebx
call fcn.00440f40
mov edx, dword [esp + 0x20]
cmp eax, 0xffffffff
jne 0x43f7fc
lea ecx, [esp + 0x14]
mov dword [edx], 0
call fcn.0042c930
mov eax, 5
jmp 0x43f93b
mov ecx, dword [edx]
imul eax, eax, 0x9c
add eax, dword [esi]
mov esi, eax
mov eax, dword [esi + 4]
cmp ecx, eax
jge 0x43f824
lea ecx, [esp + 0x14]
mov dword [edx], eax
call fcn.0042c930
mov eax, 3
jmp 0x43f93b
lea eax, [esp + 0x4ac]
call fcn.0043c120
lea ecx, [ebp + 4]
call fcn.00430e40
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.00430920
mov eax, edi
lea edx, [esp + 0x28]
call fcn.00430b00
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x18]
lea edi, [esp + 0x4b0]
mov byte [esp + 0x81c], 6
call fcn.0043c1b0
test al, al
lea ecx, [esp + 0x28]
sete byte [esp + 0x1f]
mov byte [esp + 0x818], 4
call fcn.00430ad0
cmp byte [esp + 0x1f], 0
mov ecx, edi
je 0x43f8ac
mov byte [esp + 0x818], 0
call fcn.0043c190
lea ecx, [esp + 0x14]
call fcn.0042c930
mov eax, 1
jmp 0x43f93b
mov edi, dword [esi + 0x98]
lea eax, [esp + 0x14]
call fcn.0043c280
test al, al
jne 0x43f8c8
lea ecx, [esp + 0x4ac]
jmp 0x43f88c
mov ecx, dword [esi + 4]
mov edi, dword [esp + 0x24]
push ecx
push edi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x80c]
call fcn.0043c200
test al, al
je 0x43f8bf
mov edx, dword [esi]
mov eax, dword [esi + 4]
imul edx, edx, 0x9ae42313
cmp byte [ebx], 0
mov ecx, edi
jne 0x43f8fe
sub eax, dword [ebp + 0x128]
call fcn.0043f030
mov ecx, dword [esp + 0x20]
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov byte [esp + 0x818], 0
lea ecx, [esp + 0x4ac]
call fcn.0043c190
lea ecx, [esp + 0x14]
call fcn.0042c930
xor eax, eax
jmp 0x43f93b
lea ecx, [esp + 0x14]
call fcn.0042c930
mov eax, 4
mov ecx, dword [esp + 0x810]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7f8]
xor ecx, esp
call fcn.004a4a25
add esp, 0x808
ret 8