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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
xor ebp, ebp
mov esi, ecx
push edi
mov byte [esi + 0xf4], 0
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov byte [esp + 0x13], 0
nop
lea eax, [esp + 0x38]
push eax
push 1
push ebp
call fcn.005fd460
fld dword [esi + 0xb8]
fcomp dword [esi + 0x40]
add esp, 0xc
fnstsw ax
test ah, 0x41
jne 0x68317c
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x20], ecx
jmp 0x683183
mov edx, dword [esi + 0x40]
mov dword [esp + 0x20], edx
fild dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
mov ecx, esi
call fcn.006811e0
fld dword [esp + 0x14]
fcomp dword [0x87821c]
fnstsw ax
test ah, 1
jne 0x6831be
mov edi, 2
jmp 0x6831d8
fld dword [esp + 0x14]
fcomp dword [0x878210]
fnstsw ax
test ah, 0x41
jne 0x6831d6
mov edi, 1
jmp 0x6831d8
xor edi, edi
fld dword [esp + 0x14]
fcomp dword [0x849694]
fnstsw ax
test ah, 5
jnp 0x68335a
mov dword [esp + 0x54], 0x41a00000
mov dword [esp + 0x58], 0x41f00000
mov dword [esp + 0x5c], 0x41c80000
mov dword [esp + 0x60], 0x42700000
mov dword [esp + 0x64], 0x42020000
mov dword [esp + 0x68], 0x42c40000
mov dword [esp + 0x6c], 0x41c80000
mov dword [esp + 0x70], 0x42700000
fld dword [esp + edi*8 + 0x54]
fstp dword [esp + 0x34]
push ecx
fld dword [esp + 0x44]
fsub dword [esi + 0xc]
fld dword [esp + 0x3c]
fsub dword [esi + 4]
fld st(1)
fmul st(2)
fld st(1)
fmul st(2)
faddp st(1)
fstp dword [esp]
fstp st(0)
fstp st(0)
call fcn.00798108
fst dword [esp + 0x30]
add esp, 4
fsub dword [esp + 0x18]
fst dword [esp + 0x1c]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 5
jp 0x68327b
mov byte [esp + 0x13], 1
jmp 0x683283
mov al, byte [esp + 0x13]
test al, al
je 0x683296
fld dword [esp + 0x1c]
fcomp dword [esp + 0x34]
fnstsw ax
test ah, 5
jnp 0x68335a
mov eax, 5
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 8
mov dword [esp + 0x50], 6
fild dword [esp + edi*4 + 0x44]
call fcn.0081cba0
cmp ebp, eax
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x34], eax
jl 0x683342
mov eax, dword [esi + 0x78]
test eax, eax
jge 0x683342
fld dword [esi + 0xb8]
fcomp dword [esi + 0x40]
fnstsw ax
test ah, 0x41
jne 0x6832f3
mov ecx, dword [esi + 0xb8]
mov dword [esp + 0x24], ecx
jmp 0x6832fa
mov eax, dword [esi + 0x40]
mov dword [esp + 0x24], eax
fild dword [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
fsubr dword [esp + 0x2c]
lea eax, [esp + 0x1c]
push eax
push ecx
push ecx
mov ecx, esi
fstp dword [esp]
call fcn.006811e0
fld dword [esp + 0x2c]
fsub dword [esp + 0x18]
fcomp dword [0x87859c]
fnstsw ax
test ah, 5
jp 0x683342
lea eax, [esi + 0x88]
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [esi + 0x78], ebp
mov dword [eax + 8], ebx
mov ecx, dword [esp + 0x1c]
inc ebp
cmp ebp, 0x64
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ebp
jl 0x683150
jmp 0x683366
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x40]
mov eax, dword [esi + 0x78]
test eax, eax
jge 0x68337e
lea eax, [esi + 0x88]
mov dword [eax], edi
mov dword [eax + 4], edx
mov dword [esi + 0x78], ebp
mov dword [eax + 8], ebx
mov dword [esi + 0x74], ebp
add esi, 0x7c
mov dword [esi], edi
mov dword [esi + 4], edx
pop edi
mov dword [esi + 8], ebx
pop esi
pop ebp
pop ebx
add esp, 0x64
ret