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

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0xa0]
mov eax, dword [esp + 0xac]
push esi
fld dword [ebp + 8]
fsub dword [ebx + 8]
push edi
mov edi, ecx
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x1c]
mov esi, dword [edi + 0x88]
lea edx, [esp + 0x10]
fstp dword [esp + 0x18]
fld dword [ebp + 4]
fsub dword [ebx + 4]
shl eax, 4
add esi, eax
lea eax, [esp + 0x18]
push eax
push ecx
fstp dword [esp + 0x24]
fld dword [ebp]
fsub dword [ebx]
push edx
lea ecx, [esp + 0x70]
mov dword [esp + 0x80], 0
fstp dword [esp + 0x1c]
call fcn.0053e5d0
lea eax, [esp + 0x64]
lea ecx, [esp + 0x64]
push eax
call fcn.0053e600
fsqrt
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x68]
fdivr dword [0x6a7764]
fstp dword [esp + 0x14]
call fcn.005ff810
fld dword [ebp + 8]
fsub dword [ebx + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push eax
push ecx
fstp dword [esp + 0x1c]
fld dword [ebp + 4]
fsub dword [ebx + 4]
lea ecx, [esp + 0x3c]
fstp dword [esp + 0x28]
fld dword [ebp]
fsub dword [ebx]
fstp dword [esp + 0x24]
call fcn.0053e5d0
fld dword [esp + 0x6c]
fmul dword [esp + 0x38]
fld dword [esp + 0x68]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x64]
faddp st(1)
fstp dword [esp + 0x98]
fld dword [esp + 0x64]
fcomp dword [0x6abb10]
fnstsw ax
test ah, 0x40
je 0x68f63b
mov dword [esp + 0x64], 0x5d5e0b6b
jmp 0x68f649
fld dword [0x6a7764]
fdiv dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fcomp dword [0x6abb10]
fnstsw ax
test ah, 0x40
je 0x68f662
fld dword [str.k_v_]
jmp 0x68f66c
fld dword [0x6a7764]
fdiv dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x6c]
fcomp dword [0x6abb10]
fnstsw ax
test ah, 0x40
je 0x68f689
fld dword [str.k_v_]
jmp 0x68f693
fld dword [0x6a7764]
fdiv dword [esp + 0x6c]
fst dword [esp + 0x6c]
fld dword [esp + 0x64]
fcomp qword [0x69dd10]
fnstsw ax
test ah, 1
je 0x68f6b8
mov edx, 1
xor ecx, ecx
mov dword [esp + 0x88], edx
jmp 0x68f6c6
xor ecx, ecx
mov edx, 1
mov dword [esp + 0x88], ecx
fld dword [esp + 0x68]
fcomp qword [0x69dd10]
mov dword [esp + 0x8c], edx
fnstsw ax
test ah, 1
jne 0x68f6e5
mov dword [esp + 0x8c], ecx
fcomp qword [0x69dd10]
mov dword [esp + 0x90], edx
fnstsw ax
test ah, 1
jne 0x68f700
mov dword [esp + 0x90], ecx
mov edx, ebx
fld dword [ebp]
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov ecx, dword [edx + 4]
fcomp dword [esp + 0x44]
mov eax, dword [edx + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [edx + 0xc]
mov edx, dword [ebx]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x20], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 8]
fnstsw ax
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x28], ecx
test ah, 1
mov dword [esp + 0x2c], edx
je 0x68f74d
mov eax, dword [ebp]
mov dword [esp + 0x44], eax
fld dword [ebp + 4]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 1
je 0x68f762
mov ecx, dword [ebp + 4]
mov dword [esp + 0x48], ecx
fld dword [ebp + 8]
fcomp dword [esp + 0x4c]
fnstsw ax
test ah, 1
je 0x68f777
mov edx, dword [ebp + 8]
mov dword [esp + 0x4c], edx
fld dword [ebp + 0xc]
fcomp dword [esp + 0x50]
fnstsw ax
test ah, 1
je 0x68f78c
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x50], eax
fld dword [esp + 0x20]
fcomp dword [ebp]
fnstsw ax
test ah, 1
je 0x68f7a1
mov ecx, dword [ebp]
mov dword [esp + 0x20], ecx
fld dword [esp + 0x24]
fcomp dword [ebp + 4]
fnstsw ax
test ah, 1
je 0x68f7b6
mov edx, dword [ebp + 4]
mov dword [esp + 0x24], edx
fld dword [esp + 0x28]
fcomp dword [ebp + 8]
fnstsw ax
test ah, 1
je 0x68f7cb
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
fld dword [esp + 0x2c]
fcomp dword [ebp + 0xc]
fnstsw ax
test ah, 1
je 0x68f7e0
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x2c], ecx
mov ebp, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
fld dword [esp + 0x44]
fadd dword [ebp]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd dword [ebp + 4]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], edx
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fadd dword [ebp + 8]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
lea eax, [edi + 4]
push eax
fstp dword [esp + 0x50]
fld dword [esp + 0x24]
fadd dword [ebx]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x34]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [ebx + 4]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [ebx + 8]
fstp dword [esp + 0x2c]
call fcn.00690f70
lea eax, [edi + 0x14]
lea ecx, [esp + 0x30]
push eax
call fcn.00690fc0
lea eax, [esp + 0x30]
push 0
lea ecx, [esp + 0x7c]
push eax
push ecx
mov ecx, edi
call fcn.0068cdc0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
lea eax, [edi + 4]
mov dword [esp + 0x38], ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x40], edx
call fcn.00690f70
lea eax, [edi + 0x14]
lea ecx, [esp + 0x30]
push eax
call fcn.00690fc0
lea eax, [esp + 0x30]
push 1
lea ecx, [esp + 0x84]
push eax
push ecx
mov ecx, edi
call fcn.0068cdc0
mov edx, dword [esp + 0xb8]
mov eax, dword [esp + 0xb4]
cmp eax, edx
jge 0x68fb7c
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x94], 0x3f800000
mov ax, word [esi + 8]
mov dx, word [esi + 0xa]
inc ecx
cmp ax, word [esp + 0x7a]
mov dword [esp + 0x74], ecx
push 0
sbb ecx, ecx
push 1
inc ecx
cmp dx, word [esp + 0x84]
mov dx, word [esp + 0x8a]
mov dword [esp + 0x20], 0
sbb eax, eax
inc eax
and ecx, eax
cmp dx, word [esi + 2]
mov dx, word [esi + 6]
sbb eax, eax
inc eax
and ecx, eax
cmp dx, word [esp + 0x80]
mov dx, word [esp + 0x8c]
sbb eax, eax
inc eax
and ecx, eax
cmp dx, word [esi + 4]
mov dx, word [esp + 0x88]
sbb eax, eax
inc eax
and ecx, eax
cmp dx, word [esi]
sbb eax, eax
inc eax
and ecx, eax
push ecx
call fcn.006910e0
mov edx, dword [esi + 0xc]
add esp, 0xc
test edx, edx
setge byte [esp + 0x17]
test eax, eax
je 0x68fb02
xor ecx, ecx
xor edx, edx
mov cx, word [esi + 4]
mov dx, word [esi + 2]
mov dword [esp + 0x10], ecx
xor eax, eax
fild dword [esp + 0x10]
mov dword [esp + 0x10], edx
mov ax, word [esi]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
fdiv dword [edi + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x28]
fstp dword [esp + 0x24]
fild dword [esp + 0x18]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
fdiv dword [edi + 0x28]
fstp dword [esp + 0x24]
fild dword [esp + 0x1c]
fdiv dword [edi + 0x24]
fstp dword [esp + 0x1c]
call fcn.0053e620
lea eax, [edi + 4]
lea ecx, [esp + 0x20]
push eax
call fcn.005f7df0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x48], edx
xor edx, edx
mov dx, word [esi + 0xa]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], edx
xor eax, eax
fild dword [esp + 0x10]
mov ax, word [esi + 8]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ecx
fdiv dword [edi + 0x2c]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x1c]
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov cx, word [esi + 6]
lea eax, [esp + 0x18]
push edx
push eax
fstp dword [esp + 0x24]
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
fdiv dword [edi + 0x28]
fstp dword [esp + 0x24]
fild dword [esp + 0x1c]
fdiv dword [edi + 0x24]
fstp dword [esp + 0x1c]
call fcn.0053e620
lea eax, [edi + 4]
lea ecx, [esp + 0x30]
push eax
call fcn.005f7df0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
fld dword [esp + 0x44]
fadd dword [ebp]
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], edx
push eax
lea ecx, [esp + 0x98]
push 0
lea edx, [esp + 0x4c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x50]
fadd dword [ebp + 4]
push ecx
lea eax, [esp + 0x94]
push edx
mov edx, dword [esp + 0xb4]
lea ecx, [esp + 0x74]
push eax
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fadd dword [ebp + 8]
push ecx
push edx
fstp dword [esp + 0x68]
fld dword [esp + 0x4c]
fadd dword [ebx]
fstp dword [esp + 0x70]
fld dword [esp + 0x74]
fadd dword [ebx + 4]
fstp dword [esp + 0x74]
fld dword [esp + 0x78]
fadd dword [ebx + 8]
fstp dword [esp + 0x78]
call fcn.005f97e0
add esp, 0x1c
and eax, 0xff
mov dword [esp + 0x18], eax
mov al, byte [esp + 0x17]
test al, al
je 0x68fb35
mov eax, dword [esp + 0x18]
test eax, eax
je 0x68fb3d
mov ecx, dword [esp + 0xa0]
mov eax, dword [esi + 0xc]
mov edx, dword [ecx]
mov ecx, eax
and ecx, 0x1fffff
sar eax, 0x15
push ecx
mov ecx, dword [esp + 0xa4]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x68fb5d
mov al, byte [esp + 0x17]
test al, al
jne 0x68fb5d
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x40]
neg eax
mov edx, eax
shl edx, 4
add esi, edx
add ecx, eax
mov dword [esp + 0x40], ecx
jmp 0x68fb69
mov eax, dword [esp + 0x40]
add esi, 0x10
inc eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb8]
cmp eax, ecx
jl 0x68f8e2
mov eax, dword [esp + 0x74]
mov ecx, dword [0xa85e58]
pop edi
pop esi
pop ebp
cmp ecx, eax
pop ebx
jge 0x68fb93
mov dword [0xa85e58], eax
add esp, 0x8c
ret 0x1c