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

Disassembly:
sub esp, 0x188
push ebx
mov ebx, ecx
push ebp
push esi
mov al, byte [ebx + 0x280]
push edi
test al, al
jne 0x66ff95
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0x10
mov eax, dword [0x93cbf4]
mov cl, byte [eax + 0xc8]
test cl, cl
je 0x66ffb3
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188
ret 0x10
mov ecx, dword [0x93c97c]
call fcn.00474b10
test al, al
je 0x670368
mov ecx, dword [0x93c97c]
add ecx, 0x7c
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x48], edx
lea edx, [esp + 0xec]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x54], eax
call fcn.00700956
mov al, byte [0x93f94c]
test al, 1
jne 0x67001d
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f94c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x11c]
fadd dword [esp + 0x10c]
mov ecx, dword [0x93c97c]
mov dword [0x93f950], 0
mov dword [0x93f954], 0
mov dword [0x93f958], 0x3f800000
lea eax, [ecx + 0x98]
fstp dword [esp + 0x10]
fld dword [esp + 0x120]
fadd dword [esp + 0x110]
mov edx, dword [eax]
mov dword [esp + 0x50], edx
mov edx, dword [eax + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x124]
fadd dword [esp + 0x114]
mov eax, dword [eax + 8]
mov dword [esp + 0xa4], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
fstp dword [esp + 0x18]
fld dword [0x76d414]
fmul dword [0x765eb8]
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
fstp dword [esp + 0x1c]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0xa8], 0x3f800000
mov dword [esp + 0x94], 0x3f800000
mov dword [esp + 0x80], 0x3f800000
mov dword [esp + 0x6c], 0x3f800000
mov eax, dword [ecx + 0x4ac]
mov dword [esp + 0x54], edx
cmp eax, 0x756c
jne 0x67015c
call fcn.004654f0
fmul dword [0x765810]
jmp 0x670161
call fcn.004654f0
fstp dword [esp + 0x20]
xor ebp, ebp
lea esi, [esp + 0x140]
mov dword [esp + 0x24], ebp
fild dword [esp + 0x24]
push ecx
lea ecx, [esp + 0x70]
fmul dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.007008db
mov al, byte [0x93f95c]
test al, 1
jne 0x6701a9
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f95c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x6c]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
lea edi, [esi - 8]
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x8c]
faddp st(1)
fadd dword [esp + 0x9c]
fstp dword [0x93f960]
fld dword [esp + 0x70]
fmul dword [esp + 0x10]
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
mov edx, dword [0x93f960]
mov dword [esp + 0x34], edx
mov dword [edi], edx
faddp st(1)
fld dword [esp + 0x18]
fmul dword [esp + 0x90]
faddp st(1)
fadd dword [esp + 0xa0]
fstp dword [0x93f964]
fld dword [esp + 0x74]
fmul dword [esp + 0x10]
fld dword [esp + 0x18]
fmul dword [esp + 0x94]
mov eax, dword [0x93f964]
mov dword [esp + 0x38], eax
mov dword [esi - 4], eax
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x84]
mov al, byte [0x93f93c]
test al, 1
faddp st(1)
fadd dword [esp + 0xa4]
fstp dword [0x93f968]
mov ecx, dword [0x93f968]
mov dword [esp + 0x3c], ecx
mov dword [esi], ecx
jne 0x67027b
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f93c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x20]
fmul dword [edi]
fstp dword [0x93f940]
fld dword [esp + 0x20]
fmul dword [esi - 4]
mov edx, dword [0x93f940]
mov dword [esp + 0x28], edx
fstp dword [0x93f944]
fld dword [esp + 0x20]
fmul dword [esi]
mov eax, dword [0x93f944]
mov dword [esp + 0x2c], eax
mov al, byte [0x93f914]
test al, 1
fstp dword [0x93f948]
mov ecx, dword [0x93f948]
mov dword [esp + 0x30], ecx
jne 0x6702de
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f914], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x28]
fadd dword [esp + 0x50]
push 1
push 0
fstp dword [0x93f920]
fld dword [esp + 0x5c]
fadd dword [esp + 0x34]
mov edx, dword [0x93f920]
mov dword [esp + 0x48], edx
mov edx, dword [0x93c974]
fstp dword [0x93f924]
fld dword [esp + 0x60]
fadd dword [esp + 0x38]
mov eax, dword [0x93f924]
mov dword [esp + 0x4c], eax
fstp dword [0x93f928]
mov ecx, dword [0x93f928]
mov dword [esp + 0x50], ecx
mov ecx, dword [edx + 0x1c]
lea edx, [esp + 0x134]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x68]
push edx
push 0x3f800000
lea edx, [esp + 0x54]
push edi
push edx
call dword [eax + 0x60]
test al, al
jne 0x66ffa4
inc ebp
add esi, 0xc
cmp ebp, 8
mov dword [esp + 0x24], ebp
jl 0x670172
mov eax, dword [0x93c97c]
mov ecx, dword [eax + 0xb40]
test ecx, ecx
jne 0x670441
add eax, 0x98
push 0x8057e4
push 0x805764
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov ecx, dword [0x805758]
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [0x805754]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], edx
mov dword [esp + 0x50], eax
lea eax, [esp + 0xf4]
push eax
call fcn.0070046b
lea ecx, [esp + 0xec]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x60]
push edx
push eax
call fcn.007003e0
fld dword [esp + 0x64]
fdiv dword [esp + 0x68]
fcom qword [0x766420]
fnstsw ax
test ah, 0x41
je 0x670502
fcomp qword [0x766000]
fnstsw ax
test ah, 1
jne 0x670504
fld dword [esp + 0x5c]
fdiv dword [esp + 0x68]
fadd dword [0x765618]
fimul dword [esp + 0x1c]
fmul dword [0x765810]
call fcn.00726fd0
fld dword [esp + 0x60]
fdiv dword [esp + 0x68]
mov esi, eax
fsubr dword [0x765618]
fimul dword [esp + 0x24]
fmul dword [0x765810]
call fcn.00726fd0
jmp 0x67050a
mov ecx, dword [eax + 0xb40]
push 0x8057e4
add ecx, 0x98
push 0x805764
mov edx, dword [ecx]
mov dword [esp + 0x48], edx
mov edx, dword [0x805758]
mov eax, dword [ecx + 4]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x4c], eax
mov eax, dword [0x805754]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0xf4]
push ecx
call fcn.0070046b
lea edx, [esp + 0xec]
lea eax, [esp + 0x40]
push edx
lea ecx, [esp + 0x60]
push eax
push ecx
call fcn.007003e0
fld dword [esp + 0x64]
fdiv dword [esp + 0x68]
fcom qword [0x766420]
fnstsw ax
test ah, 0x41
je 0x670502
fcomp qword [0x766000]
fnstsw ax
test ah, 1
jne 0x670504
fld dword [esp + 0x5c]
fdiv dword [esp + 0x68]
fadd dword [0x765618]
fimul dword [esp + 0x1c]
fmul dword [0x765810]
call fcn.00726fd0
fld dword [esp + 0x60]
fdiv dword [esp + 0x68]
mov esi, eax
fsubr dword [0x765618]
fimul dword [esp + 0x24]
fmul dword [0x765810]
call fcn.00726fd0
jmp 0x67050a
fstp st(0)
or esi, 0xffffffff
or eax, 0xffffffff
mov edi, dword [esp + 0x19c]
mov ebp, dword [esp + 0x1a0]
mov ecx, esi
mov edx, edi
sub edx, ecx
sub eax, ebp
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [0x93cbec]
fstp dword [esp + 0x10]
fild dword [esp + 0x1c]
mov ecx, dword [eax + 0x1ac]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xac]
fstp dword [esp + 0x18]
call fcn.004253e0
fld dword [esp + 0x24]
fcos
mov al, byte [0x93f94c]
test al, 1
fst dword [esp + 0xac]
fld dword [esp + 0x24]
fsin
fchs
fst dword [esp + 0xb4]
fchs
fstp dword [esp + 0xcc]
fstp dword [esp + 0xd4]
jne 0x6705a0
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f94c], dl
call fcn.00726f2f
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push 0
push eax
mov ecx, 0x93f950
call fcn.004247c0
fld dword [esp + 0xcc]
fmul dword [0x93f958]
fld dword [esp + 0xbc]
fmul dword [0x93f954]
faddp st(1)
fld dword [esp + 0xac]
fmul dword [0x93f950]
faddp st(1)
fadd dword [esp + 0xdc]
fstp dword [esp + 0x10]
fld dword [esp + 0xd0]
fmul dword [0x93f958]
fld dword [esp + 0xc0]
fmul dword [0x93f954]
faddp st(1)
fld dword [esp + 0xb0]
fmul dword [0x93f950]
faddp st(1)
fadd dword [esp + 0xe0]
fstp dword [esp + 0x14]
fld dword [esp + 0xd4]
fmul dword [0x93f958]
fld dword [esp + 0xc4]
fmul dword [0x93f954]
faddp st(1)
fld dword [esp + 0xb4]
fmul dword [0x93f950]
faddp st(1)
fadd dword [esp + 0xe4]
fld dword [esp + 0x14]
fld st(1)
fld dword [esp + 0x10]
fmul dword [esp + 0x10]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom dword [0x765614]
fnstsw ax
test ah, 0x40
jne 0x670691
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x10]
fxch st(1)
fdiv st(1)
fxch st(1)
fstp st(0)
fld dword [esp + 0x10]
fcomp dword [0x765614]
fnstsw ax
fcomp dword [0x765614]
test ah, 1
fnstsw ax
jne 0x6706c9
fld dword [esp + 0x10]
test ah, 1
jne 0x6706bc
call fcn.00727da0
jmp 0x6706ec
call fcn.00727cd0
fadd dword [0x7661e0]
jmp 0x6706ec
fld dword [esp + 0x10]
test ah, 1
fchs
jne 0x6706e1
call fcn.00727cd0
fadd dword [0x766404]
jmp 0x6706ec
call fcn.00727da0
fadd dword [0x766400]
mov ecx, dword [0x93c97c]
fstp dword [esp + 0x20]
mov eax, dword [ecx + 0x2fc]
cmp eax, 4
je 0x670c50
cmp eax, 5
je 0x670c50
mov edx, dword [0x93cbec]
cmp dword [edx + 0x1c8], 3
jne 0x670c50
mov eax, dword [0x93cbe0]
mov cl, byte [eax + 0x7d]
test cl, cl
jne 0x670c50
mov cl, byte [eax + 0x134]
test cl, cl
jne 0x670c50
call fcn.0043b9b0
fsub dword [ebx + 0x264]
mov ecx, dword [0x93c97c]
fcom dword [0x765814]
fnstsw ax
test ah, 0x41
jne 0x6709a6
mov al, byte [ecx + 0xb1c]
test al, al
je 0x6709a6
mov al, byte [ecx + 0xae9]
test al, al
fstp st(0)
je 0x6707be
call fcn.00474b10
test al, al
jne 0x6707be
mov ecx, dword [0x93c97c]
push 0
call fcn.00469970
test eax, eax
je 0x6707a5
mov ecx, dword [eax + 0x2fc]
cmp ecx, 4
je 0x6707be
cmp ecx, 5
je 0x6707be
push eax
mov eax, dword [0x93c97c]
mov cl, byte [eax + 0xae9]
test cl, cl
sete cl
push ecx
mov ecx, ebx
call fcn.006631a0
push 0
push 0
push 0
mov ecx, ebx
call fcn.00665f00
mov esi, dword [esp + 0x20]
mov ecx, dword [0x93c97c]
push 1
push esi
call fcn.00462c70
mov edx, dword [0x93c97c]
mov ecx, dword [edx + 0xb40]
test ecx, ecx
je 0x6707f5
push 1
push esi
call fcn.00462c70
push 0
push 1
mov ecx, ebx
call fcn.00662da0
mov eax, dword [0x93c974]
mov ecx, dword [eax + 0x1c]
lea eax, [esp + 0x10]
push eax
push ebp
mov edx, dword [ecx]
push edi
call dword [edx + 0x34]
mov ecx, dword [0x93c974]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x64]
test al, al
je 0x670848
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [0x93c97c]
lea eax, [ecx + 0x98]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov al, byte [0x93f97c]
mov dword [esp + 0x30], edx
test al, 1
jne 0x6708a3
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x10]
fsub dword [esp + 0x28]
sub esp, 0xc
fstp dword [0x93f980]
fld dword [esp + 0x20]
fsub dword [esp + 0x38]
mov eax, dword [0x93f980]
mov dword [esp + 0x40], eax
mov eax, esp
fstp dword [0x93f984]
fld dword [esp + 0x24]
fsub dword [esp + 0x3c]
mov ecx, dword [0x93f984]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [0x93c97c]
call fcn.004718f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
mov edx, dword [0x93fa62]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [edx + 0x1cc]
mov ecx, dword [eax + 0xe4]
test ecx, ecx
jne 0x670c50
mov ecx, dword [0x93c97c]
push 1
push 0x7531
push 0x7531
mov byte [ecx + 0xaed], 0
mov edx, dword [0x93c97c]
mov ecx, dword [0x93cbf0]
mov eax, dword [edx + 0x474]
push eax
push eax
call fcn.00487bc0
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fsqrt
fcomp dword [0x766378]
fnstsw ax
test ah, 0x41
jne 0x670c50
jmp 0x670c0f
fcomp dword [0x765814]
fnstsw ax
test ah, 0x41
jne 0x670c50
mov al, byte [ecx + 0xb1c]
test al, al
jne 0x670c50
mov al, byte [ecx + 0xae9]
test al, al
je 0x670a19
call fcn.00474b10
test al, al
jne 0x670a13
mov ecx, dword [0x93c97c]
push 0
call fcn.00469970
test eax, eax
je 0x6709f9
mov ecx, dword [eax + 0x2fc]
cmp ecx, 4
je 0x670a13
cmp ecx, 5
je 0x670a13
mov ecx, dword [0x93c97c]
push eax
mov dl, byte [ecx + 0xae9]
mov ecx, ebx
test dl, dl
sete dl
push edx
call fcn.006631a0
mov ecx, dword [0x93c97c]
mov esi, dword [esp + 0x20]
push 1
push esi
call fcn.00462c70
mov eax, dword [0x93c97c]
mov ecx, dword [eax + 0xb40]
test ecx, ecx
je 0x670a3c
push 1
push esi
call fcn.00462c70
mov ecx, dword [0x93c974]
lea eax, [esp + 0x10]
push eax
push ebp
mov ecx, dword [ecx + 0x1c]
push edi
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ecx, dword [0x93c974]
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x14]
mov ecx, dword [ecx + 0x1c]
push eax
mov edx, dword [ecx]
call dword [edx + 0x64]
test al, al
je 0x670a85
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov ecx, dword [0x93c97c]
lea eax, [ecx + 0x98]
mov edx, eax
mov ecx, dword [edx]
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x2c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov edx, dword [eax]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov edx, dword [eax + 8]
mov al, byte [0x93f97c]
mov dword [esp + 0x30], edx
test al, 1
jne 0x670ae0
mov dl, al
push fcn.0040de30
or dl, 1
mov byte [0x93f97c], dl
call fcn.00726f2f
add esp, 4
fld dword [esp + 0x10]
fsub dword [esp + 0x28]
fstp dword [0x93f980]
fld dword [esp + 0x14]
fsub dword [esp + 0x2c]
mov eax, dword [0x93f980]
mov dword [esp + 0x34], eax
fstp dword [0x93f984]
fld dword [esp + 0x18]
fsub dword [esp + 0x30]
mov ecx, dword [0x93f984]
mov dword [esp + 0x38], ecx
fstp dword [0x93f988]
mov edx, dword [0x93f988]
mov dword [esp + 0x3c], edx
fld dword [esp + 0x3c]
fmul dword [esp + 0x3c]
fld dword [esp + 0x38]
fmul dword [esp + 0x38]
faddp st(1)
fld dword [esp + 0x34]
fmul dword [esp + 0x34]
faddp st(1)
fsqrt
fst dword [esp + 0x1c]
fcomp dword [0x766378]
fnstsw ax
test ah, 0x41
jne 0x670b9a
mov al, byte [ebx + 0x268]
test al, al
jne 0x670b6b
mov byte [ebx + 0x268], 1
push 1
jmp 0x670b6d
push 0
push 1
mov ecx, ebx
call fcn.00662da0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [0x93c97c]
call fcn.004718f0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], edx
mov edx, dword [0x93fa62]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [edx + 0x1cc]
mov ecx, dword [eax + 0xe4]
test ecx, ecx
jne 0x670c50
mov ecx, dword [0x93c97c]
push 1
push 0x7531
push 0x7531
mov byte [ecx + 0xaed], 0
mov edx, dword [0x93c97c]
mov ecx, dword [0x93cbf0]
mov eax, dword [edx + 0x474]
push eax
push eax
call fcn.00487bc0
fld dword [esp + 0x1c]
fcomp dword [0x766378]
fnstsw ax
test ah, 0x41
jne 0x670c50
mov ecx, dword [esp + 0x50]
push 0
push 0xffffffffffffffff
push 0x7531
mov edx, dword [esp + 0x60]
sub esp, 0xc
mov eax, esp
push 0x7531
push 0
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], edx
mov edx, dword [0x93c97c]
mov dword [eax + 8], ecx
mov eax, dword [edx + 0x474]
mov ecx, dword [0x93cbf0]
push eax
call fcn.00489d60
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x188
ret 0x10