Function at 0x1000faf08
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x180
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea rsi, [0x10003a720]
mov qword [rsp + 0x40], rsi
lea r13, [0x10003b220]
mov qword [rsp + 0x48], r13
lea r12, [0x10003a700]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2b3
mov r14d, 4
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x60], 0xff
xor ebx, ebx
mov word [rax - 0xb8], bx
mov byte [rax - 0xb6], bl
lea edi, [rbx + 1]
mov byte [rax - 0xb5], dil
xor edx, edx
lea r8d, [r14 + 0x74]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e7c38
nop
mov dword [rsp + 0x1a0], ebx
cmp qword [0x100176da0], rbx
je 0x1000fafd2
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
xor eax, eax
jmp 0x1000fb233
lea rdx, [0x10017643c]
mov ecx, 0x20
call fcn.100130584
cmp rax, rbx
je 0x1000fafff
mov qword [rax + 8], rbx
lea rcx, [0x10003b420]
mov qword [rax], rcx
mov qword [rax + 0x10], rbx
mov dword [rax + 0x18], ebx
jmp 0x1000fb002
mov rax, rbx
mov qword [0x100176da0], rax
cmp rax, rbx
jne 0x1000fb07e
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2c5
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], dil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000fb064
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, di
jmp 0x1000fb051
lea r9, [0x10003b270]
mov r8d, 0x8007000e
lea rcx, [rsp + 0xf0]
call fcn.1000e8ff8
lea rdx, [rax + 0x10]
lea rcx, [0x100002180]
call fcn.100106684
mov dword [rsp + 0xf8], eax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2c9
mov dword [rsp + 0x5c], r14d
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], dil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000fb0eb
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, di
jmp 0x1000fb0d8
lea r8, [0x10003b2d8]
lea rcx, [rsp + 0xf0]
call fcn.100052600
lea rax, [rsp + 0x1a0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1000fb258]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
cmp rax, rbx
jne 0x1000fb1b3
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x58], 0x2cf
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], dil
movzx ecx, bx
cmp cx, 0xf
jae 0x1000fb18c
movzx eax, cx
mov qword [r14 + rax*8 + 0x28], rbx
add cx, di
jmp 0x1000fb179
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea r9, [0x100039d30]
mov r8d, 0x8000ffff
mov rdx, r14
lea rcx, [rsp + 0xf0]
call fcn.1000e8ff8
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r11d, dword [0x100176da8]
mov dword [rsp + 0xf8], r11d
jmp 0x1000fb1fa
cmp dword [rsp + 0xf8], ebx
jge 0x1000fb21d
mov rcx, qword [0x100176da0]
cmp rcx, rbx
je 0x1000fb21d
mov rax, qword [rcx]
mov edx, edi
call qword [rax]
mov qword [0x100176da0], rbx
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
mov eax, ebx
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret