Function at 0x10022860
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100616b6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], edx
mov esi, ecx
mov dword [ebp - 0x20], esi
cmp byte [0x1007b4de], 0
jne 0x100228be
xor eax, eax
mov byte [0x1007b4de], 1
mov word [0x1007b4dc], ax
cmp dword [esi + 8], 2
jge 0x100228fd
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x100228da
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x800018]
call eax
mov eax, 0xfffffff3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp byte [ebx + 0xc], 0
push 0x24
jne 0x1002299c
mov esi, dword [ebx + 8]
add esi, 2
call fcn.100334a0
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0xc
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.100334a0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x18], eax
mov byte [ebp - 4], 1
xor eax, eax
push esi
mov dword [edi], 0
mov word [edi + 4], ax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov word [edi + 0x20], ax
mov dword [edi + 0xc], esi
call fcn.100337f8
add esp, 4
mov dword [edi + 0x10], eax
push esi
push 0
push eax
call fcn.10037990
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov esi, dword [ebp - 0x20]
mov byte [edi + 0x22], 0
jmp 0x10022a0e
call fcn.100334a0
mov edi, eax
add esp, 4
mov dword [ebp - 0x28], edi
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push 0xc
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
call fcn.100334a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x18], eax
xor eax, eax
mov word [edi + 4], ax
mov dword [edi + 8], eax
mov dword [edi + 0x14], eax
mov word [edi + 0x20], ax
mov eax, dword [ebx + 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [edi], 0
mov dword [edi + 0x10], eax
mov byte [edi + 0x22], 1
mov ax, word [0x1007b4dc]
mov edx, dword [edi + 0x10]
inc ax
movzx ecx, ax
mov word [0x1007b4dc], ax
mov eax, ecx
test cx, cx
jns 0x10022a34
mov eax, 1
mov word [0x1007b4dc], ax
or eax, 0x8000
movzx ecx, ax
mov eax, ecx
mov dword [ebp - 0x28], ecx
shr eax, 8
cmp byte [ebx + 0xc], 0
mov byte [edx], al
mov byte [edx + 1], cl
jne 0x10022a96
push dword [ebx + 8]
lea eax, [edx + 2]
push dword [ebp - 0x18]
push eax
call fcn.10037b50
add esp, 4
mov ecx, edi
push esi
call fcn.10029cd0
test eax, eax
jne 0x100228df
mov esi, dword [ebp - 0x28]
mov edi, esi
mov eax, dword [0x1007b7bc]
and edi, 0x7fff
cmp dword [0x1007b7c0], 0x15555555
mov dword [ebp - 0x28], eax
je 0x10022b5a
jmp 0x10022b07
push 8
call fcn.100334a0
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [esi], edi
push 8
mov dword [esi + 4], eax
call fcn.100334a0
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [eax], esi
mov dword [eax + 4], 0x10021bf0
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 3
push ecx
push 0
push eax
push 0x10021b40
push 0
push 0
call fcn.10048dc8
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10022b4c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 4
call fcn.100218e0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
jne 0x10022b64
jmp 0x10022a71
mov dword [ebp - 0x24], 0x1007b7bc
mov dword [ebp - 4], 5
push 0xc
mov dword [ebp - 0x20], 0
call fcn.100334a0
mov edx, dword [ebp - 0x28]
add esp, 4
mov word [eax + 8], di
inc dword [0x1007b7c0]
mov ecx, dword [edx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [edx + 4], eax
mov dword [ecx], eax
mov eax, esi
and eax, 0x7fff
jmp 0x100228df
push 6
mov dword [ebp - 0x18], 0
call fcn.1003408d
push str.list_too_long
call fcn.10034182
call fcn.10048e59
int3