Function at 0x1000f6ff8
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, [0x100039540]
mov qword [rsp + 0x40], rdi
lea r12, [0x100039dd8]
mov qword [rsp + 0x48], r12
lea rsi, [0x100039520]
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.1000e8000
nop
cmp qword [0x100177b20], rbx
je 0x1000f70b9
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
xor eax, eax
jmp 0x1000f737b
lea rdx, [0x10017743c]
mov ecx, 0x28
call fcn.1001309f4
cmp rax, rbx
je 0x1000f70ee
mov qword [rax + 8], rbx
lea rcx, [0x10003a0f0]
mov qword [rax], rcx
mov qword [rax + 0x18], rbx
lea rcx, [0x10000d460]
mov qword [rax + 0x10], rcx
jmp 0x1000f70f1
mov rax, rbx
mov qword [0x100177b20], rax
cmp rax, rbx
jne 0x1000f7171
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 0x1000f7157
movzx eax, cx
mov qword [rdx + rax*8 + 0x28], rbx
add cx, r13w
jmp 0x1000f7143
lea r9, [0x100039e20]
mov r8d, 0x8007000e
lea rcx, [rsp + 0xf0]
call fcn.1000e93c0
lea rax, [rsp + 0x240]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, [0x1000f73a0]
mov edx, 0x40000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
cmp rax, rbx
jne 0x1000f721b
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 0x1000f71fb
movzx eax, cx
mov qword [r14 + rax*8 + 0x28], rbx
add cx, r13w
jmp 0x1000f71e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, [0x100039e80]
mov rdx, r14
lea rcx, [rsp + 0xf0]
call fcn.1000e9c20
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 0x1000f72b3
cmp dword [rsp + 0xf8], ebx
jge 0x1000f7365
mov rcx, qword [0x100177b20]
cmp rcx, rbx
je 0x1000f72db
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.1000e7b74
mov r9d, r13d
mov r8, rax
mov edx, 0x3036
lea rcx, [rsp + 0xf0]
call fcn.1000eb640
lea rcx, [rsp + 0x40]
call fcn.1000e7a50
mov ebx, dword [rsp + 0xf8]
lea rcx, [rsp + 0xf0]
call fcn.1000e80ec
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