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

Disassembly:
push 0xffffffffffffffff
push 0x6d5be8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7dcee0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov eax, dword [edi + 0x19228]
xor esi, esi
cmp eax, esi
je 0x66812f
lea esp, [esp]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x20], edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], edx
mov eax, dword [eax + 0x70]
cmp eax, esi
jne 0x668110
mov ecx, dword [edi + 0x19220]
fldz
mov edx, dword [edi + 0x19234]
fst dword [edi + 0x19260]
push ecx
fst dword [edi + 0x19264]
mov ecx, dword [edi + 0x19230]
fstp dword [edi + 0x19268]
lea eax, [edi + 0x44]
push eax
mov eax, dword [edi + 0x19218]
push edx
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.00683bf0
mov eax, dword [edi + 0x19228]
mov dword [esp + 0x80], esi
cmp eax, esi
je 0x668190
lea ecx, [ecx]
mov edx, 0xfffe
and word [eax + 4], dx
mov eax, dword [eax + 0x70]
cmp eax, esi
jne 0x668180
mov eax, dword [edi + 0x19214]
cmp eax, esi
je 0x6681aa
mov ecx, 0xfffffffe
nop
and dword [eax + 4], ecx
mov eax, dword [eax + 0xc]
cmp eax, esi
jne 0x6681a0
mov eax, dword [edi + 0x1922c]
cmp eax, esi
je 0x6681bf
mov byte [eax + 0x3c], 0
mov eax, dword [eax + 0xc]
cmp eax, esi
jne 0x6681b4
mov eax, dword [edi + 0x19230]
add eax, eax
add eax, eax
push eax
lea ecx, [edi + 0x44]
call fcn.0067bc10
mov ecx, dword [edi + 0x19228]
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], ecx
mov ebx, 1
cmp ecx, esi
je 0x6683b8
jmp 0x6681f5
mov ecx, dword [esp + 0x14]
movzx eax, word [ecx + 4]
test bl, al
jne 0x6683a9
test al, 2
je 0x6683a9
test al, 0x20
je 0x6683a9
cmp dword [ecx], esi
je 0x6683a9
fldz
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [ebp], ecx
or word [ecx + 4], bx
mov edi, ebx
mov ecx, dword [esp + 0x60]
sub edi, ebx
mov esi, dword [ebp + edi*4]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x4c]
mov dword [eax + edx*4], esi
add dword [esp + 0x60], ebx
movzx eax, word [esi + 4]
test al, 2
jne 0x668261
or eax, 2
fst dword [esi + 0xa0]
mov word [esi + 4], ax
cmp dword [esi], 0
je 0x668319
mov edx, dword [esi + 0x80]
test edx, edx
je 0x6682d2
mov eax, dword [edx + 4]
mov ecx, dword [eax + 4]
test bl, cl
jne 0x6682cb
test cl, 4
je 0x6682cb
test cl, 2
je 0x6682cb
mov ecx, dword [eax + 0x30]
mov cl, byte [ecx + 0x2c]
mov ebx, dword [eax + 0x34]
mov bl, byte [ebx + 0x2c]
test cl, cl
jne 0x6682c6
test bl, bl
jne 0x6682c6
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x50]
mov dword [ebx + ecx*4], eax
mov ebx, 1
add dword [esp + 0x68], ebx
or dword [eax + 4], ebx
mov eax, dword [edx]
test byte [eax + 4], bl
jne 0x6682cb
mov dword [ebp + edi*4], eax
add edi, ebx
or word [eax + 4], bx
jmp 0x6682cb
mov ebx, 1
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x668274
mov ecx, dword [esi + 0x7c]
test ecx, ecx
je 0x668319
mov edx, dword [ecx + 4]
cmp byte [edx + 0x3c], bl
je 0x668312
mov eax, dword [ecx]
test byte [eax + 4], 0x20
je 0x668312
mov esi, dword [esp + 0x64]
mov ebp, dword [esp + 0x54]
mov dword [ebp + esi*4], edx
add dword [esp + 0x64], ebx
mov edx, dword [ecx + 4]
mov ebp, dword [esp + 0x1c]
mov byte [edx + 0x3c], bl
test byte [eax + 4], bl
jne 0x668312
mov dword [ebp + edi*4], eax
add edi, ebx
or word [eax + 4], bx
mov ecx, dword [ecx + 0xc]
test ecx, ecx
jne 0x6682d9
test edi, edi
jg 0x668230
mov esi, dword [esp + 0x18]
fstp st(0)
movzx eax, byte [esi + 0x19240]
mov edx, dword [esp + 0x88]
push eax
lea ecx, [esi + 0x19238]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x54]
call fcn.00683db0
xor ecx, ecx
cmp dword [esp + 0x60], ecx
fld dword [esi + 0x19260]
fadd dword [esp + 0x30]
fstp dword [esi + 0x19260]
fld dword [esi + 0x19264]
fadd dword [esp + 0x34]
fstp dword [esi + 0x19264]
fld dword [esi + 0x19268]
fadd dword [esp + 0x38]
fstp dword [esi + 0x19268]
jle 0x6683a1
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + ecx*4]
cmp dword [eax], 0
jne 0x668399
mov edx, 0xfffe
and word [eax + 4], dx
add ecx, ebx
cmp ecx, dword [esp + 0x60]
jl 0x668384
mov ecx, dword [esp + 0x14]
mov edi, esi
xor esi, esi
mov ecx, dword [ecx + 0x70]
mov dword [esp + 0x14], ecx
cmp ecx, esi
jne 0x6681f1
push ebp
lea ecx, [edi + 0x44]
call fcn.0067bba0
lea ecx, [esp + 0x1c]
call fcn.006848e0
mov esi, dword [edi + 0x19228]
test esi, esi
je 0x6683ec
test byte [esi + 4], bl
je 0x6683e5
cmp dword [esi], 0
je 0x6683e5
mov ecx, esi
call fcn.00666c90
mov esi, dword [esi + 0x70]
test esi, esi
jne 0x6683d4
lea ecx, [edi + 0x191d8]
call fcn.0067a170
lea ecx, [esp + 0x1c]
call fcn.00684960
fstp dword [edi + 0x1926c]
lea ecx, [esp + 0x44]
mov dword [esp + 0x80], 0xffffffff
call fcn.00683c90
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 4