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

Disassembly:
mov eax, dword [esp + 0x18]
mov dword [eax], 0x7f7fffff
mov eax, dword [0xa83f38]
sub esp, 0x4c
test eax, eax
jne 0x6bf4f2
fld dword [0xa81738]
mov dword [esp + 4], 0x7f7fffff
fcomp dword [0xa83e2c]
mov dword [esp + 0x10], 0x7f7fffff
fnstsw ax
test ah, 0x41
jne 0x6bf045
fld dword [0xa81738]
jmp 0x6bf04b
fld dword [0xa83e2c]
fcomp dword [0x8466ac]
push ebx
push ebp
mov ebp, dword [esp + 0x5c]
push esi
mov esi, dword [esp + 0x5c]
fnstsw ax
push edi
test ah, 0x41
mov edi, dword [esp + 0x6c]
jne 0x6bf378
fld dword [ebp]
call fcn.0081cba0
fld dword [esi + 0x34]
fmul dword [0x87cb30]
lea ecx, [esp + 0x1c]
push ecx
push edi
mov ebx, eax
fstp dword [esp + 0x30]
push 1
push ebx
call fcn.005fd560
add esp, 0x10
test eax, eax
je 0x6bf0d0
jmp 0x6bf0a0
test dword [esp + 0x1c], 0x4000010
jne 0x6bf0d0
fld dword [edi + 4]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 0x41
jnp 0x6bf0d0
lea edx, [esp + 0x1c]
push edx
push edi
add ebx, 0xa
push 1
push ebx
call fcn.005fd560
add esp, 0x10
test eax, eax
jne 0x6bf0a0
fld dword [ebp]
add ebx, 0xfffffff6
call fcn.0081cba0
cmp ebx, eax
jg 0x6bf0e1
mov ebx, eax
lea eax, [esp + 0x1c]
push eax
push edi
push 1
push ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], 1
call fcn.005fd560
add esp, 0x10
test eax, eax
je 0x6bf2e4
jmp 0x6bf110
test dword [esp + 0x1c], 0x4000010
jne 0x6bf2f4
push ebx
call fcn.005fcad0
fld dword [esi + 4]
add esp, 4
test eax, eax
je 0x6bf146
fcomp dword [0x87cb04]
fnstsw ax
test ah, 0x41
jne 0x6bf140
fld dword [esi + 4]
jmp 0x6bf146
fld dword [0x87cb04]
fmul dword [esi + 0x34]
fcomp dword [edi + 4]
fnstsw ax
test ah, 5
jnp 0x6bf2c3
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esi + 0x18]
push ebx
push ecx
call fcn.006bef70
fld dword [esp + 0x40]
fsub dword [esi + 0x28]
add esp, 0x14
fld st(0)
call fcn.0081cba0
mov dword [esp + 0x28], eax
fild dword [esp + 0x28]
fsubr st(1)
fstp dword [esp + 0x10]
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [0x846698]
fnstsw ax
test ah, 0x41
jne 0x6bf1b0
fld dword [esp + 0x10]
fsub dword [0x8466a0]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x8466a4]
fnstsw ax
test ah, 5
jp 0x6bf1cf
fld dword [esp + 0x10]
fadd dword [0x8466a0]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x6bf1ea
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x10]
mov edx, dword [esi + 0x30]
mov eax, dword [esi]
mov ecx, dword [esp + 0x30]
push 0
push edx
mov edx, dword [esi + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.006bebe0
fst dword [ebp]
fiadd dword [esi + 0x14]
add esp, 0x18
mov dword [esp + 0x28], 5
fst dword [ebp]
fild dword [esp + 0x18]
fstp dword [esp + 0x10]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jp 0x6bf2b2
mov eax, dword [esp + 0x74]
cmp dword [eax], 0x7f7fffff
jne 0x6bf243
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x6bf2f4
fld dword [ebp]
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 5
jp 0x6bf27f
mov edx, dword [ebp]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], eax
jmp 0x6bf2c3
cmp ecx, 2
jne 0x6bf2b2
mov ecx, dword [esp + 0x24]
add ecx, 0x1e
cmp ebx, ecx
jge 0x6bf2b2
mov edx, dword [ebp]
mov eax, edi
mov ecx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
jmp 0x6bf2c3
fld dword [esp + 0x14]
fcomp dword [0x871cac]
fnstsw ax
test ah, 5
jnp 0x6bf2f4
add ebx, dword [esp + 0x28]
lea ecx, [esp + 0x1c]
push ecx
push edi
push 1
push ebx
mov dword [esp + 0x28], ebx
call fcn.005fd560
add esp, 0x10
test eax, eax
jne 0x6bf110
cmp ebx, 0x1e0
jle 0x6bf2f4
mov dword [esp + 0x18], 0x1e0
fld dword [esp + 0x20]
fcomp dword [0x871cac]
fnstsw ax
test ah, 5
jp 0x6bf323
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
jmp 0x6bf32f
mov ebx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
fld dword [esp + 0x14]
fcomp dword [0x871cac]
fnstsw ax
test ah, 5
jp 0x6bf359
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 8], ebx
mov dword [esp + 0x18], ecx
mov dword [ebp], edx
fild dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
fld st(0)
fstp dword [ebx]
fcom dword [ebp]
fnstsw ax
test ah, 5
jp 0x6bf374
fstp dword [ebp]
jmp 0x6bf37c
fstp st(0)
jmp 0x6bf37c
mov ebx, dword [esp + 0x68]
mov ax, word [0xa83d98]
cmp ax, 0xffff
je 0x6bf4ee
mov edx, dword [0xa81748]
movsx ecx, ax
sub ecx, edx
test ecx, ecx
mov dword [esp + 0x74], ecx
jle 0x6bf4ee
fild dword [esp + 0x74]
fcomp dword [ebx]
fnstsw ax
test ah, 5
jp 0x6bf4ee
mov eax, dword [esp + 0x70]
mov byte [eax], 1
lea eax, [ecx - 1]
xor ecx, ecx
test eax, eax
setle cl
lea edx, [esp + 0x44]
push edx
push 1
dec ecx
and eax, ecx
push eax
mov dword [esp + 0x40], eax
call fcn.005fd460
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov eax, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
fld dword [edi]
fsub dword [esi + 0x18]
fstp dword [esp + 0x30]
fld dword [edi + 8]
mov eax, dword [esp + 0x30]
fsub dword [esi + 0x20]
fstp dword [esp + 0x80]
mov edx, dword [esp + 0x80]
push edx
push eax
call fcn.0079816a
fstp dword [esp + 0x44]
fld dword [esp + 0x88]
add esp, 0x10
fmul dword [esp + 0x78]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fstp dword [esp]
call fcn.00798108
fstp dword [esp + 0x30]
add esp, 4
fild dword [esp + 0x34]
fstp dword [ebx]
fld dword [esp + 0x30]
fsub dword [esi + 0x28]
fld st(0)
call fcn.0081cba0
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fsubr st(1)
fstp dword [esp + 0x74]
fstp st(0)
fld dword [esp + 0x74]
fcomp dword [0x846698]
fnstsw ax
test ah, 0x41
jne 0x6bf485
fld dword [esp + 0x74]
fsub dword [0x8466a0]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fcomp dword [0x8466a4]
fnstsw ax
test ah, 5
jp 0x6bf4a4
fld dword [esp + 0x74]
fadd dword [0x8466a0]
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fcomp dword [0x84669c]
fnstsw ax
test ah, 5
jp 0x6bf4bf
fld dword [esp + 0x74]
fchs
fstp dword [esp + 0x74]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi]
mov eax, dword [esp + 0x2c]
push 0
push ecx
mov ecx, dword [esi + 0x2c]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push edx
call fcn.006bebe0
fst dword [ebp]
fild dword [esi + 0x14]
add esp, 0x18
fadd st(1)
fstp dword [ebp]
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret