Function at 0x43dc40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x458e8e
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
push edi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x14]
cmp eax, 8
jb 0x43dc93
mov ecx, dword [ebx]
test ecx, ecx
je 0x43dca4
cmp eax, 8
jb 0x43dca0
mov eax, dword [ebx]
jmp 0x43dca9
mov eax, ebx
jmp 0x43dca9
mov eax, dword [0x47e8d8]
push eax
lea eax, [esp + 0x80]
call fcn.00405cb1
and dword [esp + 0x4c8], 0
lea eax, [esp + 0x98]
push eax
mov edx, 0xfde9
lea ecx, [esp + 0x80]
call fcn.0044dc21
pop ecx
mov byte [esp + 0x4c8], 1
cmp dword [eax + 0x14], 0x10
jb 0x43dce8
mov eax, dword [eax]
push eax
push dword [0x47e228]
push dword [0x47e224]
push 0
call fcn.0043edb6
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x9c]
call fcn.00405846
or dword [esp + 0x4c8], 0xffffffff
push 1
lea esi, [esp + 0x80]
call fcn.00405b8a
mov eax, dword [0x47e8e0]
push eax
mov esi, eax
call fcn.0041300d
pop ecx
push esi
push 6
mov edi, eax
pop eax
mov ecx, ebx
call fcn.00406113
test eax, eax
jne 0x43de4f
push 0xffffffffffffffff
push 6
push ebx
lea esi, [esp + 0x6c]
call fcn.00409366
mov dword [esp + 0x4c8], 2
fld qword [0x477a20]
fst qword [esp + 0x34]
fld qword [0x477a18]
fstp qword [esp + 0x14]
fld1
fstp qword [esp + 0x44]
fld qword [esp + 0x34]
fstp st(0)
fld qword [esp + 0x34]
fstp st(0)
fld qword [esp + 0x14]
fcomp qword [esp + 0x44]
fnstsw ax
test ah, 1
jne 0x43ddf0
fld qword [esp + 0x14]
fsub qword [0x477a10]
fstp qword [esp + 0x44]
fld qword [esp + 0x44]
fadd qword [esp + 0x34]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x477a08]
fld qword [esp + 0x14]
fmul qword [esp + 0x34]
fmul qword [0x477a00]
fsubp st(1)
fsub qword [esp + 0x14]
fld qword [esp + 0x44]
fmul qword [0x4779f8]
faddp st(1)
fsubrp st(1)
fsub qword [esp + 0x34]
fsub qword [0x4779f0]
fsub qword [esp + 0x14]
fstp qword [esp + 0x44]
jmp 0x43ddf2
fstp st(0)
fld qword [esp + 0x34]
fsub qword [0x4779e8]
fsub qword [esp + 0x34]
fstp qword [esp + 0x14]
fld qword [esp + 0x34]
fsub qword [esp + 0x44]
cmp dword [esp + 0x70], 0
fstp qword [esp + 0x34]
je 0x43de39
cmp dword [esp + 0x74], 8
mov eax, dword [esp + 0x60]
jae 0x43de26
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x58]
push eax
call fcn.0043be2e
pop ecx
test al, al
je 0x43de39
mov bl, 1
jmp 0x43de3b
xor bl, bl
push 1
xor edi, edi
lea esi, [esp + 0x64]
call fcn.00405b8a
mov al, bl
jmp 0x43e114
cmp dword [ebx + 0x14], 8
jb 0x43de59
mov esi, dword [ebx]
jmp 0x43de5b
mov esi, ebx
call fcn.0043f3e9
xor ebx, ebx
push ebx
push 0x80
push 3
pop edi
push edi
push ebx
push 1
push SysReAllocString
push esi
call dword [eax + 0x50]
mov esi, eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x4c8], edi
cmp esi, 0xffffffff
jne 0x43debb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x47e230]
push dword [0x47e22c]
push 1
call fcn.0043edb6
add esp, 0x10
or dword [esp + 0x4c8], esi
push esi
call fcn.0044115d
xor al, al
jmp 0x43e114
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], ebx
call fcn.0043f3e9
jmp 0x43e0a4
mov edi, dword [esp + 0x28]
cmp edi, ebx
jbe 0x43e0c3
lea eax, [esp + 0xb4]
push eax
mov eax, dword [esp + 0x5c]
call fcn.00404b3a
fld qword [0x477a58]
fstp qword [esp + 0x4c]
fld qword [0x477a50]
fstp qword [esp + 0x1c]
fld qword [0x4779d8]
fstp qword [esp + 0x14]
fld qword [esp + 0x4c]
fld qword [esp + 0x1c]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x43dfb1
fld qword [esp + 0x1c]
fmul qword [esp + 0x4c]
fmul qword [0x477a40]
fld qword [esp + 0x14]
fmul qword [0x477a38]
fsubp st(1)
fld qword [esp + 0x14]
fld qword [0x477a48]
fdiv st(1), st(0)
fxch st(2)
faddp st(1)
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x477a30]
fadd qword [esp + 0x14]
fadd qword [esp + 0x14]
faddp st(1)
fadd qword [esp + 0x1c]
fld qword [esp + 0x14]
fmul qword [0x477a28]
fsubp st(1)
fadd qword [esp + 0x1c]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x1c]
fmul qword [esp + 0x4c]
fld qword [esp + 0x4c]
fadd qword [esp + 0x4c]
faddp st(1)
fadd qword [esp + 0x14]
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x28]
add dword [esp + 0x44], eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], 0x27
push 0x48
pop eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0x47
mov dword [esp + 0x1c], 0x34
mov dword [esp + 0x4c], 0x58
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], 0x41
mov dword [esp + 0x54], 0x28
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
imul eax, ecx
mov ecx, dword [esp + 0x1c]
imul ecx, ecx, 0xe
add eax, ecx
add eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x4c]
lea eax, [eax + ecx + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
imul eax, ecx
mov ecx, 0xffffff41
sub ecx, eax
mov eax, dword [esp + 0x30]
sub ecx, eax
mov eax, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sub ecx, eax
add ecx, dword [esp + 0x40]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x43e09b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
imul eax, ecx
mov ecx, dword [esp + 0x54]
imul eax, eax, 0xffffffe2
imul ecx, ecx, 0x44
sub eax, ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x14]
imul ecx, edx
add eax, ecx
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov ecx, dword [esp + 0x4c]
sub eax, ecx
sub eax, 0x18
mov dword [esp + 0x40], eax
call fcn.0043f3e9
mov esi, dword [esp + 0x5c]
push ebx
lea ecx, [esp + 0x2c]
push ecx
push 0x400
lea ecx, [esp + 0xc0]
push ecx
push esi
call dword [eax + 0x70]
test eax, eax
jne 0x43ded9
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x44], eax
je 0x43e100
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [0x47e234]
push dword [0x47e22c]
push 1
call fcn.0043edb6
or dword [esp + 0x4d8], 0xffffffff
add esp, 0x10
cmp esi, ebx
je 0x43deb4
push esi
jmp 0x43deaf
or dword [esp + 0x4c8], 0xffffffff
cmp esi, ebx
je 0x43e112
push esi
call fcn.0044115d
mov al, 1
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.0041176d
mov esp, ebp
pop ebp
ret