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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
cmp dword [edx + 8], 0
jne 0x1006c9a4
mov dword [edx + 8], 0xffffffff
mov esi, edx
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
cmp edx, ecx
jbe 0x1006c920
mov eax, dword [esi + 0xc]
lea edi, [ecx + ecx*2]
cmp dword [eax + edi*4], 2
jne 0x1006c8f3
lea eax, [eax + edi*4]
mov edx, dword [esi + 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 0xd8], eax
lea ecx, [esp + 0x80]
push 0x3ca5270
push dword [esi + 0x40]
call fcn.1006ca40
add esp, 8
mov eax, edi
mov edi, dword [esp + 0x80]
mov dword [esp + 0xbc], ebx
test edi, edi
je 0x1006bf28
mov ebx, dword [esp + 0x84]
movq xmm0, qword [esp + 0x88]
jmp 0x1006c7ee
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x84]
cmp dword [eax + 0x10], 0
jne 0x1006c9e3
mov edx, dword [esp]
mov dword [eax + 0x10], 0xffffffff
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1c]
mov ecx, edx
shr ecx, 6
cmp ecx, eax
jae 0x1006c93e
mov dword [esp + 0x4c], ecx
mov ebx, 1
xor edi, edi
mov ecx, edx
mov eax, dword [esi + 0x18]
mov dword [esp + 0x50], 0
shld edi, ebx, cl
shl ebx, cl
test dl, 0x20
mov edx, dword [esp + 0x4c]
mov ecx, 0
cmovne edi, ebx
cmovne ebx, ecx
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], ebx
mov ecx, dword [eax + edx*8 + 4]
mov eax, dword [eax + edx*8]
and ecx, edi
and eax, ebx
or eax, ecx
je 0x1006ca09
mov edx, dword [esp]
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x14], esi
mov esi, dword [esi + 0x28]
mov eax, edx
mov dword [esp + 0xc0], esi
mov esi, dword [esi + 0xc]
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0
shr eax, 0x14
mov dword [esp + 0x8c], eax
mov eax, edx
lea edx, [esp + 0x80]
shl eax, 0xc
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x70]
add eax, 0x20
mov dword [esp + 0x74], eax
lea eax, [esp + 0x18]
push edx
push ecx
push eax
call esi
add esp, 0xc
lea edi, [0x3ca4979]
lea ebx, [0x3ca497a]
mov eax, 0xfffffff9
xor edx, edx
nop word cs:[eax + eax]
nop
movzx ecx, byte [edi]
mov edi, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1006c055
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006c98b
add cl, 0xa9
mov ch, cl
mov ebx, edx
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edi + 1]
test eax, eax
cmove ebx, edi
je 0x1006c076
shld dword [esp + 0x50], edx, 4
inc eax
test edi, edi
mov edx, esi
jne 0x1006c030
cmp byte [esp + 0x18], 0
je 0x1006c08a
movzx eax, byte [esp + 0x19]
xor esi, 0x7b
jmp 0x1006c767
push 0x1000
push dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
push dword [eax + 0x24]
mov eax, dword [esp + 0xcc]
call dword [eax + 0x20]
add esp, 0xc
xor ebx, ebx
lea ecx, [0x3ca4979]
lea edi, [0x3ca497a]
mov eax, 0xfffffff9
mov byte [esp + 0xc0], dl
mov dword [esp + 0x50], 0
nop dword [eax]
movzx edx, byte [ecx]
mov ecx, edi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x1006c0f5
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1006c98b
add dl, 0xa9
mov dh, dl
mov edi, ebx
movzx esi, dh
shl edi, 4
or esi, edi
lea edi, [ecx + 1]
test eax, eax
cmove edi, ecx
je 0x1006c116
shld dword [esp + 0x50], ebx, 4
inc eax
test ecx, ecx
mov ebx, esi
jne 0x1006c0d0
movzx eax, byte [esp + 0xc0]
cmp al, 0xc
jne 0x1006c761
mov eax, dword [esp + 0x14]
movdqa xmm0, xmmword [0x3c9d750]
lea edi, [esp + 0x79]
lea ecx, [esp + 0x78]
xor edx, edx
xor ebx, ebx
mov dword [esp + 0x50], 0
movd xmm1, dword [eax + 0x34]
mov eax, dword [esp]
mov dword [esp + 0x7c], 0
pshufd xmm2, xmm1, 0x45
paddq xmm1, xmmword [0x3c9d740]
mov dword [esp + 0x78], eax
mov eax, 0xfffffff9
psubq xmm0, xmm2
movsd xmm0, xmm1
movapd xmm1, xmmword [0x3c9d760]
xorpd xmm1, xmm0
xorpd xmm0, xmmword [0x3c9d770]
movupd xmmword [esp + 0xf0], xmm1
movss dword [esp + 8], xmm1
pshufd xmm1, xmm1, 0x55
movd dword [esp + 4], xmm1
movupd xmmword [esp + 0x100], xmm0
pshufd xmm1, xmm0, 0xff
pshufd xmm0, xmm0, 0xee
movups xmm2, xmmword [esp + 0xf8]
movd dword [esp + 0x10], xmm1
movd dword [esp + 0xc], xmm0
nop dword [eax]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 8]
mov dword [esp], eax
mov eax, ebx
lea ebx, [esp + 0x41]
xor esi, esi
mov dword [esp + 0x18], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6b]
movups xmmword [esp + 0x20], xmm2
mov dword [ebx + 3], edx
mov edx, dword [esp + 0x68]
mov dword [ebx], edx
mov edx, dword [esp + 0x50]
movzx ebx, byte [ecx]
mov ecx, edx
shl cl, 3
shld esi, ebx, cl
shl ebx, cl
test cl, 0x20
mov ecx, 0
cmovne esi, ebx
cmovne ebx, ecx
inc dl
or ebx, dword [esp + 0xc0]
or esi, eax
test dl, 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x40], dl
je 0x1006c250
mov dword [esp + 0x50], edx
mov edx, ebx
mov ebx, esi
jmp 0x1006c30d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x80]
xor eax, esi
xor ecx, ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x18]
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
movq xmm0, qword [esp + 0x40]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x98], xmm2
movsd xmm2, qword [esp + 0x18]
movq qword [esp + 0xa8], xmm0
movsd qword [esp + 0x90], xmm1
movq xmm1, qword [esp + 0x20]
movsd qword [esp + 0x80], xmm2
movq qword [esp + 0x88], xmm1
push 2
call fcn.10007d20
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movups xmm2, xmmword [esp + 0x20]
xor edx, edx
xor ebx, ebx
xor eax, dword [esp + 0x38]
xor ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x41]
mov eax, dword [ecx]
mov ecx, dword [ecx + 3]
mov dword [esp + 0x6b], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp]
mov ecx, edi
inc edi
test eax, eax
cmove edi, ecx
je 0x1006c334
inc eax
test ecx, ecx
jne 0x1006c1d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x74]
mov esi, 0x1ff
xor edi, edi
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0xc]
movups xmmword [esp + 0xf8], xmm2
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10c], eax
mov eax, 8
jmp 0x1006c3f3
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x74]
mov esi, dword [esp + 0xdc]
mov ebx, dword [esp]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x10]
movups xmmword [esp + 0xf8], xmm2
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xe4]
mov dword [ecx + eax + 4], esi
mov esi, dword [esp + 0xe0]
mov dword [ecx + eax], esi
mov esi, dword [esp + 0xec]
mov eax, dword [esp + 0xe8]
mov edi, eax
add eax, 8
sub esi, 1
jb 0x1006c804
mov dword [esp + 0xe8], eax
mov eax, dword [ecx + edi]
movdqu xmm0, xmmword [esp + 0x100]
movaps xmmword [esp + 0xc0], xmm2
movups xmm2, xmmword [esp + 0xf0]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe4], edi
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [ecx + edi + 4]
pshufd xmm1, xmm0, 0xee
mov ecx, edx
movaps xmmword [esp + 0x110], xmm2
movq qword [esp + 0x90], xmm0
lea edi, [esp + 0x18]
movd esi, xmm1
pshufd xmm1, xmm0, 0xff
xor ecx, esi
mov dword [esp + 0x10], esi
lea esi, [esp + 0x80]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x50]
mov byte [esp + 0x40], al
movzx eax, al
movups xmmword [esp + 0x18], xmm2
movq qword [esp + 0x28], xmm0
mov dword [esp + 0x38], edx
shl eax, 0x18
or eax, ebx
mov ebx, edx
mov edx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
movd ecx, xmm1
xor eax, ecx
mov dword [esp + 0xc], ecx
mov ecx, edi
mov dword [esp + 0x34], eax
movsd xmm2, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movsd xmm3, qword [esp + 0x30]
movsd xmm0, qword [esp + 0x18]
movsd qword [esp + 0xa0], xmm2
movsd xmm2, qword [esp + 0x20]
movsd qword [esp + 0xa8], xmm1
movsd qword [esp + 0x98], xmm3
movsd qword [esp + 0x80], xmm0
movsd qword [esp + 0x88], xmm2
push 2
call fcn.10007d20
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, esi
xor dword [esp + 0x18], ecx
xor dword [esp + 0x1c], eax
not byte [esp + 0x28]
mov ecx, edi
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x20]
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0xa8], xmm0
movsd qword [esp + 0x88], xmm2
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [esp + 0x18]
movsd qword [esp + 0x80], xmm1
push 4
call fcn.10007d20
movaps xmm2, xmmword [esp + 0xc4]
mov edx, ebx
add esp, 4
movdqu xmm0, xmmword [esp + 0x18]
movdqu xmm1, xmmword [esp + 0x28]
mov esi, 0xfffffff9
lea edi, [esp + 0x79]
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0xee
pxor xmm0, xmm1
movd eax, xmm0
pshufd xmm0, xmm0, 0x55
movd ecx, xmm0
movdqa xmm0, xmmword [esp + 0x110]
xor eax, dword [esp + 4]
xor ecx, dword [esp + 8]
movd dword [esp + 8], xmm0
pshufd xmm0, xmm0, 0x55
mov dword [esp + 0xe0], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x78]
movd dword [esp + 4], xmm0
nop word cs:[eax + eax]
mov eax, dword [esp]
mov dword [esp], edx
mov edx, dword [esp + 0x6b]
lea ebx, [esp + 0x41]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x1c], eax
movups xmmword [esp + 0x20], xmm2
mov dword [ebx + 3], edx
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
mov dword [ebx], edx
movzx edx, byte [ecx]
mov ecx, eax
xor ebx, ebx
shl cl, 3
shld ebx, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne ebx, edx
cmovne edx, ecx
inc al
or ebx, dword [esp + 0xc0]
or edx, dword [esp]
test al, 7
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], edx
mov byte [esp + 0x40], al
je 0x1006c670
mov dword [esp], ebx
jmp 0x1006c72e
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
xor eax, edx
xor ecx, ebx
lea edx, [esp + 0x80]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x18]
movsd xmm1, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x30]
movq xmm0, qword [esp + 0x40]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [esp + 0x98], xmm2
movsd xmm2, qword [esp + 0x18]
movq qword [esp + 0xa8], xmm0
movsd qword [esp + 0x90], xmm1
movq xmm1, qword [esp + 0x20]
movsd qword [esp + 0x80], xmm2
movq qword [esp + 0x88], xmm1
push 2
call fcn.10007d20
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
movups xmm2, xmmword [esp + 0x20]
xor edx, edx
mov dword [esp], 0
xor eax, dword [esp + 0x38]
xor ecx, dword [esp + 0x3c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x40]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x41]
test esi, esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 3]
mov dword [esp + 0x6b], ecx
mov ecx, edi
lea edi, [edi + 1]
mov dword [esp + 0x68], eax
cmove edi, ecx
je 0x1006c380
inc esi
test ecx, ecx
jne 0x1006c5f0
jmp 0x1006c380
xor esi, 0x7c
movzx eax, al
mov ecx, dword [eax*4 + 0x3c9f1c8]
mov ebx, dword [eax*4 + 0x3c9f1f8]
mov edx, 7
mov dword [esp + 0x50], ecx
mov ecx, 0x3c9f1c0
call fcn.100091f0
mov edx, dword [esp + 0x50]
mov ecx, ebx
mov edi, eax
test eax, eax
mov eax, 1
cmove edi, eax
call fcn.100091f0
mov ecx, dword [esp + 0x70]
mov ebx, eax
test eax, eax
mov eax, 1
movd xmm0, esi
cmove ebx, eax
inc dword [ecx + 0x10]
dec dword [ecx]
je 0x1006c7c0
mov esi, dword [esp + 0x14]
jmp 0x1006c7ee
cmp dword [ecx + 4], 0
mov esi, dword [esp + 0x14]
jne 0x1006c7ee
mov eax, dword [0x3ca7000]
push 0x10
push 0x1030
push ecx
push 0x3ca6800
movdqa xmmword [esp + 0x60], xmm0
call dword [eax + 0x10]
movdqa xmm0, xmmword [esp + 0x60]
add esp, 0x10
mov eax, dword [esp + 0xbc]
mov dword [eax], edi
mov dword [eax + 4], ebx
movq qword [eax + 8], xmm0
jmp 0x1006c915
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
mov edx, dword [ecx + 0x1c]
cmp eax, edx
mov dword [esp + 0x50], edx
jae 0x1006c94f
mov edx, dword [ecx + 0x18]
mov edi, dword [edx + eax*8]
mov esi, dword [edx + eax*8 + 4]
mov eax, esi
mov ebx, edi
and eax, dword [esp + 0xb0]
and ebx, dword [esp + 0xb4]
or ebx, eax
je 0x1006ca22
mov eax, dword [ecx + 0x20]
mov ebx, dword [esp + 0x50]
cmp ebx, eax
cmovb eax, ebx
mov ebx, dword [esp + 0xbc]
cmp dword [esp + 0x4c], eax
jae 0x1006c964
or edi, dword [esp + 0xb4]
mov eax, dword [esp + 0x4c]
or esi, dword [esp + 0xb0]
mov dword [edx + eax*8], edi
mov edi, dword [esp + 0x70]
mov dword [edx + eax*8 + 4], esi
dec dword [ecx + 0x2c]
inc dword [edi + 0x10]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
cmp eax, edx
cmovb edx, eax
cmp edx, dword [ebp + 8]
jbe 0x1006c979
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0xb8]
cmp dword [eax + ecx*4], 1
lea esi, [eax + ecx*4]
jne 0x1006c8cc
mov eax, dword [esi + 4]
dec dword [eax]
jne 0x1006c8cc
cmp dword [eax + 4], 0
jne 0x1006c8cc
mov ecx, dword [0x3ca7000]
push 0x10
push 0x1030
push eax
push 0x3ca6800
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [esp + 0xd8]
mov dword [esi], 1
mov dword [esi + 4], edi
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0xb8]
mov dword [esi + 8], eax
mov esi, dword [esp + 0x14]
inc dword [esi + 0x3c]
mov edx, dword [esi + 0x10]
cmp edx, ecx
jbe 0x1006c92f
mov eax, dword [esi + 0xc]
cmp dword [eax + edi*4], 1
jne 0x1006c9ca
lea eax, [eax + edi*4]
mov eax, dword [eax + 4]
inc dword [eax]
mov dword [ebx + 4], eax
mov dword [ebx], 0
inc dword [esi + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x3ca63d8
call fcn.10004a00
add esp, 4
ud2
push 0x3ca63e8
call fcn.10004a00
add esp, 4
ud2
mov edx, eax
push 0x3ca4984
call fcn.10004a00
add esp, 4
ud2
mov edx, dword [esp + 0x50]
mov ecx, eax
push 0x3ca4984
call fcn.10004a00
add esp, 4
ud2
mov ecx, dword [esp + 0x4c]
mov edx, eax
push 0x3ca49e0
call fcn.10004a00
add esp, 4
ud2
mov ecx, dword [ebp + 8]
push 0x3ca6280
call fcn.10004a00
add esp, 4
ud2
mov ecx, 0x3ca51ac
mov edx, 0xe
push 0x3c9ed4c
call fcn.100053c0
add esp, 4
ud2
lea eax, [esp + 0x80]
mov ecx, 0x3ca6934
mov edx, 0x10
push 0x3ca5258
push 0x3ca67c4
push eax
call fcn.10005c10
add esp, 0xc
ud2
mov ecx, 0x3ca51ac
mov edx, 0xe
push 0x3ca62c0
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x3ca6934
mov edx, 0x10
push 0x3ca6270
push 0x3ca67c4
lea eax, [esp + 0x88]
push eax
call fcn.10005c10
add esp, 0xc
ud2
mov ecx, 0x3ca49f0
mov edx, 0x2a
push 0x3ca4a3c
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x3ca49f0
mov edx, 0x2a
push 0x3ca4a1c
call fcn.100053c0
add esp, 4
ud2