Function at 0x5fa2fc
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x68]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
mov esi, eax
mov eax, dword [ebp + 0x1c]
call fcn.00404e3c
xor eax, eax
push ebp
push 0x5fae7f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.005faebc
test eax, eax
je 0x5fae69
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fa3ca
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
inc ebx
dec dword [ebp - 0x4c]
jne 0x5fa357
mov eax, dword [ebp - 0x5c]
call fcn.006068a0
test al, al
je 0x5fa601
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fa71c
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov al, byte [eax + 0x48]
dec al
je 0x5fa415
dec al
je 0x5fa49f
dec al
je 0x5fa54b
jmp 0x5fa5f2
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x60
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x30]
mov dword [edx], ecx
mov ecx, dword [eax + 0x34]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x68
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x70
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edx, dword [eax + 4]
pop eax
call fcn.004049e0
jmp 0x5fa5f2
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x50
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x40]
mov dword [edx], ecx
mov ecx, dword [eax + 0x44]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x58
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x60
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x40]
mov dword [edx], ecx
mov ecx, dword [eax + 0x44]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x68
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x70
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edx, dword [eax + 4]
pop eax
call fcn.004049e0
jmp 0x5fa5f2
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x50
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x30]
mov dword [edx], ecx
mov ecx, dword [eax + 0x34]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x58
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x60
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x30]
mov dword [edx], ecx
mov ecx, dword [eax + 0x34]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x68
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x38]
mov dword [edx], ecx
mov ecx, dword [eax + 0x3c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x70
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edx, dword [eax + 4]
pop eax
call fcn.004049e0
inc ebx
dec dword [ebp - 0x4c]
jne 0x5fa3f0
jmp 0x5fa71c
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fa6c8
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x50
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x58
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x28]
mov dword [edx], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x60
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x20]
mov dword [edx], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x68
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x28]
mov dword [edx], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x70
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edx, dword [eax + 4]
pop eax
call fcn.004049e0
inc ebx
dec dword [ebp - 0x4c]
jne 0x5fa617
mov eax, esi
call fcn.005faebc
mov edx, eax
dec edx
mov eax, esi
call fcn.005faec4
push dword [eax + 0x5c]
push dword [eax + 0x58]
mov eax, 0x5fae9c
call fcn.005c8790
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, 0x5fae9c
call fcn.005c8790
mov eax, esi
call fcn.005faebc
mov edx, eax
dec edx
mov eax, esi
call fcn.005faec4
add eax, 0x58
lea edx, [ebp + 0xc]
mov ecx, 0x1e
call fcn.005c9504
fstp st(0)
cmp byte [ebp + 8], 0
jne 0x5fa8bc
mov eax, esi
call fcn.005faebc
mov ebx, eax
sub ebx, 2
cmp ebx, 0
jl 0x5fa8bc
mov edx, ebx
mov eax, esi
call fcn.005faec4
fld qword [eax + 0x50]
fstp qword [ebp - 0x70]
wait
mov edx, ebx
mov eax, esi
call fcn.005faec4
fld qword [eax + 0x58]
fcomp qword [ebp - 0x70]
fnstsw ax
sahf
je 0x5fa8b2
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov eax, dword [eax + 8]
push eax
lea edi, [ebx + 1]
mov edx, edi
mov eax, esi
call fcn.005faec4
mov edx, dword [eax + 8]
pop eax
call fcn.00404d98
jne 0x5fa8b2
mov edx, ebx
mov eax, esi
call fcn.005faec4
fld qword [eax + 0x58]
fstp qword [ebp - 0x70]
wait
mov edx, edi
mov eax, esi
call fcn.005faec4
fld qword [eax + 0x50]
fcomp qword [ebp - 0x70]
fnstsw ax
sahf
jne 0x5fa8b2
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x50
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x50]
mov dword [edx], ecx
mov ecx, dword [eax + 0x54]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x58
push eax
mov edx, edi
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x58]
mov dword [edx], ecx
mov ecx, dword [eax + 0x5c]
mov dword [edx + 4], ecx
mov edx, edi
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov edx, edi
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x60
push eax
mov edx, ebx
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x60]
mov dword [edx], ecx
mov ecx, dword [eax + 0x64]
mov dword [edx + 4], ecx
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x68
push eax
mov edx, edi
mov eax, esi
call fcn.005faec4
pop edx
mov ecx, dword [eax + 0x68]
mov dword [edx], ecx
mov ecx, dword [eax + 0x6c]
mov dword [edx + 4], ecx
mov edx, edi
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov edx, edi
mov eax, esi
call fcn.005faec4
xor edx, edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, ebx
mov eax, esi
call fcn.005faec4
push dword [eax + 0x70]
push 0x5faeac
mov edx, edi
mov eax, esi
call fcn.005faec4
push dword [eax + 0x70]
mov edx, ebx
mov eax, esi
call fcn.005faec4
add eax, 0x70
mov edx, 3
call fcn.00404d14
dec ebx
cmp ebx, 0xffffffff
jne 0x5fa73b
mov eax, esi
call fcn.005f9f40
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x39], 1
mov eax, esi
call fcn.005faebc
dec eax
jg 0x5fa8dd
mov byte [ebp - 0x39], 0
jmp 0x5fa95f
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fa95f
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edi, eax
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.005ed84c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax + 0x1c], 0
jle 0x5fa959
mov edx, ebx
mov eax, esi
call fcn.005faec4
push dword [eax + 0x54]
push dword [eax + 0x50]
mov edx, ebx
mov eax, esi
call fcn.005faec4
push dword [eax + 0x5c]
push dword [eax + 0x58]
call fcn.005447c4
push edx
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x1c]
cdq
cmp edx, dword [esp + 4]
jne 0x5fa94f
cmp eax, dword [esp]
pop edx
pop eax
jae 0x5fa959
jmp 0x5fa953
pop edx
pop eax
jge 0x5fa959
mov byte [ebp - 0x39], 0
jmp 0x5fa95f
inc ebx
dec dword [ebp - 0x4c]
jne 0x5fa8ef
mov eax, dword [0x6aee28]
mov eax, dword [eax + 4]
call fcn.005edc04
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fcomp qword [ebp + 0xc]
fnstsw ax
sahf
cmp byte [ebp - 0x39], 0
je 0x5faa46
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5faa46
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edi, eax
cmp edi, dword [ebp - 0x14]
je 0x5faa3c
fld qword [edi + 0x50]
fcomp qword [edi + 0x58]
fnstsw ax
sahf
je 0x5faa3c
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.005ed84c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x14]
test eax, eax
jle 0x5faa3c
fld qword [edi + 0x58]
fsub qword [edi + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.005e9000
fstp qword [ebp - 0x48]
wait
fld qword [ebp - 0x48]
fcomp dword [0x5faeb0]
fnstsw ax
sahf
jbe 0x5faa3c
fld qword [edi + 0x58]
fsub qword [ebp - 0x48]
fstp qword [edi + 0x58]
wait
mov eax, dword [ebp - 0x14]
fld qword [eax + 0x58]
fadd qword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
fstp qword [eax + 0x58]
wait
mov eax, dword [ebp - 0x48]
mov dword [edi + 0x80], eax
mov eax, dword [ebp - 0x44]
mov dword [edi + 0x84], eax
mov eax, dword [ebp - 0x14]
fld qword [eax + 0x88]
fadd qword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
fstp qword [eax + 0x88]
wait
inc ebx
dec dword [ebp - 0x4c]
jne 0x5fa998
fld qword [ebp + 0xc]
fcomp dword [0x5faeb0]
fnstsw ax
sahf
jbe 0x5fab26
mov eax, dword [ebp - 4]
call fcn.005edc04
cmp eax, 0xd
jle 0x5fab26
mov eax, dword [ebp - 4]
call fcn.005edc04
mov dword [ebp - 0x74], eax
fild dword [ebp - 0x74]
fcomp qword [ebp + 0xc]
fnstsw ax
sahf
jbe 0x5fab26
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fab26
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edi, eax
fld qword [edi + 0x58]
fcomp qword [edi + 0x50]
fnstsw ax
sahf
jbe 0x5fab1c
fld qword [edi + 0x50]
fmul dword [0x5faeb4]
call fcn.00402c8c
fstp qword [ebp - 0x20]
wait
fld qword [edi + 0x58]
fmul dword [0x5faeb4]
call fcn.00402c8c
fsubr dword [0x5faeb8]
fstp qword [ebp - 0x28]
wait
fld qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
sahf
jae 0x5fab01
fld qword [ebp - 0x20]
fdiv dword [0x5faeb4]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [edi + 0x58]
lea eax, [edi + 0x50]
call fcn.005c957c
jmp 0x5fab1c
fld qword [ebp - 0x28]
fdiv dword [0x5faeb4]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [edi + 0x58]
lea eax, [edi + 0x50]
call fcn.005c9564
inc ebx
dec dword [ebp - 0x4c]
jne 0x5faa99
cmp byte [ebp + 8], 0
je 0x5faca1
xor edx, edx
mov eax, esi
call fcn.005faec4
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.005ed84c
mov ebx, eax
test ebx, ebx
je 0x5faca1
cmp dword [ebx + 0x14], 0
jle 0x5faca1
mov eax, esi
call fcn.005f9de0
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.005c9b10
push edx
push eax
mov eax, dword [ebx + 0x1c]
cdq
push edx
push eax
call fcn.005c9ab4
cmp edx, dword [esp + 4]
jne 0x5fab8a
cmp eax, dword [esp]
pop edx
pop eax
ja 0x5fab98
jmp 0x5fab8e
pop edx
pop eax
jg 0x5fab98
cmp dword [ebx + 0x1c], 0
jg 0x5faca1
mov eax, dword [ebx + 0x14]
cdq
push edx
push eax
call fcn.005c9ab4
push edx
push eax
mov eax, esi
call fcn.005f9de0
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.005c9b10
call fcn.00405e6c
push edx
push eax
call fcn.005c9a48
fstp qword [ebp - 0x30]
wait
mov eax, dword [ebx + 0x14]
cdq
push edx
push eax
call fcn.005c9ab4
push edx
push eax
mov eax, dword [ebx + 0x14]
cdq
push edx
push eax
call fcn.005c9ab4
push edx
push eax
mov eax, esi
call fcn.005f9de0
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.005c9b10
call fcn.00405e6c
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
call fcn.005c9a48
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.005c9b10
push edx
push eax
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
call fcn.005c9ab4
cmp edx, dword [esp + 4]
jne 0x5fac35
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5fac3f
jmp 0x5fac39
pop edx
pop eax
jle 0x5fac3f
cmp dword [ebx + 0x18], 0
jg 0x5fac71
mov eax, esi
call fcn.005faebc
mov edx, eax
dec edx
mov eax, esi
call fcn.005faec4
add eax, 0x58
push eax
mov eax, esi
call fcn.005faebc
mov edx, eax
dec edx
mov eax, esi
call fcn.005faec4
fld qword [eax + 0x58]
fadd qword [ebp - 0x38]
pop eax
fstp qword [eax]
wait
jmp 0x5faca1
mov eax, esi
call fcn.005faebc
mov edx, eax
dec edx
mov eax, esi
call fcn.005faec4
add eax, 0x58
push eax
mov eax, esi
call fcn.005faebc
mov edx, eax
dec edx
mov eax, esi
call fcn.005faec4
fld qword [eax + 0x58]
fsub qword [ebp - 0x30]
pop eax
fstp qword [eax]
wait
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fad60
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edi, eax
fld qword [edi + 0x58]
fcomp qword [edi + 0x50]
fnstsw ax
sahf
jbe 0x5fad56
mov eax, dword [edi + 8]
push eax
push dword [edi + 0x54]
push dword [edi + 0x50]
push dword [edi + 0x5c]
push dword [edi + 0x58]
mov al, byte [edi + 0x75]
push eax
mov al, byte [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x1c]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.005edb3c
fstp qword [edi + 0x78]
wait
mov eax, esi
call fcn.005f9fd8
test al, al
jne 0x5fad4c
cmp byte [ebp + 8], 0
jne 0x5fad4c
cmp byte [edi + 0x75], 0
je 0x5fad4c
mov eax, dword [ebp - 0x5c]
call fcn.006068a0
test al, al
jne 0x5fad4c
push dword [edi + 0x7c]
push dword [edi + 0x78]
push dword [edi + 0x54]
push dword [edi + 0x50]
push dword [edi + 0x5c]
push dword [edi + 0x58]
call fcn.005447c4
push eax
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.005eda48
fstp qword [edi + 0x78]
wait
fld qword [ebp - 0x10]
fadd qword [edi + 0x78]
fstp qword [ebp - 0x10]
wait
inc ebx
dec dword [ebp - 0x4c]
jne 0x5facb7
mov eax, esi
call fcn.005f9fd8
test al, al
je 0x5fadae
cmp byte [ebp + 8], 0
jne 0x5fadae
xor edx, edx
mov eax, esi
call fcn.005faec4
mov edi, eax
mov eax, dword [ebp - 0x5c]
call fcn.006068a0
test al, al
jne 0x5fadae
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
mov eax, esi
call fcn.005f9e9c
push eax
mov ecx, dword [edi + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.005eda48
fstp qword [ebp - 0x10]
wait
mov eax, esi
call fcn.0060ea0c
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
call fcn.005ed84c
mov ebx, eax
mov eax, esi
call fcn.0060ea0c
push dword [eax + 0x2c]
push dword [eax + 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, ebx
call fcn.0060ea74
fadd qword [ebp - 0x10]
fstp qword [ebp - 0x10]
wait
mov eax, esi
call fcn.005faebc
dec eax
test eax, eax
jl 0x5fae69
inc eax
mov dword [ebp - 0x4c], eax
xor ebx, ebx
mov edx, ebx
mov eax, esi
call fcn.005faec4
mov edi, eax
cmp edi, dword [ebp - 0x14]
je 0x5fae63
fld qword [edi + 0x80]
fcomp dword [0x5faeb0]
fnstsw ax
sahf
je 0x5fae63
push dword [edi + 0x84]
push dword [edi + 0x80]
mov eax, dword [ebp - 0x14]
fld qword [eax + 0x58]
mov eax, dword [ebp - 0x14]
fsub qword [eax + 0x50]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00590114
mov eax, dword [ebp - 0x14]
fmul qword [eax + 0x78]
fstp qword [edi + 0x90]
wait
mov eax, dword [ebp - 0x14]
fld qword [eax + 0x98]
fadd qword [edi + 0x90]
mov eax, dword [ebp - 0x14]
fstp qword [eax + 0x98]
wait
inc ebx
dec dword [ebp - 0x4c]
jne 0x5fadf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fae86
lea eax, [ebp + 0x1c]
call fcn.0040498c
ret