Function at 0x42eaf2
Capabilities:
Read file on windows

Disassembly:
push 0x54
mov eax, 0x454138
call fcn.0044fc94
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 4], ebx
call fcn.0043d8a6
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [eax + 0x4c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
jne 0x42eb45
mov byte [ebp - 4], bl
call fcn.0043d8a6
push 0xffffffffffffffff
call dword [eax + 0x40]
jmp 0x42f1cf
mov dword [ebp - 0x1c], 0x43
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
imul eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
add eax, dword [ebp - 0x1c]
push 0xfffffffffffffffd
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x46]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x1c]
push 0x24
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
pop ecx
idiv ecx
push 0xffffffffffffffe9
pop esi
push 0x53
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cdq
idiv esi
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x29
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x61]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
imul eax, ecx
imul eax, eax, 0x16da
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x2a]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x28]
push edi
mov dword [ebp - 0x1c], eax
call fcn.0043ee3e
mov esi, eax
mov byte [ebp - 0x10], bl
cmp esi, ebx
jbe 0x42ec17
lea ecx, [ebp - 0x10]
xor eax, eax
push ecx
push eax
mov eax, esi
lea ecx, [ebp - 0x60]
call fcn.0040c0d1
push ebx
lea eax, [ebp - 0x38]
push eax
push esi
push dword [ebp - 0x60]
mov dword [ebp - 0x38], ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42ec4f
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x42ec3e
call fcn.0043d8a6
push edi
call dword [eax + 0x40]
cmp dword [ebp - 0x60], ebx
je 0x42f1cf
push dword [ebp - 0x60]
jmp 0x42f1c9
fld qword [0x4739c0]
fstp qword [ebp - 0x50]
fld qword [0x473a48]
fstp qword [ebp - 0x50]
fld qword [0x473928]
fstp qword [ebp - 0x50]
fld qword [0x4739b8]
fstp qword [ebp - 0x48]
fld qword [0x4739b0]
fstp qword [ebp - 0x30]
fld qword [0x473a50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x48]
fmul qword [ebp - 0x30]
fsub qword [0x4739a8]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x48]
mov byte [ebp - 4], bl
cmp dword [ebp - 0x28], ebx
je 0x42ecb3
xor eax, eax
lea edi, [ebp - 0x11]
stosb byte es:[edi], al
call fcn.0043d8a6
push dword [ebp - 0x28]
call dword [eax + 0x40]
mov eax, dword [ebp - 0x60]
fld qword [0x473a68]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
fstp qword [ebp - 0x48]
fld qword [0x473a48]
fstp qword [ebp - 0x50]
fld qword [0x473a40]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x48]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x50]
fld qword [0x473920]
fstp qword [ebp - 0x30]
fld qword [0x473918]
fstp qword [ebp - 0x50]
fld qword [0x473910]
fstp qword [ebp - 0x48]
fld qword [0x473908]
fstp qword [ebp - 0x48]
fld qword [0x473900]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x50]
fcomp qword [ebp - 0x50]
fnstsw ax
test ah, 1
jne 0x42ed23
fld qword [ebp - 0x48]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x48]
mov esi, dword [ebp - 0x60]
lea eax, [esi + 4]
cmp eax, dword [ebp - 0x5c]
jae 0x42f1c4
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
call fcn.0042e7e0
cmp al, bl
je 0x42f1c4
cmp dword [ebp - 0x3c], 0x4c
jne 0x42f1c4
fld qword [0x473958]
fstp qword [ebp - 0x50]
fld qword [0x473950]
fstp qword [ebp - 0x50]
fld qword [0x473948]
fstp qword [ebp - 0x50]
fld qword [0x473940]
fstp qword [ebp - 0x50]
fld qword [0x473938]
fstp qword [ebp - 0x50]
fld qword [0x473930]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
fadd qword [0x473928]
lea esi, [eax + 0x10]
fstp qword [ebp - 0x50]
cmp esi, dword [ebp - 0x5c]
jae 0x42ec3e
push 0x10
push 0x4573c0
push eax
call fcn.00411499
add esp, 0xc
test eax, eax
jne 0x42ec3e
fld qword [0x4739c0]
mov dword [ebp - 0x24], esi
fstp qword [ebp - 0x50]
fld qword [0x473a48]
fstp qword [ebp - 0x50]
fld qword [0x473928]
fstp qword [ebp - 0x50]
fld qword [0x4739b8]
fstp qword [ebp - 0x48]
fld qword [0x4739b0]
fstp qword [ebp - 0x30]
fld qword [0x473a50]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x50]
fmul qword [ebp - 0x48]
fmul qword [ebp - 0x30]
fsub qword [0x4739a8]
fsub qword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
add eax, 4
fstp qword [ebp - 0x48]
cmp eax, dword [ebp - 0x5c]
jae 0x42ec3e
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x24]
call fcn.0042e7e0
cmp al, bl
je 0x42ec3e
mov cl, byte [ebp - 0x34]
fld qword [0x4739a0]
fstp qword [ebp - 0x20]
and cl, 1
fld qword [0x473998]
fstp qword [ebp - 0x48]
fld qword [0x473990]
fstp qword [ebp - 0x30]
fld qword [0x473988]
fstp qword [ebp - 0x50]
fld qword [ebp - 0x30]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 5
jp 0x42eed8
fld qword [ebp - 0x48]
fadd qword [0x473980]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x30]
fld qword [ebp - 0x30]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42eed8
fld qword [ebp - 0x50]
fld qword [ebp - 0x50]
fucompp
fnstsw ax
test ah, 0x44
jp 0x42eec2
fld qword [ebp - 0x30]
fld qword [ebp - 0x50]
fmul qword [0x473978]
fsubp st(1)
fstp qword [ebp - 0x20]
fld qword [ebp - 0x48]
fadd qword [0x473970]
fadd qword [ebp - 0x30]
fadd qword [ebp - 0x20]
fld qword [ebp - 0x20]
fmul qword [0x473968]
fsubp st(1)
fld qword [ebp - 0x30]
fmul qword [0x473960]
fsubp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x48]
fcomp qword [ebp - 0x20]
fnstsw ax
test ah, 0x41
jp 0x42eed8
fld qword [ebp - 0x50]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
fld qword [0x473958]
fstp qword [ebp - 0x50]
shr eax, 7
fld qword [0x473950]
and al, 1
fstp qword [ebp - 0x50]
fld qword [0x473948]
fstp qword [ebp - 0x50]
fld qword [0x473940]
fstp qword [ebp - 0x50]
fld qword [0x473938]
fstp qword [ebp - 0x50]
fld qword [0x473930]
fstp qword [ebp - 0x48]
fld qword [ebp - 0x50]
fadd qword [0x473928]
fstp qword [ebp - 0x50]
cmp cl, bl
je 0x42ec3e
cmp al, bl
je 0x42ec3e
mov esi, dword [ebp - 0x60]
lea eax, [esi + 0x4c]
mov dword [ebp - 0x24], eax
add eax, 2
cmp eax, dword [ebp - 0x5c]
jae 0x42f1c4
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x24]
call fcn.0042e8de
cmp al, bl
je 0x42f1c4
fld qword [0x473a58]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x473a00]
fsubp st(1)
fadd qword [0x473960]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x4739f8]
fld qword [ebp - 0x30]
fadd qword [0x4739f0]
faddp st(1)
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x473980]
fadd qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [0x4739e8]
faddp st(1)
fsub qword [0x4739e0]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [0x4739d8]
faddp st(1)
fld qword [ebp - 0x30]
fmul qword [0x4739d0]
fmul qword [ebp - 0x30]
fsubp st(1)
fadd qword [0x473a68]
fsub qword [ebp - 0x30]
fsub qword [0x4739c8]
fadd qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fdiv qword [0x473a60]
fadd qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fsub qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
fmul qword [ebp - 0x30]
fadd qword [ebp - 0x30]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
fsub qword [0x473a50]
add eax, 2
fstp qword [ebp - 0x30]
cmp eax, dword [ebp - 0x5c]
jae 0x42ec3e
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x24]
call fcn.0042e8de
cmp al, bl
je 0x42ec3e
mov eax, dword [ebp - 0x40]
cmp ax, bx
je 0x42f169
mov ecx, dword [ebp - 0x24]
movzx esi, ax
add esi, ecx
lea edx, [esi - 2]
cmp edx, dword [ebp - 0x5c]
jae 0x42ec3e
push dword [ebp + 0xc]
add eax, 0xfffffffe
push ecx
call fcn.0042e981
pop ecx
pop ecx
test al, al
jne 0x42f1b2
mov dword [ebp - 0x1c], 0x43
fld qword [0x473a68]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
imul eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
add eax, dword [ebp - 0x1c]
push 0xfffffffffffffffd
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x46]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
pop ecx
sub ecx, eax
add ecx, dword [ebp - 0x1c]
push 0x24
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
pop ecx
idiv ecx
push 0xffffffffffffffe9
pop edi
push 0x53
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cdq
idiv edi
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0x29
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
add eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x61]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
imul eax, ecx
imul eax, eax, 0x16da
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
lea eax, [eax + ecx + 0x2a]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x1c]
add esi, 0xfffffffe
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], esi
fstp qword [ebp - 0x48]
fld qword [0x473a48]
fstp qword [ebp - 0x50]
fld qword [0x473a40]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x48]
fsub qword [ebp - 0x50]
fstp qword [ebp - 0x50]
jmp 0x42ef5a
mov dword [ebp - 0x2c], 0x4f
mov dword [ebp - 0x2c], 0x47
mov dword [ebp - 0x1c], 0x15
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
jle 0x42ec3e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
je 0x42ec3e
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
imul eax, eax, 0x29
lea eax, [eax + ecx - 0x12]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
jmp 0x42ec3e
cmp dword [ebp - 0x60], ebx
je 0x42f1c0
push dword [ebp - 0x60]
call fcn.00411344
pop ecx
mov al, 1
jmp 0x42f1d1
cmp esi, ebx
je 0x42f1cf
push esi
call fcn.00411344
pop ecx
xor al, al
call fcn.0044fd6c
ret