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

Disassembly:
push 0xffffffffffffffff
push 0x6d5cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x174
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [esi + 0x19220]
push eax
lea ecx, [esi + 0x44]
push ecx
xor edi, edi
push edi
push 0x20
push 0x40
lea ecx, [esp + 0x4c]
call fcn.00683bf0
fld1
cmp byte [esi + 0x19253], 0
fldz
mov dword [esp + 0x190], edi
lea ecx, [edi - 0x22]
je 0x669f46
mov eax, dword [esi + 0x19228]
cmp eax, edi
je 0x669f22
mov edx, 0xfffe
fst dword [eax + 0x4c]
and word [eax + 4], dx
mov eax, dword [eax + 0x70]
cmp eax, edi
jne 0x669f0f
mov eax, dword [esi + 0x19214]
fstp st(0)
cmp eax, edi
je 0x669f48
and dword [eax + 4], ecx
fst dword [eax + 0x84]
mov dword [eax + 0x80], edi
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x669f2e
jmp 0x669f48
fstp st(0)
fstp st(0)
fld1
mov ebx, dword [esi + 0x19214]
fstp dword [esp + 0x28]
mov dword [esp + 0x1c], 0
test ebx, ebx
je 0x66a5d8
jmp 0x669f70
mov eax, dword [ebx + 4]
test al, 4
je 0x66a1df
cmp dword [ebx + 0x80], 8
jg 0x66a1df
test al, 0x20
je 0x669f9f
fld dword [ebx + 0x84]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
jmp 0x66a1c6
mov eax, dword [ebx + 0x30]
cmp byte [eax + 0x2c], 0
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x2c], ecx
jne 0x66a1df
cmp byte [ecx + 0x2c], 0
jne 0x66a1df
mov esi, dword [eax + 8]
movzx eax, word [esi + 4]
mov ebp, dword [ecx + 8]
mov edi, dword [esi]
mov edx, dword [ebp]
test al, 2
je 0x669fdd
mov byte [esp + 0x1b], 1
test edi, edi
jne 0x669fe2
mov byte [esp + 0x1b], 0
movzx ecx, word [ebp + 4]
test cl, 2
je 0x669ff3
test edx, edx
je 0x669ff3
mov cl, 1
jmp 0x669ff5
xor cl, cl
cmp byte [esp + 0x1b], 0
jne 0x66a004
test cl, cl
je 0x66a1df
test al, 8
jne 0x66a011
cmp edi, 2
jne 0x66a011
xor cl, cl
jmp 0x66a013
mov cl, 1
movzx eax, word [ebp + 4]
test al, 8
jne 0x66a024
cmp edx, 2
jne 0x66a024
xor al, al
jmp 0x66a026
mov al, 1
test cl, cl
jne 0x66a032
test al, al
je 0x66a1df
fld dword [esi + 0x4c]
fstp dword [esp + 0x14]
fld dword [esi + 0x4c]
fld dword [ebp + 0x4c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x66a0bc
fld dword [ebp + 0x4c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fsub dword [esi + 0x4c]
fld dword [esi + 0x4c]
fld1
fsubrp st(1)
fdivp st(1)
fstp dword [esp + 0x30]
fld dword [esi + 0x3c]
fsub dword [esi + 0x34]
fstp dword [esp + 0x24]
fld dword [esi + 0x40]
fsub dword [esi + 0x38]
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fld dword [esp + 0x30]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fadd dword [esi + 0x34]
fstp dword [esi + 0x34]
fld dword [esi + 0x38]
fadd dword [esp + 0x34]
fstp dword [esi + 0x38]
fld dword [esi + 0x48]
fsub dword [esi + 0x44]
fmulp st(1)
fadd dword [esi + 0x44]
fstp dword [esi + 0x44]
fstp dword [esi + 0x4c]
jmp 0x66a0e2
fld dword [ebp + 0x4c]
fld dword [esi + 0x4c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x66a0e2
fld dword [esi + 0x4c]
push ecx
fstp dword [esp + 0x18]
lea ecx, [ebp + 0x2c]
fld dword [esp + 0x18]
fstp dword [esp]
call fcn.00667740
fldz
mov eax, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
fst dword [esp + 0xb0]
xor ecx, ecx
fstp dword [esp + 0xcc]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x6c]
mov ecx, dword [ecx + 0xc]
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.00686400
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0xc]
push edi
push eax
lea ecx, [esp + 0xbc]
call fcn.00686400
fld1
add esi, 0x2c
mov ecx, 9
lea edi, [esp + 0xd0]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x2c]
mov ecx, 9
lea edi, [esp + 0xf4]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x118]
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00685d20
add esp, 8
cmp dword [esp + 0x78], 3
jne 0x66a1b2
fld dword [esp + 0x14]
fld st(0)
fld1
fsubrp st(1)
fmul dword [esp + 0x7c]
faddp st(1)
fstp dword [esp + 0x2c]
fld1
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x66a1ae
fstp st(1)
jmp 0x66a1b4
fstp st(0)
jmp 0x66a1b4
fld1
or dword [ebx + 4], 0x20
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fst dword [ebx + 0x84]
fld dword [esp + 0x28]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x66a1dd
fstp dword [esp + 0x28]
mov dword [esp + 0x1c], ebx
jmp 0x66a1df
fstp st(0)
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x669f70
cmp dword [esp + 0x1c], ebx
je 0x66a5d4
fld dword [esp + 0x28]
fcom qword [0x798418]
fnstsw ax
test ah, 0x41
je 0x66a5d2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x34]
mov ebp, dword [ecx + 8]
mov ebx, dword [eax + 8]
lea esi, [ebx + 0x2c]
mov ecx, 9
lea edi, [esp + 0x140]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp + 0x2c]
mov ecx, 9
lea edi, [esp + 0x164]
rep movsd dword es:[edi], dword [esi]
push ecx
mov ecx, ebx
mov dword [esp + 0x28], ebx
fstp dword [esp]
mov dword [esp + 0x34], ebp
call fcn.00667a10
push ecx
fld dword [esp + 0x2c]
mov ecx, ebp
fstp dword [esp]
call fcn.00667a10
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x19220]
mov esi, dword [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00684ac0
and dword [esi + 4], 0xffffffdf
mov eax, dword [esi + 4]
inc dword [esi + 0x80]
test al, 4
je 0x66a58f
test al, 2
je 0x66a58f
movzx eax, word [ebx + 4]
test al, 2
jne 0x66a2a7
fldz
or eax, 2
fstp dword [ebx + 0xa0]
mov word [ebx + 4], ax
movzx eax, word [ebp + 4]
test al, 2
jne 0x66a2be
fldz
or eax, 2
fstp dword [ebp + 0xa0]
mov word [ebp + 4], ax
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [ebx + 8], ecx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x40]
mov dword [eax + edx*4], ebx
mov eax, dword [esp + 0x54]
mov edx, 1
add eax, edx
mov dword [esp + 0x54], eax
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov dword [esi + eax*4], ebp
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x44]
add dword [esp + 0x54], edx
mov eax, dword [esp + 0x1c]
mov dword [edi + esi*4], eax
add dword [esp + 0x5c], edx
or word [ebx + 4], dx
or word [ebp + 4], dx
or dword [eax + 4], edx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebp
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + ecx*4 + 0x70]
cmp dword [eax], 2
mov dword [esp + 0x2c], eax
jne 0x66a4a1
mov eax, dword [eax + 0x80]
mov dword [esp + 0x14], eax
test eax, eax
je 0x66a4a1
jmp 0x66a354
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
cmp ecx, dword [esp + 0x60]
je 0x66a4a1
mov edx, dword [esp + 0x5c]
cmp edx, dword [esp + 0x64]
je 0x66a4a1
mov ebx, dword [eax + 4]
test byte [ebx + 4], 1
jne 0x66a486
mov eax, dword [esp + 0x14]
mov ebp, dword [eax]
cmp dword [ebp], 2
jne 0x66a39d
mov ecx, dword [esp + 0x2c]
test byte [ecx + 4], 8
jne 0x66a39d
test byte [ebp + 4], 8
je 0x66a486
mov edx, dword [ebx + 0x30]
mov al, byte [edx + 0x2c]
mov ecx, dword [ebx + 0x34]
mov cl, byte [ecx + 0x2c]
test al, al
jne 0x66a486
test cl, cl
jne 0x66a486
test byte [ebp + 4], 1
lea esi, [ebp + 0x2c]
mov ecx, 9
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
jne 0x66a3df
fld dword [esp + 0x28]
push ecx
mov ecx, ebp
fstp dword [esp]
call fcn.00667a10
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x19220]
push eax
mov ecx, ebx
call fcn.00684ac0
mov eax, dword [ebx + 4]
test al, 4
jne 0x66a412
mov ecx, 9
lea esi, [esp + 0x11c]
lea edi, [ebp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.00667980
jmp 0x66a486
test al, 2
jne 0x66a430
mov ecx, 9
lea esi, [esp + 0x11c]
lea edi, [ebp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.00667980
jmp 0x66a486
mov ecx, 1
or eax, ecx
mov dword [ebx + 4], eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x44]
mov dword [eax + edx*4], ebx
add dword [esp + 0x5c], ecx
movzx eax, word [ebp + 4]
test cl, al
jne 0x66a486
or eax, ecx
cmp dword [ebp], 0
mov word [ebp + 4], ax
je 0x66a470
test al, 2
jne 0x66a470
fldz
or eax, 2
fstp dword [ebp + 0xa0]
mov word [ebp + 4], ax
mov edx, dword [esp + 0x54]
mov dword [ebp + 8], edx
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
mov dword [edx + eax*4], ebp
add dword [esp + 0x54], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x66a350
mov ecx, dword [esp + 0x1c]
inc ecx
cmp ecx, 2
mov dword [esp + 0x1c], ecx
jl 0x66a325
fld dword [esp + 0x28]
mov eax, dword [esp + 0x198]
fld1
mov ecx, dword [eax + 0xc]
fld st(0)
mov dword [esp + 0x8c], ecx
fsubrp st(2)
mov dword [esp + 0x90], 0x14
fld dword [eax]
mov byte [esp + 0x94], 0
lea ecx, [esp + 0x80]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x80]
fdiv dword [esp + 0x80]
fstp dword [esp + 0x84]
fld1
fstp dword [esp + 0x88]
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 8]
push edx
push eax
push ecx
lea ecx, [esp + 0x44]
call fcn.00684530
xor edi, edi
cmp dword [esp + 0x54], edi
jle 0x66a56a
lea ebx, [edi - 0x22]
lea esp, [esp]
mov edx, dword [esp + 0x40]
mov esi, dword [edx + edi*4]
mov eax, 0xfffe
and word [esi + 4], ax
cmp dword [esi], 2
jne 0x66a563
mov ecx, esi
call fcn.00666c90
mov eax, dword [esi + 0x80]
test eax, eax
je 0x66a563
mov ecx, dword [eax + 4]
and dword [ecx + 4], ebx
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x66a556
inc edi
cmp edi, dword [esp + 0x54]
jl 0x66a530
mov esi, dword [esp + 0x20]
lea ecx, [esi + 0x191d8]
call fcn.0067a170
cmp byte [esi + 0x19252], 0
je 0x669f4a
mov byte [esi + 0x19253], 0
jmp 0x66a5df
mov ecx, dword [esp + 0x1c]
and eax, 0xfffffffb
mov dword [ecx + 4], eax
mov ecx, 9
lea esi, [esp + 0x140]
lea edi, [ebx + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x164]
lea edi, [ebp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.00667980
mov ecx, ebp
call fcn.00667980
mov esi, dword [esp + 0x20]
jmp 0x669f4a
fstp st(0)
mov esi, dword [esp + 0x20]
mov byte [esi + 0x19253], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x190], 0xffffffff
call fcn.00683c90
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180
ret 4