Function at 0x10021a60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10047c92
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1005a280]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x5c], esi
xorps xmm0, xmm0
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
movups xmmword [esi + 0x2c], xmm0
lea edi, [esi + 0x230]
mov dword [ebp - 4], 0
movq qword [esi + 0x3c], xmm0
mov dword [esi + 0x44], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x20], 2
mov dword [esi + 0x4c], 0
movups xmmword [esi + 0x5c], xmm0
movq qword [esi + 0x6c], xmm0
mov dword [esi + 0x74], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x78], 0xffffffff
mov dword [esi + 0x50], 2
mov dword [esi + 0x7c], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [esi + 0x23c], 0
mov dword [esi + 0x240], 0
mov dword [esi + 0x244], 0
movups xmmword [esi + 0x248], xmm0
mov dword [esi + 0x258], 0
mov dword [esi + 0x25c], 0xf
mov byte [esi + 0x248], 0
lea eax, [esi + 0x90]
mov byte [ebp - 4], 4
push eax
push 0x202
call fcn.10002720
add esp, 8
test eax, eax
jne 0x10021ba8
push 6
push 1
push 2
call fcn.10002660
add esp, 0xc
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x10021bbd
mov word [esi + 0x260], 0
mov byte [esi + 0x261], 0
jmp 0x10021f18
xorps xmm0, xmm0
mov byte [esi + 0x260], 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x48], 0
push eax
mov dword [ebp - 0x7c], 0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 6
call fcn.10020260
add esp, 4
cmp dword [0x1005a044], 0xf
mov ecx, 0x1005a030
mov byte [ebp - 4], 5
cmova ecx, dword [0x1005a030]
cmp dword [eax + 0x14], 0xf
jbe 0x10021c1f
mov eax, dword [eax]
lea edx, [ebp - 0x48]
push edx
lea edx, [ebp - 0x7c]
push edx
push ecx
push eax
call fcn.10002450
mov ecx, dword [ebp - 0x18]
add esp, 0x10
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10021c6f
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021c62
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021f36
push ecx
push edx
call fcn.100278c5
mov eax, dword [ebp - 0x54]
add esp, 8
test eax, eax
jne 0x10021bb1
mov eax, dword [ebp - 0x48]
push dword [eax + 0x10]
push dword [eax + 0x18]
push dword [esi + 4]
call fcn.100024f0
add esp, 0xc
cmp eax, 0xffffffff
je 0x10021bb1
push dword [ebp - 0x48]
call fcn.10002530
xorps xmm0, xmm0
mov word [esi + 0x261], 1
lea ecx, [ebp - 0x44]
mov byte [esi + 0x263], 0
lea eax, [esi + 8]
mov dword [esi + 0x224], 0xa
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
movups xmmword [ebp - 0x44], xmm0
mov byte [ebp - 0x44], 0
cmp eax, ecx
je 0x10021d34
mov ecx, dword [eax + 0x14]
cmp ecx, 0xf
jbe 0x10021d12
mov eax, dword [eax]
inc ecx
cmp ecx, 0x1000
jb 0x10021d05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10021f36
mov eax, edx
push ecx
push eax
call fcn.100278c5
add esp, 8
lea eax, [esi + 8]
movups xmm0, xmmword [ebp - 0x44]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x34]
movq qword [eax + 0x10], xmm0
push dword [esi + 0x224]
mov ecx, eax
call fcn.1000f250
lea eax, [ebp - 0x2c]
mov dword [esi + 0x228], 0
push eax
call fcn.10016570
add esp, 4
push eax
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.100237c0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.10001670
push 8
call fcn.10027895
add esp, 4
test eax, eax
je 0x10021d88
mov dword [eax], esi
mov dword [eax + 4], 0x10022e80
jmp 0x10021d8a
xor eax, eax
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 7
push ecx
push 0
push eax
push 0x100216c0
push 0
push 0
call fcn.10030c7d
add esp, 0x18
mov dword [ebp - 0x58], eax
test eax, eax
je 0x10021f50
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x10021f3b
push ecx
push eax
call fcn.1002712d
add esp, 8
test eax, eax
jne 0x10021f42
lea eax, [esi + 8]
mov byte [ebp - 4], 4
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x10022490
push eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.10021720
add esp, 0x14
mov edx, eax
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 9
cmp ecx, dword [edi + 8]
je 0x10021e25
mov eax, dword [edx]
mov dword [edx], 0
mov dword [ecx], eax
mov byte [ecx + 4], 1
add dword [edi + 4], 8
jmp 0x10021e2e
push edx
push ecx
mov ecx, edi
call fcn.1000abc0
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10021e57
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10021e57
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10021e51
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x10021e55
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], esi
push eax
push 1
mov dword [ebp - 0x4c], 0x10023830
call fcn.10021490
mov edi, eax
mov byte [ebp - 0x1c], 0
add esp, 8
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x18], 0
mov byte [ebp - 4], 0xa
test edi, edi
je 0x10021f49
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x4c], 1
lock inc dword [edi + 4]
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10021eb1
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10021ea9
mov eax, dword [ecx]
push edi
jmp 0x10021eaf
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [esi + 0x234]
lea ecx, [esi + 0x230]
mov byte [ebp - 4], 0xb
cmp eax, dword [ecx + 8]
je 0x10021ed2
mov dword [eax], edi
mov byte [eax + 4], 1
add dword [ecx + 4], 8
jmp 0x10021f18
lea edx, [ebp - 0x50]
push edx
push eax
call fcn.1000abc0
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x10021f18
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10021f18
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x10021efd
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
jmp 0x10021f18
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x10021f18
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100278e1
mov esp, ebp
pop ebp
ret
call fcn.1002caaf
push 1
call fcn.10026c75
push 1
call fcn.10026c75
push 4
call fcn.1000eb30
push 6
mov dword [ebp - 0x54], 0
call fcn.10026c75
int3