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

Disassembly:
push 0xffffffffffffffff
push 0x87ac9a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
mov ebp, dword [esp + 0x150]
xor ebx, ebx
push esi
push ebx
mov dword [esp + 0x40], ecx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
push 0xf1f5fbc7
mov ecx, ebp
call fcn.00454810
cmp eax, ebx
jne 0x678d2e
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0x64]
call fcn.004ab2c0
push ebx
push 0xc92a0142
mov ecx, ebp
mov dword [esp + 0x154], ebx
call fcn.00454810
cmp eax, ebx
jne 0x678d5c
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0x8c]
call fcn.0066b970
push ebx
push 0x7a7a3e5
mov ecx, ebp
mov byte [esp + 0x154], 1
call fcn.00454810
cmp eax, ebx
jne 0x678d8e
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0x78]
call fcn.004ab5d0
push ebx
push 0xafa210f0
mov ecx, ebp
mov byte [esp + 0x154], 2
call fcn.00454810
cmp eax, ebx
jne 0x678dbd
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0xb4]
call fcn.00407490
push ebx
push 0xbd38d1ca
mov ecx, ebp
mov byte [esp + 0x154], 3
call fcn.00454810
cmp eax, ebx
jne 0x678def
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0xdc]
call fcn.00407510
push ebx
push 0x36350867
mov ecx, ebp
mov byte [esp + 0x154], 4
call fcn.00454810
cmp eax, ebx
jne 0x678e21
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0xc8]
call fcn.0066ba60
push ebx
push 0xb1669f64
mov ecx, ebp
mov byte [esp + 0x154], 5
call fcn.00454810
cmp eax, ebx
jne 0x678e53
push 0xc
call fcn.006269b0
add esp, 4
push ebx
push ebx
push eax
lea ecx, [esp + 0xa0]
call fcn.00407630
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x154], 6
call fcn.0066c3a0
fstp st(0)
push ebx
push ebp
call fcn.0066bf20
fmul dword [0x8933d4]
mov edx, dword [esp + 0x84]
mov eax, dword [edx + 0x80]
mov dword [esp + 0x5c], eax
fstp dword [esp + 0x1c]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x5c]
mov edx, dword [eax + 0x58]
mov dword [esp + 0x44], ecx
fld dword [esp + 0x44]
mov dword [esp + 0x34], edx
fmul dword [0x8a9398]
add esp, 0x10
lea ecx, [eax + 0x2c]
mov esi, eax
fstp dword [esp + 0x50]
fld dword [esp + 0x24]
fmul dword [0x8a9398]
fstp dword [esp + 0x18]
call fcn.00452940
test eax, eax
jbe 0x678ee1
lea eax, [esi + 0x34]
jmp 0x678eeb
push 4
call fcn.006269b0
add esp, 4
fld dword [eax]
push 0xc
fmul dword [0x890958]
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0xec]
push ecx
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x80]
fstp dword [esp + 0x40]
push ecx
call fcn.00673400
add esp, 0x18
test al, al
je 0x679404
fld dword [esp + 0xc]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jnp 0x679404
fld dword [esp + 0x4c]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jnp 0x679404
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x38]
cmp dword [esp + 0x158], ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], 0x3f800000
jne 0x678f8f
mov dword [esp + 0x20], 0x3e000000
mov eax, dword [esp + 0x15c]
cmp eax, ebx
je 0x678fa2
mov eax, dword [eax]
mov dword [esp + 0x48], eax
jmp 0x678fa6
mov dword [esp + 0x48], ebx
push ebp
call fcn.0066c8a0
fld dword [esp + 0x1c]
fsub dword [esp + 0x54]
add esp, 4
dec eax
mov dword [esp + 0x1c], eax
fdiv dword [esp + 0x18]
push edi
fstp dword [esp + 0x58]
fld dword [0x89096c]
fdiv dword [esp + 0x10]
fstp dword [esp + 0x44]
fld dword [0x89096c]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
lea esi, [ebx + 2]
mov edi, ecx
call fcn.00452940
cmp esi, eax
jae 0x678ff9
lea eax, [edi + esi*4 + 8]
jmp 0x679003
push 4
call fcn.006269b0
add esp, 4
fld dword [esp + 0x50]
fmul dword [eax]
fstp dword [esp + 0x1c]
fld dword [esp + 0x44]
fmul dword [esp + 0x18]
fmul dword [esp + 0x1c]
fmul dword [esp + 0x58]
fadd dword [esp + 0x54]
fmul dword [0x8a9394]
fcom dword [esp + 0x28]
fnstsw ax
test ah, 5
jnp 0x679038
fstp st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x67904b
fstp st(0)
fld dword [esp + 0x38]
test ebx, ebx
fst dword [esp + 0x10]
jne 0x67906a
fcom dword [esp + 0x48]
fnstsw ax
test ah, 0x41
je 0x679064
fstp st(0)
fld dword [esp + 0x48]
fstp dword [esp + 0x10]
jmp 0x67906c
fstp st(0)
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x5c]
push esi
push ecx
call fcn.00672fe0
fstp dword [esp + 0x3c]
push 0
push 0
push 0x3f800000
push esi
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.0066bcc0
fadd dword [0x89096c]
fld dword [esp + 0x54]
mov ecx, dword [esp + 0xc0]
fmul dword [0x8a938c]
add esp, 0x20
fmulp st(1)
fmul dword [esp + 0x1c]
fld dword [ecx + 0x10]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
fstp st(0)
test ah, 5
jp 0x6790e9
fld dword [esp + 0x18]
fcomp dword [0x890da4]
fnstsw ax
test ah, 0x41
jne 0x6790e9
fld dword [ecx + 4]
fadd dword [0x89096c]
fmulp st(1)
fmul dword [esp + 0x44]
mov edx, dword [esp + 0x15c]
test edx, edx
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x1c]
fstp st(0)
je 0x679126
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jl 0x679112
mov eax, ecx
fld dword [esp + 0x18]
inc ecx
fstp dword [edx + eax*8]
mov dword [esp + 0x3c], ecx
fld dword [esp + 0x1c]
fstp dword [edx + eax*8 + 4]
mov ecx, dword [esp + 0xb4]
fld dword [ecx + 0x70]
fmul dword [esp + 0x18]
fmul dword [esp + 0x18]
fcom dword [0x890968]
fnstsw ax
test ah, 5
jp 0x679147
fchs
fmul dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
fld dword [esp + 0x1c]
fmul dword [esp + 0x24]
fadd dword [esp + 0x18]
fld st(1)
fmul dword [esp + 0x24]
fsubp st(1)
fst dword [esp + 0x18]
fcomp dword [0x8a9a74]
fnstsw ax
test ah, 1
jne 0x679191
fld dword [ecx]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jp 0x679191
mov edx, dword [esp + 0x14]
mov dword [ecx], edx
mov dword [esp + 0x24], 0x3f800000
fld dword [esp + 0x30]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x679328
fld dword [esp + 0x18]
fcomp dword [esp + 0x30]
fnstsw ax
test ah, 1
jne 0x679328
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
mov dword [ecx + 4], eax
fstp st(0)
fld dword [esp + 0x24]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [ecx + 4]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x6791f1
fld dword [ecx]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
je 0x67921f
fld dword [esp + 0x10]
fcomp dword [esp + ebx*4 + 0xf0]
fnstsw ax
test ah, 1
jne 0x67920a
inc ebx
cmp ebx, edx
jb 0x67920a
mov ebx, edx
fld dword [esp + 0x14]
fcomp dword [0x8970c0]
fnstsw ax
test ah, 5
jnp 0x678fe1
cmp ebx, edx
je 0x679233
fld dword [ecx + 4]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jp 0x67923a
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
push 0
push 0xaacbe2e7
mov ecx, ebp
call fcn.00454810
test eax, eax
jne 0x679256
push 4
call fcn.006269b0
add esp, 4
mov eax, dword [eax]
push 1
push 0xaacbe2e7
mov ecx, ebp
mov dword [esp + 0x28], eax
call fcn.00454810
test eax, eax
jne 0x679278
push 4
call fcn.006269b0
add esp, 4
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
xor edi, edi
mov esi, 0x8f892c
fld dword [esp + 0x10]
push edi
fadd dword [esi]
push ebp
fstp dword [esp + 0x18]
call fcn.00677f80
fmul dword [esi]
add esp, 8
add esi, 0xc
inc edi
cmp esi, 0x8f8980
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jl 0x679295
fld dword [esp + 0x10]
pop edi
fcomp dword [0x8a92d4]
fnstsw ax
test ah, 0x41
jne 0x6792dd
fld dword [esp + 0x10]
fdiv dword [esp + 0xc]
fstp dword [esp + 0x10]
fld dword [esp + 0x30]
mov eax, dword [esp + 0x15c]
test eax, eax
fsub dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
fmul dword [esp + 0x10]
fadd dword [esp + 0x1c]
fstp dword [ecx + 8]
je 0x679305
mov edx, dword [esp + 0x38]
mov dword [eax], edx
fld dword [ecx + 4]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x679372
fld dword [ecx]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jne 0x679372
mov bl, 1
jmp 0x679374
mov edx, dword [esp + 0x20]
cmp ebx, edx
jne 0x6791c4
fcomp dword [esp + 0x1c]
fnstsw ax
test ah, 0x41
je 0x679352
fld dword [esp + 0x10]
fcomp dword [esp + 0x28]
fnstsw ax
test ah, 1
jne 0x6791c6
fld dword [ecx + 4]
fcomp dword [0x890968]
fnstsw ax
test ah, 0x41
jp 0x6791c6
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], eax
jmp 0x6791c6
xor bl, bl
lea ecx, [esp + 0x94]
mov byte [esp + 0x14c], 5
call fcn.0045a430
lea ecx, [esp + 0xbc]
mov byte [esp + 0x14c], 4
call fcn.0045a430
lea ecx, [esp + 0xd0]
mov byte [esp + 0x14c], 3
call fcn.0045a430
lea ecx, [esp + 0xa8]
mov byte [esp + 0x14c], 2
call fcn.0045a430
lea ecx, [esp + 0x6c]
mov byte [esp + 0x14c], 1
call fcn.0045a430
lea ecx, [esp + 0x80]
mov byte [esp + 0x14c], 0
call fcn.0045a430
lea ecx, [esp + 0x58]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0045a430
mov al, bl
jmp 0x67948f
lea ecx, [esp + 0x94]
mov byte [esp + 0x14c], 5
call fcn.0045a430
lea ecx, [esp + 0xbc]
mov byte [esp + 0x14c], 4
call fcn.0045a430
lea ecx, [esp + 0xd0]
mov byte [esp + 0x14c], 3
call fcn.0045a430
lea ecx, [esp + 0xa8]
mov byte [esp + 0x14c], 2
call fcn.0045a430
lea ecx, [esp + 0x6c]
mov byte [esp + 0x14c], 1
call fcn.0045a430
lea ecx, [esp + 0x80]
mov byte [esp + 0x14c], 0
call fcn.0045a430
lea ecx, [esp + 0x58]
mov dword [esp + 0x14c], 0xffffffff
call fcn.0045a430
xor al, al
mov ecx, dword [esp + 0x144]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 0xc