Function at 0x425a0d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [esi + 8]
sub esp, 0x30
test eax, eax
jne 0x425a59
mov eax, dword [esi + 4]
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x425c35
and dword [ebp - 4], eax
fld qword [0x480ae0]
mov dword [esi + 0x10], 7
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fadd qword [ebp - 0x28]
fstp qword [ebp - 0x28]
jmp 0x425c35
mov ecx, dword [esi + 0xc]
cmp ecx, eax
jbe 0x425c0c
fld qword [0x480ab8]
mov dword [esi + 0x10], 7
fstp qword [ebp - 0x30]
fld qword [0x480ab0]
fstp qword [ebp - 0x28]
fld qword [0x480aa8]
fstp qword [ebp - 0x20]
fld qword [0x480aa0]
fstp qword [ebp - 0x10]
fld qword [0x480a98]
fstp qword [ebp - 0x18]
fld qword [0x480a90]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fmul qword [0x480a20]
fadd qword [ebp - 0x20]
fld qword [ebp - 0x18]
fmul qword [0x480a88]
faddp st(1)
fsub qword [0x4808e8]
fadd qword [ebp - 0x28]
fsub qword [0x4809d8]
fld qword [ebp - 0x10]
fmul qword [ebp - 0x30]
faddp st(1)
fstp qword [ebp - 0x20]
fld qword [ebp - 0x10]
fld qword [ebp - 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x425aea
fld qword [ebp - 0x18]
fmul qword [ebp - 0x30]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x20]
fsub qword [0x4809e0]
fsub qword [ebp - 0x10]
fld qword [ebp - 0x10]
fmul qword [0x480a38]
faddp st(1)
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x20]
fmul qword [0x480a80]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x18]
fadd qword [0x4808f8]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x30]
and dword [ebp - 4], 0
fadd qword [0x480988]
fstp qword [ebp - 0x10]
fld qword [0x480968]
fstp qword [ebp - 0x28]
fld qword [0x480a60]
fstp qword [ebp - 0x10]
fld qword [0x480960]
fst qword [ebp - 0x18]
fld qword [0x480928]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x10]
fcomp qword [ebp - 0x20]
fnstsw ax
fld qword [0x480a78]
fld1
test ah, 1
jne 0x425bae
fld qword [ebp - 0x20]
fmul qword [0x480a58]
fadd qword [ebp - 0x10]
fsub qword [ebp - 0x28]
fld qword [ebp - 0x18]
fmul st(3)
faddp st(1)
fld qword [ebp - 0x10]
fdivrp st(4)
fld qword [ebp - 0x10]
fmulp st(4)
faddp st(3)
fadd st(2), st(0)
fld qword [ebp - 0x10]
faddp st(3)
fld qword [ebp - 0x18]
fmul qword [0x4808f0]
fsubp st(3)
fld qword [ebp - 0x18]
fmul qword [0x480a50]
faddp st(3)
fxch st(2)
fstp qword [ebp - 0x18]
jmp 0x425bb0
fstp st(2)
fld qword [ebp - 0x28]
fsub qword [ebp - 0x10]
fsubrp st(2)
fld qword [ebp - 0x10]
fmul qword [ebp - 0x28]
faddp st(2)
fxch st(1)
fsub qword [0x480a18]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x18]
fld qword [0x480a68]
fmul st(1), st(0)
fld qword [ebp - 0x20]
fmul qword [ebp - 0x18]
fsubp st(2)
fxch st(1)
fsubrp st(2)
fld qword [ebp - 0x18]
faddp st(2)
fxch st(1)
fadd qword [0x480900]
fsub qword [ebp - 0x28]
fsub qword [ebp - 0x10]
fstp qword [ebp - 0x10]
fsubr qword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x20]
fadd qword [0x480938]
fstp qword [ebp - 0x20]
jmp 0x425c35
sub eax, ecx
cmp eax, dword [ebp + 0xc]
jb 0x425c16
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
test eax, eax
je 0x425c2f
push eax
mov eax, dword [esi + 4]
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.00413f40
add esp, 0xc
mov eax, dword [ebp - 4]
add dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
leave
ret