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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1b0
mov edi, ecx
mov esi, edx
lea ecx, [esp + 0x60]
push 0x17
push 0x9305a3
call fcn.006ecf60
add esp, 8
movdqa xmm0, xmmword [esp + 0x70]
pcmpeqb xmm0, xmmword [0x7d47f0]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x6ec6b6
movdqa xmm0, xmmword [0x7d47f0]
mov word [edi + 0x10], 0
movdqa xmmword [edi], xmm0
jmp 0x6ecb39
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0xa8]
mov dword [esp + 0x28], edi
movdqa xmm0, xmmword [esp + 0xb0]
mov edi, dword [esp + 0x80]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], ecx
or eax, ecx
mov ecx, esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x24], edx
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x40], ebx
movdqa xmmword [esp + 0xc0], xmm0
mov dword [esp + 0x2c], edi
or ecx, edx
mov edx, dword [esp + 0x88]
or ecx, eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
mov ebx, ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x44], eax
je 0x6ec7d3
mov ecx, edx
mov edx, dword [esp + 0x20]
mov eax, edi
mov dword [esp + 0x1c], esi
mov esi, ebx
xor eax, 0xecc4ccf4
xor ecx, 0x133c26c5
xor esi, 0x3b83f71e
or ecx, eax
mov eax, edx
mov dword [esp + 0x14], edx
xor eax, 0x9d7c2dd3
or esi, eax
mov eax, edi
mov edi, dword [esp + 0x10]
or esi, ecx
mov esi, dword [esp + 0x1c]
mov ecx, ebx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x28]
je 0x6ec845
jmp 0x6ec9f3
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x20]
je 0x6ec845
mov eax, dword [esp + 0xc]
movdqa xmm0, xmmword [0x7d5790]
mov dword [esp + 0x1c], esi
lea eax, [eax + eax*2]
lea eax, [esi + eax*4]
mov dword [esp + 0x14], eax
mov eax, esi
mov edi, eax
mov eax, dword [eax + 4]
mov esi, dword [edi + 8]
add edi, 0xc
mov dword [esp + 0x18], edi
shl esi, 5
nop dword [eax]
test esi, esi
je 0x6ec837
mov edi, eax
add eax, 0x20
add esi, 0xffffffe0
movdqa xmm1, xmmword [edi]
pcmpeqb xmm1, xmm0
pmovmskb ecx, xmm1
cmp ecx, 0xffff
mov ecx, ebx
je 0x6ec810
jmp 0x6ec9d8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
cmp eax, dword [esp + 0x14]
jne 0x6ec7fa
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
movdqa xmm0, xmmword [esp + 0xc0]
mov dword [esp + 0xe4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe0], eax
mov edi, dword [esp + 0x2c]
movdqa xmmword [esp + 0x190], xmm0
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf4], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0xfc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xf0], edi
lea edi, [esp + 0x60]
mov dword [esp + 0xf8], edx
mov dword [esp + 0x100], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], ecx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x118], ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], edx
mov dword [esp + 0x11c], ecx
lea edx, [esp + 0xe0]
mov ecx, edi
movdqa xmmword [esp + 0x120], xmm0
call fcn.004629d0
lea ecx, [esp + 0xc0]
mov edx, edi
call fcn.006ed2a0
mov edi, dword [esp + 0xd0]
test edi, edi
je 0x6ecb08
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xd4]
mov ebx, dword [esp + 0xc4]
lea ecx, [esp + 0x180]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
dec eax
and eax, 0xfffffff8
lea eax, [eax + edi + 8]
push eax
push ecx
call dword [esi + 0xc]
add esp, 8
movdqu xmm0, xmmword [esp + 0x180]
pcmpeqb xmm0, xmmword [0x7d5790]
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x6ecb41
xor ecx, ecx
mov eax, 1
lock cmpxchg dword [edi], ecx
jne 0x6ecb0c
movzx ebx, word [edi + 8]
cmp edi, 0xffffffff
je 0x6ecb1c
lock dec dword [edi + 4]
jne 0x6ecb1c
push edi
push 0
push dword [0x94bf18]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x6ecb1c
mov eax, dword [edi + 8]
mov esi, dword [edi + 4]
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [edi]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
movaps xmm0, xmmword [esp + 0xc0]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], edx
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x130]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x60]
movaps xmmword [esp + 0xa0], xmm0
push eax
push dword [esp + 0x58]
push dword [esp + 0x60]
call fcn.006ed0d0
add esp, 0xc
movdqa xmm0, xmmword [esp + 0x130]
pcmpeqb xmm0, xmmword [0x7d47f0]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x6ecadb
lea ecx, [esp + 0x130]
call fcn.00449930
pxor xmm0, xmm0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
movdqa xmmword [edi], xmm0
movaps xmm0, xmmword [0x7d5790]
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], edx
mov dword [edi + 0x18], ecx
movaps xmmword [edi + 0x20], xmm0
jmp 0x6ecb39
xor ebx, ebx
jmp 0x6ecb1c
movzx ebx, word [edi + 8]
lock dec dword [edi]
jne 0x6ecb1c
mov ecx, edi
call fcn.006ed620
mov eax, dword [esp + 0x28]
movdqa xmm0, xmmword [0x7d47f0]
lea ecx, [esp + 0x60]
mov word [eax + 0x10], bx
movdqa xmmword [eax], xmm0
call fcn.006ed480
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x24]
mov ecx, 0x8a8620
mov edx, 0x63
mov dword [esp + 0x130], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], edi
mov dword [esp + 0x144], esi
lea eax, [esp + 0x130]
push 0x8abd9c
push 0x8abe8c
push eax
call fcn.007c1f60
int3