Function at 0x1000f6f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x100b5004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
movzx eax, word [ebx + 2]
cmp eax, 9
jne 0x1000f7ad
cmp byte [edi + 0x34], 0
jne 0x1000f74a
mov dword [ebx + 4], 5
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1000f9a1
mov dword [ebp - 0x4c], ebx
lea edx, [ebp - 0x4c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 4
cmp byte [edi + 0x35], 0
je 0x1000f780
mov dword [ebx + 4], 0xb7
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1000f9a1
mov dword [ebp - 0x4c], ebx
lea edx, [ebp - 0x4c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push edi
push 0x100101b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x38], eax
mov byte [edi + 0x35], 1
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 4
push esi
cmp eax, 0x2a
jne 0x1000f829
lea eax, [edi + 0x6c]
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x64]
mov esi, dword [eax]
cmp esi, eax
je 0x1000f821
nop dword [eax]
mov ecx, dword [esi + 0x14]
push ebx
call fcn.10010860
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1000f804
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000f800
nop dword [eax + eax]
cmp esi, dword [eax + 8]
jne 0x1000f800
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000f7f0
mov esi, eax
jmp 0x1000f81c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000f81c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1000f810
cmp esi, dword [edi + 0x64]
jne 0x1000f7d0
push dword [ebp - 0x4c]
jmp 0x1000f99a
cmp eax, 0x29
jne 0x1000f91f
lea eax, [edi + 0x6c]
push eax
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0x64]
mov esi, dword [eax]
cmp esi, eax
je 0x1000f91a
nop dword [eax]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x48], eax
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, 0x3c
mov word [ebx + 2], ax
mov eax, dword [edi + 4]
mov dword [ebx + 8], eax
mov dword [ebx + 4], 0
call fcn.1007f15d
cdq
mov ecx, 0x64
idiv ecx
movups xmm0, xmmword [ebp - 0x48]
inc edx
mov dword [ebx + 0x10], 0x44
imul eax, edx, 0x34
movups xmmword [ebx + 0x14], xmm0
mov dword [ebx + 0xc], 0
movups xmm0, xmmword [ebp - 0x38]
mov word [ebx], ax
mov eax, dword [ebp - 8]
movups xmmword [ebx + 0x24], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebx + 0x34], xmm0
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebx + 0x44], xmm0
mov dword [ebx + 0x54], eax
mov ecx, dword [edi + 0x2c]
test ecx, ecx
je 0x1000f8d5
mov dword [ebp - 0x4c], ebx
lea edx, [ebp - 0x4c]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x1000f8fb
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1000f8f7
cmp esi, dword [eax + 8]
jne 0x1000f8f7
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1000f8e7
mov esi, eax
jmp 0x1000f911
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1000f911
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1000f905
cmp esi, dword [edi + 0x64]
jne 0x1000f850
push dword [ebp - 0x50]
jmp 0x1000f99a
add eax, 0xffffffed
cmp ax, 0xf
ja 0x1000f9a0
mov esi, dword [ebx + 0x19]
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x64]
mov ecx, edx
mov eax, dword [edx + 4]
cmp byte [eax + 0xd], 0
jne 0x1000f957
cmp dword [eax + 0x10], esi
jae 0x1000f94d
mov eax, dword [eax + 8]
jmp 0x1000f951
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x1000f943
cmp byte [ecx + 0xd], 0
jne 0x1000f996
cmp esi, dword [ecx + 0x10]
jb 0x1000f996
cmp ecx, edx
je 0x1000f96b
mov esi, dword [ecx + 0x14]
jmp 0x1000f96d
xor esi, esi
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x1000f9a0
push ebx
mov ecx, esi
call fcn.10010860
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1007bc9e
mov esp, ebp
pop ebp
ret 4