Function at 0x1000f3c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d3ad
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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
mov dword [ebp - 0x44], ecx
cmp eax, 1
jb 0x1000f5df
add eax, ecx
mov dword [ebp - 0x48], eax
sub eax, ecx
push eax
push 0x3b
push ecx
call fcn.1002a610
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000f5df
nop word [eax + eax]
movzx ecx, byte [esi]
cmp cl, 0x3b
jne 0x1000f43c
xor eax, eax
jmp 0x1000f441
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000f462
mov eax, dword [ebp - 0x48]
inc esi
sub eax, esi
push eax
push 0x3b
push esi
call fcn.1002a610
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1000f430
jmp 0x1000f5df
sub esi, dword [ebp - 0x44]
cmp esi, 0xffffffff
je 0x1000f5df
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 dword [ebp + 0x1c], 0xf
push ecx
cmova eax, edi
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.100015b0
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 0x1000f629
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.100015b0
push 0x30
mov byte [ebp - 4], 2
call fcn.10028563
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 0x1000f53f
cmp dword [ebp - 0x2c], 0xf
mov ecx, esi
push dword [ebp - 0x30]
cmova eax, dword [ebp - 0x40]
push eax
call fcn.1000f640
lea eax, [ebp - 0x28]
cmp edi, eax
je 0x1000f559
cmp dword [ebp - 0x14], 0xf
mov ecx, edi
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.1000f640
push 0
push 0
push esi
push 0x1000f290
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000f578
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1000f5ac
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f5a2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f62e
push ecx
push edx
call fcn.10028555
add esp, 8
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x1000f5dc
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000f5d2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f62e
push ecx
push edx
call fcn.10028555
add esp, 8
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
cmp eax, 0xf
jbe 0x1000f60e
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000f604
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000f62e
push ecx
push edi
call fcn.10028555
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.10028524
mov esp, ebp
pop ebp
ret
call fcn.10001140
call fcn.1002d65f
int3