Function at 0x10021020
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a0202
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1020f040]
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 - 0x18], esi
mov dword [ebp - 0x64], 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.10005050
add esp, 8
test eax, eax
jne 0x10021168
push 6
push 1
push 2
call fcn.10004f90
add esp, 0xc
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x1002117d
mov word [esi + 0x260], 0
mov byte [esi + 0x261], 0
jmp 0x100214c5
mov byte [esi + 0x260], 1
mov eax, 0x10215808
cmp dword [0x1021581c], 0xf
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
cmova eax, dword [0x10215808]
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x54], 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 6
call fcn.1001f6a0
add esp, 4
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 5
jbe 0x100211e2
mov eax, dword [eax]
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x5c]
push eax
call fcn.10004dd0
mov ecx, dword [ebp - 0x20]
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 4
cmp ecx, 0xf
jbe 0x10021234
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10021227
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100214e3
push ecx
push edx
call fcn.10172764
mov eax, dword [ebp - 0x5c]
add esp, 8
test eax, eax
jne 0x10021171
mov eax, dword [ebp - 0x58]
push dword [eax + 0x10]
push dword [eax + 0x18]
push dword [esi + 4]
call fcn.10004e70
add esp, 0xc
cmp eax, 0xffffffff
je 0x10021171
push dword [ebp - 0x58]
call fcn.10004eb0
xorps xmm0, xmm0
mov word [esi + 0x261], 1
lea ecx, [ebp - 0x7c]
mov byte [esi + 0x263], 0
lea eax, [esi + 8]
mov dword [esi + 0x224], 0xa
add esp, 4
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
movups xmmword [ebp - 0x7c], xmm0
mov byte [ebp - 0x7c], 0
cmp eax, ecx
je 0x100212ba
mov ecx, eax
call fcn.10002190
movups xmm0, xmmword [ebp - 0x7c]
movups xmmword [esi + 8], xmm0
movq xmm0, qword [ebp - 0x6c]
movq qword [esi + 0x18], xmm0
lea ecx, [ebp - 0x7c]
call fcn.10002190
push dword [esi + 0x224]
lea ecx, [esi + 8]
call fcn.1000e770
lea eax, [ebp - 0x4c]
mov dword [esi + 0x228], 0
push eax
call fcn.10015220
add esp, 4
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.10022dc0
push 8
call fcn.1002436b
add esp, 4
test eax, eax
je 0x1002130e
mov dword [eax], esi
mov dword [eax + 4], 0x10022460
jmp 0x10021310
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
push ecx
push 0
push eax
push 0x10020c80
push 0
push 0
call fcn.1018098a
add esp, 0x18
mov dword [ebp - 0x60], eax
test eax, eax
je 0x100214fd
mov ecx, dword [ebp - 0x5c]
mov byte [ebp - 4], 8
test ecx, ecx
je 0x100214e8
push ecx
push eax
call fcn.10175bb7
add esp, 8
test eax, eax
jne 0x100214ef
lea eax, [esi + 8]
mov byte [ebp - 4], 6
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x100219f0
push eax
lea eax, [ebp - 0x24]
push 1
push eax
call fcn.10020ce0
add esp, 0x14
mov edx, eax
mov ecx, dword [edi + 4]
mov byte [ebp - 4], 9
cmp ecx, dword [edi + 8]
je 0x100213ab
mov eax, dword [edx]
mov dword [edx], 0
mov dword [ecx], eax
mov byte [ecx + 4], 1
add dword [edi + 4], 8
jmp 0x100213b4
push edx
push ecx
mov ecx, edi
call fcn.1000b190
mov ecx, dword [ebp - 0x24]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x100213dd
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100213dd
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100213d7
mov eax, dword [edx]
push ecx
mov ecx, edx
jmp 0x100213db
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x1c], esi
push 1
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x10022e30
call fcn.10020a40
mov edi, eax
mov byte [ebp - 0x24], 0
add esp, 8
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x20], 0
mov byte [ebp - 4], 0xa
test edi, edi
je 0x100214f6
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x18], 1
lock inc dword [edi + 4]
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10021446
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1002143e
mov eax, dword [ecx]
push edi
jmp 0x10021444
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 0x1002146f
mov dword [eax], edi
mov byte [eax + 4], 1
add dword [ecx + 4], 8
lea ecx, [ebp - 0x4c]
call fcn.10002190
jmp 0x100214c5
lea edx, [ebp - 0x1c]
push edx
push eax
call fcn.1000b190
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x100214a8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x100214a8
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x100214a2
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.10002190
jmp 0x100214c5
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x4c]
call fcn.10002190
jmp 0x100214c5
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.10172772
mov esp, ebp
pop ebp
ret
call fcn.1017a16f
push 1
call fcn.1017507c
push 1
call fcn.1017507c
push 4
call fcn.1000e1e0
push 6
mov dword [ebp - 0x5c], 0
call fcn.1017507c
int3