Function at 0x1000f6c08
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, [0x1000393f0]
mov qword [rsp + 0x40], rdi
lea r12, [0x100039c88]
mov qword [rsp + 0x48], r12
lea rsi, [0x1000393d0]
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.1000e7c38
nop
cmp qword [0x100176b20], rbx
je 0x1000f6cc9
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
xor eax, eax
jmp 0x1000f6f8b
lea rdx, [0x10017643c]
mov ecx, 0x28
call fcn.100130584
cmp rax, rbx
je 0x1000f6cfe
mov qword [rax + 8], rbx
lea rcx, [0x100039fa0]
mov qword [rax], rcx
mov qword [rax + 0x18], rbx
lea rcx, [0x1000391a8]
mov qword [rax + 0x10], rcx
jmp 0x1000f6d01
mov rax, rbx
mov qword [0x100176b20], rax
cmp rax, rbx
jne 0x1000f6d81
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 0x1000f6d67
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r13w
jmp 0x1000f6d53
lea r9, [0x100039cd0]
mov r8d, 0x8007000e
lea rcx, [rsp + 0xf0]
call fcn.1000e8ff8
lea rax, [rsp + 0x240]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1000f6fb0]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
cmp rax, rbx
jne 0x1000f6e2b
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 0x1000f6e0b
movzx eax, cx
mov qword [r14 + rax*8 + 0x28], rbx
add cx, r13w
jmp 0x1000f6df7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x100039d30]
mov rdx, r14
lea rcx, [rsp + 0xf0]
call fcn.1000e9858
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 [0x100176b1c]
mov dword [rsp + 0xf8], r11d
jmp 0x1000f6ec3
cmp dword [rsp + 0xf8], ebx
jge 0x1000f6f75
mov rcx, qword [0x100176b20]
cmp rcx, rbx
je 0x1000f6eeb
mov rax, qword [rcx]
mov edx, r13d
call qword [rax]
mov qword [0x100176b20], 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.1000e77ac
mov r9d, r13d
mov r8, rax
mov edx, 0x3036
lea rcx, [rsp + 0xf0]
call fcn.1000eb278
lea rcx, [rsp + 0x40]
call fcn.1000e7688
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
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