Function at 0x43cba8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4554b6
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x479084]
xor eax, esp
mov dword [esp + 0x488], eax
push ebx
push esi
push edi
mov eax, dword [0x479084]
xor eax, esp
push eax
lea eax, [esp + 0x4a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43cbfb
mov ecx, dword [ebx]
test ecx, ecx
je 0x43cc0c
cmp eax, 8
jb 0x43cc08
mov eax, dword [ebx]
jmp 0x43cc11
mov eax, ebx
jmp 0x43cc11
mov eax, dword [0x47a898]
push eax
lea eax, [esp + 0x60]
call fcn.004051a4
and dword [esp + 0x4a8], 0
lea eax, [esp + 0x5c]
push eax
mov edx, 0xfde9
lea ecx, [esp + 0x7c]
call fcn.0044af2f
pop ecx
mov byte [esp + 0x4a8], 1
cmp dword [eax + 0x14], 0x10
jb 0x43cc47
mov eax, dword [eax]
push eax
push dword [0x47a228]
push dword [0x47a224]
push 0
call fcn.0043de0f
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x7c]
call fcn.00404d39
or dword [esp + 0x4a8], 0xffffffff
push 1
lea esi, [esp + 0x60]
call fcn.0040507d
mov eax, dword [0x47a8a0]
push eax
mov esi, eax
call fcn.00411f4e
pop ecx
push esi
push 6
mov edi, eax
pop eax
mov ecx, ebx
call fcn.00405700
test eax, eax
jne 0x43ccf3
push 0xffffffffffffffff
push 6
push ebx
lea esi, [esp + 0x4c]
call fcn.00408786
mov dword [esp + 0x4a8], 2
cmp dword [esp + 0x50], 0
je 0x43ccdd
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x43ccca
mov eax, esi
mov ecx, dword [esp + 0x2c]
push eax
call fcn.0043b145
pop ecx
test al, al
je 0x43ccdd
mov bl, 1
jmp 0x43ccdf
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x44]
call fcn.0040507d
mov al, bl
jmp 0x43cfa1
cmp dword [ebx + 0x14], 8
jb 0x43ccfb
mov ebx, dword [ebx]
push 0x80
push 3
pop esi
push esi
push 1
push SysReAllocString
push ebx
call fcn.0043fc67
mov dword [esp + 0x24], eax
mov dword [esp + 0x4a8], esi
cmp eax, 0xffffffff
jne 0x43cd4c
call fcn.0043fdd1
push eax
push dword [0x47a230]
push dword [0x47a22c]
push 1
call fcn.0043de0f
add esp, 0x10
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x43cfa1
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], 0x2b
mov dword [esp + 0x14], 0x12
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x4d
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x5a
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
imul ecx, ecx, 0x53
cdq
push 0x13
pop esi
idiv esi
push 0x73
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub eax, ecx
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
lea eax, [eax + ecx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x1c]
push 0xffffffffffffffbd
add ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
add dword [esp + 0x20], 2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
imul eax, ecx
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
add ecx, dword [esp + 0x14]
push 0x20
add ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x18]
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esp + 0x14]
push 0xfffffffffffffffd
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
imul eax, ecx
mov ecx, dword [esp + 0x18]
imul ecx, ecx, 0x1323
sub eax, ecx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov ecx, dword [esp + 0x20]
imul eax, ecx
imul eax, eax, 0x378
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esp + 0x14]
push 0xffffffffffffff8b
add ecx, dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x20]
pop ecx
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esp + 0x14]
push 0x4b
add ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x18]
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x14]
push 5
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
imul ecx, eax
mov eax, dword [esp + 0x20]
cdq
pop esi
idiv esi
sub ecx, eax
add ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
lea eax, [ecx + eax + 0x2a]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
imul eax, eax, 9
mov dword [esp + 0x1c], eax
call fcn.0043e595
push ebx
mov esi, 0x400
jmp 0x43cf3e
mov edi, dword [esp + 0x28]
test edi, edi
je 0x43cf57
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x30]
call fcn.00404100
fld qword [0x473868]
add ebx, dword [esp + 0x28]
and dword [esp + 0x28], 0
fstp qword [esp + 0x14]
fld qword [0x4738f0]
fstp qword [esp + 0x1c]
fld qword [0x4738e8]
fstp qword [esp + 0x34]
fld qword [esp + 0x1c]
fld qword [esp + 0x14]
fmul qword [0x4738e0]
fsubp st(1)
fstp qword [esp + 0x1c]
call fcn.0043e595
push 0
lea ecx, [esp + 0x2c]
push ecx
push esi
lea ecx, [esp + 0xa0]
push ecx
push dword [esp + 0x34]
call dword [eax + 0x64]
test eax, eax
jne 0x43cee3
cmp ebx, dword [esp + 0x30]
je 0x43cf8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x47a234]
push dword [0x47a22c]
push 1
call fcn.0043de0f
add esp, 0x10
cmp dword [esp + 0x24], 0
je 0x43cd45
push dword [esp + 0x24]
jmp 0x43cd3f
cmp dword [esp + 0x24], 0
je 0x43cf9f
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x4a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x488]
xor ecx, esp
call fcn.004106ae
mov esp, ebp
pop ebp
ret