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

Disassembly:
push ebp
xor edx, edx
push edi
push esi
push ebx
sub esp, 0x4c
fld qword [0x7b3be8]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x7c]
mov ebp, dword [esp + 0x88]
mov esi, dword [eax]
mov eax, dword [esp + 0x74]
mov eax, dword [eax]
test eax, eax
cmovns edx, eax
mov eax, dword [esp + 0x84]
fld qword [eax]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], edx
not edx
mov dword [esp + 0x30], edx
mov eax, dword [eax]
fcomi st(1)
fcmovb st(0), st(1)
fstp st(1)
add eax, dword [edi]
mov dword [esp + 0x3c], eax
add eax, 1
mov dword [esp + 0x18], eax
fsqrt
mov dword [0x8def84], eax
fst qword [0x8def88]
cmp eax, esi
jl 0x6a6016
mov dword [0x8def80], 1
mov edx, 1
test esi, esi
jle 0x6a62bf
mov dword [esp + 0x18], esi
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
lea esi, [esi]
sub edx, 1
fld qword [edi + edx*8]
fld st(0)
fabs
fmul st(2)
fldz
fcompi st(1)
je 0x6a6342
fstp st(2)
fxch st(1)
fld st(0)
fxch st(2)
fst qword [0x8def78]
fxch st(1)
mov eax, dword [esp + 0x78]
fstp qword [0x8def70]
faddp st(1)
fstp qword [edi + edx*8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 4], edi
call dword [esp + 0x60]
mov eax, dword [esp + 0x78]
cmp dword [eax], 0xffffffff
jl 0x6a62c1
mov eax, dword [esp + 0x64]
fld qword [0x8def78]
mov dword [0x8def6c], 1
mov edx, dword [0x8def80]
mov ecx, dword [eax]
fstp qword [edi + edx*8 - 8]
test ecx, ecx
jle 0x6a5ff6
fld1
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
fdiv qword [0x8def70]
imul eax, edx
add eax, ebx
mov ebx, dword [esp + 0x70]
lea ebx, [ebx + eax*8]
xor eax, eax
lea esi, [esi]
nop
fld qword [ebp + eax*8]
fsub qword [esi + eax*8]
fmul st(1)
fstp qword [ebx + eax*8 + 8]
add eax, 1
cmp eax, ecx
jne 0x6a5fd8
fstp st(0)
add eax, 1
mov dword [0x8def6c], eax
mov eax, dword [esp + 0x18]
add edx, 1
mov dword [0x8def80], edx
cmp edx, eax
jg 0x6a62c1
fld qword [0x8def88]
jmp 0x6a5f38
fstp st(0)
mov dword [0x8def68], 1
mov edx, dword [esp + 0x18]
test edx, edx
jle 0x6a62c1
mov edi, 1
lea esi, [esi]
nop
mov eax, dword [esp + 0x18]
mov dword [0x8def80], edi
test eax, eax
js 0x6a62f4
mov eax, esi
xor edx, edx
sub eax, edi
div dword [esp + 0x18]
mov dword [esp + 0x1c], eax
cmp edi, esi
jg 0x6a60d8
mov eax, dword [esp + 0x18]
lea edx, [edi*8 - 8]
fld qword [0x8def88]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax*8]
mov eax, dword [esp + 0x68]
add eax, edx
add edx, dword [esp + 0x8c]
jmp 0x6a6092
fstp st(0)
fld qword [eax]
fld st(0)
fabs
fmul st(2)
fldz
fxch st(2)
fst qword [edx]
fxch st(1)
fcomi st(2)
fstp st(2)
je 0x6a6318
fadd st(1)
sub ecx, 1
add edx, ebx
fstp qword [eax]
add eax, ebx
cmp ecx, 0xffffffff
jne 0x6a6090
fstp st(1)
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
fstp qword [0x8def70]
imul edx, eax
add eax, edi
add eax, edx
mov dword [0x8def80], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call dword [esp + 0x60]
mov eax, dword [esp + 0x78]
cmp dword [eax], 0xffffffff
jl 0x6a62c1
mov edi, dword [0x8def68]
mov eax, dword [esp + 0x64]
mov edx, dword [0x8def84]
mov dword [esp + 0x28], edi
mov esi, dword [eax]
mov ebx, edi
mov dword [esp + 0x18], edx
mov dword [0x8def80], edi
test edx, edx
js 0x6a62c9
mov eax, esi
xor edx, edx
sub eax, edi
div dword [esp + 0x18]
mov ecx, eax
cmp edi, esi
jg 0x6a634d
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
fld qword [0x8def88]
mov dword [esp + 0x88], ebp
mov eax, edi
imul eax, edx
shl eax, 3
mov dword [esp + 0x20], eax
mov eax, edi
mov edi, dword [esp + 0x28]
imul eax, edi
mov edi, dword [esp + 0x30]
add eax, edi
mov edi, dword [esp + 0x70]
test esi, esi
lea edx, [edi + eax*8]
lea eax, [esi + 1]
mov edi, eax
mov dword [esp + 0x24], eax
mov eax, 1
cmovg eax, edi
mov edi, ecx
mov dword [esp + 0x34], eax
jmp 0x6a61a2
fstp st(0)
mov eax, dword [esp + 0x8c]
fld qword [eax + ebx*8 - 8]
mov eax, dword [esp + 0x68]
fld st(0)
fabs
fmul st(2)
fldz
fcompi st(1)
fcmove st(0), st(2)
fxch st(1)
fstp qword [eax + ebx*8 - 8]
test esi, esi
jle 0x6a625e
mov eax, dword [esp + 0x80]
mov ecx, ebx
sub ecx, dword [eax]
cmp ecx, 1
jle 0x6a6338
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x88]
cmp eax, ecx
cmovle ecx, eax
mov eax, 1
lea esi, [esi]
fldz
fstp qword [edx + eax*8]
add eax, 1
cmp eax, ecx
jl 0x6a61f8
mov dword [esp + 0x88], ebp
cmp eax, esi
jg 0x6a625e
fld st(0)
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x1c], ebx
fdivr dword [0x7b3bc0]
mov ecx, dword [ebp]
mov ebp, dword [esp + 0x88]
add ecx, ebx
lea esi, [esi]
nop
fldz
fstp qword [edx + eax*8]
cmp ecx, eax
jl 0x6a624a
mov ebx, dword [esp + 0x6c]
fld qword [ebp + eax*8 - 8]
fsub qword [ebx + eax*8 - 8]
fmul st(1)
fstp qword [edx + eax*8]
add eax, 1
cmp esi, eax
jge 0x6a6230
fstp st(0)
mov dword [esp + 0x88], ebp
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
sub edi, 1
add ebx, eax
mov eax, dword [esp + 0x20]
add edx, eax
cmp edi, 0xffffffff
jne 0x6a61a0
fstp st(1)
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
fstp qword [0x8def70]
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x88]
mov dword [0x8def6c], eax
mov eax, dword [esp + 0x18]
mov edx, eax
add eax, edi
imul edx, ecx
add eax, edx
mov dword [0x8def80], eax
mov eax, edi
lea edi, [edi + 1]
mov dword [0x8def68], edi
cmp dword [esp + 0x3c], eax
jge 0x6a6038
jmp 0x6a62c1
fstp st(0)
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, edx
mov eax, edi
xor edx, edx
neg ecx
sub eax, esi
div ecx
mov ecx, eax
cmp edi, esi
jge 0x6a6142
lea edi, [edi + 1]
mov dword [0x8def68], edi
cmp dword [esp + 0x3c], ebx
jl 0x6a62c1
mov dword [0x8def80], edi
mov ecx, dword [esp + 0x18]
mov eax, edi
xor edx, edx
sub eax, esi
neg ecx
div ecx
mov dword [esp + 0x1c], eax
cmp esi, edi
jle 0x6a605c
jmp 0x6a60d8
fstp st(1)
fadd st(1)
sub ecx, 1
add edx, ebx
fstp qword [eax]
add eax, ebx
cmp ecx, 0xffffffff
jne 0x6a6092
jmp 0x6a60be
mov eax, 1
jmp 0x6a620f
fstp st(0)
fld st(1)
fxch st(1)
jmp 0x6a5f56
lea edi, [edi + 1]
mov dword [0x8def68], edi
cmp dword [esp + 0x3c], ebx
jl 0x6a62c1
mov dword [0x8def80], edi
jmp 0x6a604a