Function at 0x10009590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x774
mov eax, dword [0x1013807c]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x1012f590]
lea eax, [ebp - 0x740]
push 0xa8
push 0
push eax
mov word [ebp - 0x768], 0
mov dword [ebp - 0x764], 0x64
mov byte [ebp - 0x760], 0
mov dword [ebp - 0x75c], 0
mov byte [ebp - 0x758], 0
movups xmmword [ebp - 0x754], xmm0
mov dword [ebp - 0x744], 0x3e800000
call fcn.100a99b0
add esp, 0xc
lea eax, [ebp - 0x738]
mov ecx, 0xe
nop word [eax + eax]
mov byte [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 1
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10009610
movaps xmm0, xmmword [0x1012f590]
lea eax, [ebp - 0x678]
push 0xa8
push ecx
push eax
mov word [ebp - 0x698], cx
mov dword [ebp - 0x694], ecx
mov byte [ebp - 0x690], cl
movups xmmword [ebp - 0x68c], xmm0
mov dword [ebp - 0x67c], 0x3e800000
call fcn.100a99b0
add esp, 0xc
lea eax, [ebp - 0x670]
mov ecx, 0xe
nop word [eax + eax]
mov byte [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 1
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x10009680
movaps xmm0, xmmword [0x1012f590]
lea eax, [ebp - 0x5ac]
push 0xa8
push ecx
push eax
mov word [ebp - 0x5d0], cx
mov word [ebp - 0x5cc], cx
mov dword [ebp - 0x5c8], ecx
mov byte [ebp - 0x5c4], cl
movups xmmword [ebp - 0x5c0], xmm0
mov dword [ebp - 0x5b0], 0x3e800000
call fcn.100a99b0
add esp, 0xc
lea eax, [ebp - 0x5a4]
mov ecx, 0xe
nop dword [eax]
mov byte [eax - 8], 0
lea eax, [eax + 0xc]
mov dword [eax - 0x10], 1
mov dword [eax - 0xc], 0
sub ecx, 1
jne 0x100096f0
push 0x70
push ecx
lea eax, [ebp - 0x4fc]
mov byte [ebp - 0x504], cl
push eax
mov byte [ebp - 0x500], cl
call fcn.100a99b0
add esp, 0xc
lea eax, [ebp - 0x4fc]
mov ecx, 0xe
mov byte [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0
sub ecx, 1
jne 0x10009733
push 0x70
push ecx
lea eax, [ebp - 0x47c]
mov byte [ebp - 0x48c], cl
push eax
mov dword [ebp - 0x488], ecx
mov word [ebp - 0x484], cx
mov byte [ebp - 0x480], cl
call fcn.100a99b0
add esp, 0xc
lea eax, [ebp - 0x47c]
mov ecx, 0xe
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 8]
mov dword [eax - 4], 0x3f800000
sub ecx, 1
jne 0x10009780
movaps xmm0, xmmword [0x1012fa10]
lea eax, [ebp - 0x354]
movups xmmword [ebp - 0x3ac], xmm0
mov byte [ebp - 0x40c], cl
movaps xmm0, xmmword [0x1012f9d0]
movups xmmword [ebp - 0x39c], xmm0
mov byte [ebp - 0x404], cl
movaps xmm0, xmmword [0x1012fcd0]
mov byte [ebp - 0x3fc], cl
mov byte [ebp - 0x3f4], cl
mov byte [ebp - 0x3ec], cl
mov byte [ebp - 0x3e4], cl
mov dword [ebp - 0x3dc], ecx
mov word [ebp - 0x3d8], cx
mov byte [ebp - 0x3d6], cl
mov word [ebp - 0x3d4], cx
mov dword [ebp - 0x3cc], ecx
mov word [ebp - 0x3c8], cx
mov byte [ebp - 0x3c6], cl
mov dword [ebp - 0x3c4], ecx
mov byte [ebp - 0x3c0], cl
mov dword [ebp - 0x3bc], ecx
mov word [ebp - 0x3b8], cx
mov byte [ebp - 0x3b6], cl
mov word [ebp - 0x3b0], cx
mov byte [ebp - 0x3ae], cl
mov dword [ebp - 0x38c], ecx
mov word [ebp - 0x388], cx
mov dword [ebp - 0x384], ecx
mov dword [ebp - 0x380], ecx
mov byte [ebp - 0x37c], cl
mov byte [ebp - 0x374], cl
mov byte [ebp - 0x360], cl
mov ecx, 0x35
mov dword [ebp - 0x408], 0x3f800000
mov dword [ebp - 0x400], 0x3f800000
mov dword [ebp - 0x3f8], 0xf
mov dword [ebp - 0x3f0], 0xa
mov dword [ebp - 0x3e8], 0xa
mov dword [ebp - 0x3e0], 0xffffffff
mov dword [ebp - 0x3d0], 0x19
mov dword [ebp - 0x3b4], 0x3fc00000
mov dword [ebp - 0x378], 0xa
movups xmmword [ebp - 0x370], xmm0
nop dword [eax]
mov dword [eax + 4], 0
lea eax, [eax + 0x10]
mov dword [eax - 0x10], 0
mov dword [eax - 0x14], 0
mov dword [eax - 0x18], 0
sub ecx, 1
jne 0x100098d0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
lea esi, [ebp - 0x768]
mov dword [ebp - 8], ecx
mov edi, 0x1013a2c0
mov ecx, 0x1d9
mov ebx, 0x10139e34
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
test eax, eax
je 0x1000994d
nop dword [eax + eax]
cmp edi, 0x20
jae 0x10009939
push 0
jmp 0x1000993b
push 1
call esi
inc edi
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x10009930
cmp dword [0x10139e38], 0
je 0x1000995d
xor ecx, ecx
call fcn.1005ff97
xor eax, eax
xchg dword [ebx], eax
xor edi, edi
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
je 0x1000998f
cmp edi, 0x20
jae 0x1000997b
push 0
jmp 0x1000997d
push 1
call esi
inc edi
mov ecx, 1
xor eax, eax
lock cmpxchg dword [ebx], ecx
test eax, eax
jne 0x10009972
cmp dword [0x10139e38], 0
je 0x10009a9d
mov ecx, dword [0x1013b2f8]
xor edi, edi
test ecx, ecx
je 0x10009a9d
mov edx, dword [0x1013b2f0]
mov eax, edx
cmp dword [eax], 0
je 0x100099c6
inc edi
add eax, 0x2c
cmp edi, ecx
jb 0x100099b4
jmp 0x10009a9d
cmp edi, 0xffffffff
je 0x10009a9d
imul ebx, edi, 0x2c
test byte [ebx + edx + 0x14], 2
je 0x10009a0f
push 0
mov edx, edi
lea ecx, [ebp - 0x774]
call fcn.1005fe14
add esp, 4
xor edx, edx
mov ecx, edi
call fcn.1005fec8
lea ecx, [ebp - 0x774]
mov esi, eax
call fcn.1005fe78
test esi, esi
jne 0x10009a98
mov edx, dword [0x1013b2f0]
mov ecx, dword [ebx + edx + 8]
call fcn.100605af
mov eax, dword [0x1013b2f8]
lea edx, [eax - 1]
cmp edi, edx
jae 0x10009a54
mov ecx, dword [0x1013b2f0]
imul eax, eax, 0x2c
movups xmm0, xmmword [eax + ecx - 0x2c]
movups xmmword [ebx + ecx], xmm0
movups xmm0, xmmword [eax + ecx - 0x1c]
movups xmmword [ebx + ecx + 0x10], xmm0
movq xmm0, qword [eax + ecx - 0xc]
movq qword [ebx + ecx + 0x20], xmm0
mov eax, dword [eax + ecx - 4]
mov dword [ebx + ecx + 0x28], eax
mov eax, dword [0x1013b2f4]
shr eax, 1
mov dword [0x1013b2f8], edx
cmp eax, 0x20
jb 0x10009a98
cmp eax, edx
jb 0x10009a98
imul eax, eax, 0x2c
push eax
push dword [0x1013b2f0]
push 0
push dword [0x10139e38]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov ebx, 0x10139e34
test eax, eax
je 0x10009a9d
shr dword [0x1013b2f4], 1
mov dword [0x1013b2f0], eax
jmp 0x10009a9d
mov ebx, 0x10139e34
xor eax, eax
xchg dword [ebx], eax
push 0
push 0
push 0
push 0x10009530
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a7615
mov esp, ebp
pop ebp
ret