Function at 0x10010130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d63d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1005f080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
cmova ecx, edi
seta byte [ebp - 0x41]
mov dword [ebp - 0x48], ecx
cmp eax, 1
jb 0x1001034f
add eax, ecx
mov dword [ebp - 0x4c], eax
sub eax, ecx
push eax
push 0x3b
push ecx
call fcn.1002b220
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1001034f
nop
movzx ecx, byte [esi]
cmp cl, 0x3b
jne 0x100101ac
xor eax, eax
jmp 0x100101b1
sbb eax, eax
or eax, 1
test eax, eax
je 0x100101d2
mov eax, dword [ebp - 0x4c]
inc esi
sub eax, esi
push eax
push 0x3b
push esi
call fcn.1002b220
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100101a0
jmp 0x1001034f
sub esi, dword [ebp - 0x48]
cmp esi, 0xffffffff
je 0x1001034f
cmp dword [ebp + 0x18], esi
lea eax, [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x30], 0
cmovb ecx, dword [ebp + 0x18]
xorps xmm0, xmm0
cmp byte [ebp - 0x41], 0
push ecx
cmovne eax, edi
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.10001d70
mov byte [ebp - 4], 1
inc esi
mov eax, dword [ebp + 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp eax, esi
jb 0x10010399
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp + 0x1c], 0xf
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
push ecx
add eax, esi
lea ecx, [ebp - 0x28]
push eax
call fcn.10001d70
push 0x30
mov byte [ebp - 4], 2
call fcn.100292cd
mov esi, eax
xorps xmm0, xmm0
lea edi, [esi + 0x18]
add esp, 4
lea eax, [ebp - 0x40]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
cmp esi, eax
je 0x100102af
cmp dword [ebp - 0x2c], 0xf
mov ecx, esi
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.100103b0
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x100102c9
cmp dword [ebp - 0x14], 0xf
mov ecx, edi
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.100103b0
push 0
push 0
push esi
push 0x10010000
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100102e8
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1001031c
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010312
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001039e
push ecx
push edx
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1001034c
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10010342
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001039e
push ecx
push edx
call fcn.100292bf
add esp, 8
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 0xf
jbe 0x1001037e
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x10010374
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001039e
push ecx
push edi
call fcn.100292bf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002928e
mov esp, ebp
pop ebp
ret
call fcn.10001240
call fcn.1002e25f
int3