Function at 0x1000f7638
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x220
mov qword [rsp + 0x168], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea rdi, [0x1000396b0]
mov qword [rsp + 0x40], rdi
lea r12, [0x100039f48]
mov qword [rsp + 0x48], r12
lea rsi, [0x100039690]
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x1e7
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
xor ebx, ebx
mov word [rax - 0x158], bx
mov byte [rax - 0x156], bl
lea r13d, [rbx + 1]
mov byte [rax - 0x155], r13b
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e842c
nop
cmp qword [0x100177b20], rbx
je 0x1000f76f9
lea rcx, [rsp + 0xf0]
call fcn.1000e8518
xor eax, eax
jmp 0x1000f79bb
lea rdx, [0x10017743c]
mov ecx, 0x28
call fcn.100130fb4
cmp rax, rbx
je 0x1000f772e
mov qword [rax + 8], rbx
lea rcx, [0x10003a260]
mov qword [rax], rcx
mov qword [rax + 0x18], rbx
lea rcx, [0x100039468]
mov qword [rax + 0x10], rcx
jmp 0x1000f7731
mov rax, rbx
mov qword [0x100177b20], rax
cmp rax, rbx
jne 0x1000f77b1
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x1f3
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], r13b
movzx ecx, bx
cmp cx, 0xf
jae 0x1000f7797
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r13w
jmp 0x1000f7783
lea r9, [0x100039f90]
mov r8d, 0x8007000e
lea rcx, [rsp + 0xf0]
call fcn.1000e97ec
lea rax, [rsp + 0x240]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1000f79e0]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
cmp rax, rbx
jne 0x1000f785b
lea r14, [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x204
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], r13b
movzx ecx, bx
cmp cx, 0xf
jae 0x1000f783b
movzx eax, cx
mov qword [r14 + rax*8 + 0x28], rbx
add cx, r13w
jmp 0x1000f7827
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x100039ff0]
mov rdx, r14
lea rcx, [rsp + 0xf0]
call fcn.1000ea04c
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 [0x100177b1c]
mov dword [rsp + 0xf8], r11d
jmp 0x1000f78f3
cmp dword [rsp + 0xf8], ebx
jge 0x1000f79a5
mov rcx, qword [0x100177b20]
cmp rcx, rbx
je 0x1000f791b
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov qword [0x100177b20], rbx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x58], 0x217
mov dword [rsp + 0x5c], 4
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bx
mov byte [rsp + 0xe2], bl
mov byte [rsp + 0xe3], r13b
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r8d, dword [rsp + 0xf8]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x40]
call fcn.1000e7fa0
mov r9d, r13d
mov r8, rax
mov edx, 0x3036
lea rcx, [rsp + 0xf0]
call fcn.1000eba6c
lea rcx, [rsp + 0x40]
call fcn.1000e7e7c
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.1000e8518
mov eax, ebx
lea r11, [rsp + 0x220]
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