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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x10185028]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x10], eax
cmp byte [edi + 0x67], 0
je 0x1006be51
movups xmm0, xmmword [eax + 0x46a0]
mov esi, dword [eax + 0x46b0]
push edi
movaps xmmword [esp + 0x64], xmm0
call fcn.1007e0f0
mov eax, dword [esp + 0x14]
add esp, 4
movaps xmm0, xmmword [esp + 0x60]
movups xmmword [eax + 0x46a0], xmm0
mov dword [eax + 0x46b0], esi
mov eax, dword [eax + 0x3e40]
mov dword [esp + 0x18], eax
cmp byte [eax + 0xaf], 0
jne 0x1006be9d
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push edi
call fcn.1007e0a0
mov edx, dword [ebp + 0x10]
add esp, 0xc
mov dword [esp + 0xc], eax
test edx, edx
je 0x1006bea5
cmp byte [edx], 0
jne 0x1006bea5
push 8
push 0
push eax
lea eax, [esp + 0x6c]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x70], xmm0
call fcn.1001aec0
add esp, 0x10
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x14]
test ecx, 0x100000
je 0x1006beb9
mov dword [ebp + 0x10], 0
jmp 0x1006bec6
test edx, edx
jne 0x1006bec6
or ecx, 0x100000
mov dword [ebp + 0x14], ecx
push eax
push edi
call fcn.1006ba70
mov esi, eax
mov byte [esp + 0x10], 0
add esp, 8
test esi, esi
jne 0x1006bfda
mov esi, dword [edi]
xorps xmm0, xmm0
mov ecx, dword [edi + 4]
mov dword [esp + 0x88], eax
or eax, 0xffffffff
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x80], xmm0
mov dword [esp + 0x7c], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x8c], 0xbf800000
mov dword [esp + 0x90], 0xffffffff
mov word [esp + 0x96], ax
mov word [esp + 0x94], ax
cmp esi, ecx
jne 0x1006bf8f
inc esi
test ecx, ecx
je 0x1006bf4a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1006bf4f
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1006bf8f
imul eax, esi, 0x2c
push eax
call fcn.10014660
mov edx, dword [edi + 8]
add esp, 4
mov dword [esp + 0x2c], eax
test edx, edx
je 0x1006bf89
imul ecx, dword [edi], 0x2c
push ecx
push edx
push eax
call fcn.100b11a0
push dword [edi + 8]
call fcn.10014690
mov eax, dword [esp + 0x3c]
add esp, 0x10
mov dword [edi + 8], eax
mov dword [edi + 4], esi
imul eax, dword [edi], 0x2c
movups xmm0, xmmword [esp + 0x70]
mov byte [esp + 8], 1
add eax, dword [edi + 8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x90]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], 0
inc dword [edi]
imul ecx, dword [edi], 0x2c
mov esi, dword [edi + 8]
add ecx, 0xffffffd4
add esi, ecx
mov ecx, dword [esp + 0xc]
mov dword [esi], ecx
mov byte [edi + 0x69], 1
mov ecx, esi
mov eax, 0x2e8ba2e9
sub ecx, dword [edi + 8]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [edi + 0x6c], ax
mov eax, dword [ebp + 0x14]
and eax, 1
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x20], eax
jne 0x1006c014
test eax, eax
jne 0x1006c014
xor al, al
mov dword [esp + 0x20], 0
jmp 0x1006c016
mov al, 1
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x38]
push eax
call fcn.1006c6d0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x1c], 0xbf800000
test byte [edx + 0x46a0], 1
je 0x1006c04a
movss xmm1, dword [edx + 0x46a4]
movss dword [esi + 0x1c], xmm1
jmp 0x1006c050
movss xmm1, dword [esp + 0x30]
cmp byte [esp + 8], 0
je 0x1006c067
movaps xmm0, xmm1
maxss xmm0, dword [0x100d5914]
movss dword [esi + 0x14], xmm0
movss dword [esi + 0x18], xmm1
movzx ecx, word [edi + 0x6a]
lea eax, [ecx + 1]
mov word [edi + 0x6a], ax
mov word [esi + 0x24], cx
mov eax, dword [edi + 0x24]
mov edx, dword [edx + 0x3de0]
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x3c], edx
mov dword [esp + 0x50], eax
mov eax, dword [esi + 8]
inc eax
cmp dword [esp + 0x20], 0
mov dword [esp + 0x28], eax
lea eax, [esi + 4]
je 0x1006c0be
test byte [eax], 1
mov dword [esp + 0x20], eax
jne 0x1006c0be
mov byte [esp + 9], 1
jmp 0x1006c0c7
mov byte [esp + 9], 0
mov dword [esp + 0x20], eax
mov ecx, dword [ebp + 0x14]
mov eax, ecx
mov edi, dword [esp + 0x20]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esi + 8], edx
cmp dword [ebp + 0x18], 0
mov dword [edi], ecx
mov edi, dword [ebp + 8]
mov dword [esp + 0x24], eax
jne 0x1006c128
mov ecx, dword [edi + 0x84]
mov edx, dword [ebp + 0xc]
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [esi + 0x20], ecx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1006c102
sub edx, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [edi + 0x84]
call fcn.10015710
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
test al, al
jne 0x1006c16d
cmp dword [esp + 0x28], edx
jge 0x1006c154
test byte [edi + 0xc], 2
je 0x1006c154
cmp dword [edi + 0x18], 0
jne 0x1006c154
cmp dword [esp + 0x1c], edx
jge 0x1006c14a
cmp dword [edi + 0x14], 0
jne 0x1006c154
push esi
push edi
call fcn.1006bbd0
add esp, 8
test byte [ebp + 0x14], 2
mov edx, dword [esp + 0xc]
je 0x1006c171
cmp dword [edi + 0x14], edx
je 0x1006c171
push esi
push edi
call fcn.1006bbd0
add esp, 8
mov edx, dword [esp + 0xc]
cmp dword [edi + 0x1c], edx
sete cl
mov dword [esp + 0x38], ecx
mov byte [esp + 0x54], cl
jne 0x1006c185
mov byte [edi + 0x68], 1
mov eax, dword [esp + 0x1c]
test cl, cl
jne 0x1006c1ba
cmp dword [edi + 0x14], 0
jne 0x1006c1ba
cmp eax, dword [esp + 0x3c]
jge 0x1006c1ba
cmp dword [edi], 1
jne 0x1006c1ba
test byte [edi + 0xc], 2
movzx ecx, cl
mov dword [esp + 0x2c], 1
cmove ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x54], cl
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x28], ecx
jge 0x1006c1fe
cmp eax, ecx
jge 0x1006c1cf
cmp byte [esp + 8], 0
je 0x1006c1fe
push 8
push 0
push edx
lea eax, [esp + 0x6c]
xorps xmm0, xmm0
push eax
movups xmmword [esp + 0x70], xmm0
call fcn.1001aec0
add esp, 0x10
cmp byte [esp + 0x24], 0
jne 0x1006be9d
mov al, byte [esp + 0x38]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], edx
jne 0x1006c210
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x3de0]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x18]
lea ecx, [edi + 0x28]
movss xmm2, dword [esi + 0x14]
movss xmm1, dword [esi + 0x10]
movss xmm0, dword [eax + 0xf0]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 0xf4]
mov eax, dword [esp + 0x20]
movss dword [esp + 0x2c], xmm0
mov edx, dword [eax]
and edx, 0xc0
jne 0x1006c25b
subss xmm1, dword [edi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, 4
addss xmm1, dword [ecx]
movss xmm4, dword [ecx + eax]
mov eax, dword [esp + 0x18]
movaps xmm5, xmm4
addss xmm2, xmm1
addss xmm5, dword [esp + 0x34]
movss dword [eax + 0xf0], xmm1
movss dword [eax + 0xf4], xmm4
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x4c], xmm5
test edx, edx
jne 0x1006c316
movss xmm3, dword [edi + 0x58]
comiss xmm3, xmm1
ja 0x1006c2b6
comiss xmm2, dword [edi + 0x5c]
jbe 0x1006c316
subss xmm4, dword [0x100d5914]
movss xmm0, dword [edi + 0x5c]
maxss xmm3, xmm1
push 1
lea eax, [esp + 0x34]
mov byte [esp + 0xc], 1
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x38], xmm0
push eax
movss dword [esp + 0x40], xmm5
movss dword [esp + 0x64], xmm3
movss dword [esp + 0x68], xmm4
call fcn.10012ba0
movss xmm5, dword [esp + 0x58]
add esp, 0xc
movss xmm2, dword [esp + 0x48]
movss xmm4, dword [esp + 0x44]
movss xmm1, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
jmp 0x1006c31b
mov byte [esp + 8], 0
movss xmm0, dword [eax + 0x108]
subss xmm2, xmm1
movss dword [esp + 0x58], xmm0
subss xmm5, xmm4
movss xmm0, dword [eax + 0x10c]
mov eax, dword [esp + 0x10]
movss dword [esp + 0x30], xmm0
push ecx
movss dword [esp + 0x64], xmm2
movss xmm0, dword [eax + 0x37e0]
lea eax, [esp + 0x64]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x6c], xmm5
call fcn.1001ad60
mov eax, dword [esp + 0x20]
movss xmm0, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
push 0
movss dword [eax + 0x108], xmm0
movss xmm0, dword [esp + 0x3c]
push 0
movss dword [eax + 0x10c], xmm0
lea eax, [esp + 0x50]
push ecx
push eax
call fcn.1001aec0
add esp, 0x18
test al, al
jne 0x1006c3d6
cmp byte [esp + 8], al
je 0x1006c3ac
call fcn.10012c20
mov eax, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xf4], xmm0
mov al, byte [esp + 0x38]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
movzx ecx, al
mov eax, 0x1200
inc ecx
shl ecx, 4
cmp byte [edx + 0x4944], 0
mov edx, 0x1000
cmove eax, edx
or ecx, eax
lea eax, [esp + 0xa]
push ecx
push eax
lea eax, [esp + 0x13]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x50]
push eax
call fcn.1006ec70
add esp, 0x14
mov byte [esp + 0x17], al
test al, al
je 0x1006c430
cmp byte [esp + 0x24], 0
jne 0x1006c430
push esi
push edi
call fcn.1006bbd0
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp dword [eax + 0x3e8c], ecx
je 0x1006c445
call fcn.10013250
cmp byte [esp + 0xa], 0
je 0x1006c4c8
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x3c]
jl 0x1006c4c8
push ecx
mov dword [esp], 0xbf800000
push 0
call fcn.10013ec0
add esp, 8
test al, al
je 0x1006c4c8
mov eax, dword [esp + 0x10]
cmp byte [eax + 0x4944], 0
jne 0x1006c4c8
test byte [edi + 0xc], 1
je 0x1006c4c8
movss xmm2, dword [eax + 0xb8]
xorps xmm1, xmm1
comiss xmm1, xmm2
jbe 0x1006c49e
movss xmm0, dword [esp + 0x40]
comiss xmm0, dword [eax + 0xdc0]
ja 0x1006c4b2
comiss xmm2, xmm1
jbe 0x1006c4c8
movss xmm0, dword [eax + 0xdc0]
comiss xmm0, dword [esp + 0x48]
jbe 0x1006c4c8
push dword [eax + 0xdc4]
push dword [eax + 0xdc0]
push esi
push edi
call fcn.1006bc00
add esp, 0x10
cmp byte [esp + 0xa], 0
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x264]
mov dword [esp + 0x28], eax
jne 0x1006c50f
cmp byte [esp + 0xb], 0
jne 0x1006c50f
cmp byte [esp + 0x38], 0
mov ecx, dword [esp + 0x50]
je 0x1006c4fe
movzx eax, cl
xor eax, 1
lea eax, [eax*2 + 0x23]
jmp 0x1006c514
test cl, cl
mov eax, 0x24
mov edx, 0x21
cmovne eax, edx
jmp 0x1006c514
mov eax, 0x22
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10011380
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x3c]
call fcn.1006c790
push 1
push dword [esp + 0x28]
lea eax, [esp + 0x60]
push eax
call fcn.1001e3e0
push 0x20
call fcn.10012e70
add esp, 0x28
test al, al
je 0x1006c581
push 0
push 1
call fcn.10013c70
add esp, 8
test al, al
jne 0x1006c570
push 1
call fcn.10013c90
add esp, 4
test al, al
je 0x1006c581
cmp byte [esp + 0x24], 0
jne 0x1006c581
push esi
push edi
call fcn.1006bbd0
add esp, 8
mov ecx, dword [ebp + 0x14]
mov eax, dword [edi + 0xc]
or ecx, 4
test al, 8
cmove ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], ecx
je 0x1006c5b5
push dword [esp + 0xc]
push 0
push str.CLOSE
call fcn.1001acd0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov edx, eax
jmp 0x1006c5b7
xor edx, edx
movss xmm0, dword [edi + 0x74]
mov eax, ecx
and eax, 0xfffffffe
movss dword [esp + 0x30], xmm0
cmp byte [esp + 9], 0
movss xmm0, dword [edi + 0x78]
cmovne ecx, eax
movss dword [esp + 0x34], xmm0
lea eax, [esp + 9]
push eax
lea eax, [esp + 0xf]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x4c]
push edx
push dword [esp + 0x1c]
push dword [ebp + 0xc]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push ecx
push eax
push dword [esp + 0x50]
call fcn.1006ca20
add esp, 0x2c
cmp byte [esp + 0xb], 0
je 0x1006c625
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1006c625
push esi
push edi
mov byte [eax], 0
call fcn.1006bb80
add esp, 8
cmp byte [esp + 8], 0
je 0x1006c631
call fcn.10012c20
cmp byte [esp + 9], 0
mov eax, dword [esp + 0x18]
movss xmm0, dword [esp + 0x1c]
movss dword [eax + 0xf0], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xf4], xmm0
je 0x1006c6ae
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp dword [eax + 0x3e78], ecx
jne 0x1006c6ae
cmp byte [esp + 0xa], 0
jne 0x1006c6ae
test byte [edi + 0xc], 0x20
jne 0x1006c6ae
mov eax, dword [esp + 0x20]
test byte [eax], 0x10
jne 0x1006c6ae
push 0x800
call fcn.10012e70
add esp, 4
test al, al
je 0x1006c6ae
mov esi, dword [ebp + 0xc]
push esi
push 0
push esi
call fcn.1001e650
add esp, 8
sub eax, esi
push eax
push str._.s
call fcn.10011d40
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp byte [esp + 0x24], 0
movzx ecx, byte [esp + 0x17]
movzx eax, al
pop edi
cmovne eax, ecx
pop esi
mov esp, ebp
pop ebp
ret