Function at 0x140015d20
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rsi, rcx
mov rdx, qword [rcx]
mov rax, qword [rdx]
xor r14d, r14d
cmp rax, rdx
je 0x140015da5
nop dword [rax]
nop word [rax + rax]
mov qword [rax + 0x50], r14
mov qword [rax + 0x48], r14
mov byte [rax + 0x7c], r14b
mov rdx, qword [rax + 0x10]
cmp byte [rdx + 0x19], r14b
je 0x140015d88
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], r14b
jne 0x140015d83
cmp rax, qword [rcx + 0x10]
jne 0x140015d83
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], r14b
je 0x140015d70
mov rax, rcx
jmp 0x140015da0
mov rax, rdx
mov rcx, qword [rdx]
cmp byte [rcx + 0x19], r14b
jne 0x140015da0
mov rax, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], r14b
je 0x140015d94
cmp rax, qword [rsi]
jne 0x140015d50
mov dword [rsi + 0x13c], 0x4cbebc20
mov dword [rsi + 0x12c], 0x4cbebc20
mov dword [rsi + 0x128], 0x4cbebc20
mov dword [rsi + 0x124], 0x4cbebc20
mov dword [rsi + 0x120], 0x4cbebc20
mov dword [rsi + 0x11c], 0x4cbebc20
mov dword [rsi + 0x118], 0x4cbebc20
mov dword [rsi + 0x138], 0x4cbebc20
mov dword [rsi + 0x134], 0x4cbebc20
mov dword [rsi + 0x130], 0x4cbebc20
mov qword [rsi + 0x158], r14
mov qword [rsi + 0x150], r14
mov qword [rsi + 0x148], r14
mov qword [rsi + 0x140], r14
mov qword [rsi + 0x178], r14
mov qword [rsi + 0x170], r14
mov qword [rsi + 0x168], r14
mov qword [rsi + 0x160], r14
lea rbp, [rsi + 0x1c0]
mov rcx, rbp
call fcn.14001c3a0
mov rbx, qword [rsi + 0xf8]
mov r8, qword [rbx + 8]
lea rdx, [rsi + 0xf8]
lea rcx, [rsi + 0xf8]
call fcn.14001a7b0
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
mov qword [rsi + 0x100], r14
lea rbx, [rsi + 0x30]
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 0xf8]
call fcn.14001a5f0
mov rcx, qword [rax]
add rcx, 0x40
cmp rcx, rbx
je 0x140015eba
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140015eb1
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
call fcn.1400022e0
lea rbx, [rsi + 0xa0]
mov byte [rbx + 0x68], r14b
mov ecx, 0x10
call fcn.140022b88
mov qword [rax], rbx
lea rcx, [0x14001a1b0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001a8c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140015ff7
cmp dword [rsp + 0x38], 0
jne 0x140015f26
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140015f49
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov ecx, 0x10
call fcn.140022b88
mov qword [rax], rbp
lea rcx, [0x14001c720]
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x14001a8c0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140015fe6
cmp dword [rsp + 0x38], 0
jne 0x140015fa6
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140015fc9
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, rsi
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
jmp 0x1400175a0
mov dword [rsp + 0x38], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
xor esi, esi
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], sil
lea r8d, [rsi + 1]
lea rdx, str.234567
lea rcx, [rbp - 0x39]
call fcn.140001a10
nop
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140016340
mov byte [rax + 0x42], 1
mov dword [rax], esi
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140017644
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001763f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001763f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 1
lea rdx, [0x14002a924]
lea rcx, [rbp - 0x39]
call fcn.140001a10
nop
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140016340
mov byte [rax + 0x42], 1
mov dword [rax], esi
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400176bb
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400176b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400176b6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], 0
mov r8d, 0x17
lea rdx, str.B8_0A_00_00_00_66_85_C0
lea rcx, [rbp + 0x27]
call fcn.140001a10
nop
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8d, 0x14
lea rdx, str.0F_B7_41_58_66_85_C0
lea rcx, [rbp + 7]
call fcn.140001a10
nop
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov r8d, 0x22
lea rdx, str.0F_B7_41_58_66_85_C0_74__66_FF_C8
lea rcx, [rbp - 0x19]
call fcn.140001a10
nop
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 1
lea rdx, [0x14002a928]
lea rcx, [rbp - 0x39]
call fcn.140001a10
nop
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140016340
mov rbx, rax
mov dword [rax], esi
lea rcx, [rax + 0x48]
lea rax, [rbp - 0x19]
cmp rcx, rax
je 0x14001778c
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
call fcn.140001a10
lea rcx, [rbx + 0x68]
lea rax, [rbp + 7]
cmp rcx, rax
je 0x1400177b0
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.140001a10
lea rcx, [rbx + 0x88]
lea rax, [rbp + 0x27]
cmp rcx, rax
je 0x1400177d8
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rdx, qword [rbp + 0x27]
mov r8, qword [rbp + 0x37]
call fcn.140001a10
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140017816
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017811
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017811
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140017865
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001785f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001785f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x1400178a4
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001789e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001789e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x1400178e2
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400178dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400178dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 1
lea rdx, [0x14002a92c]
lea rcx, [rbp - 0x39]
call fcn.140001a10
nop
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140016340
mov dword [rax], 5
mov dword [rax + 0x2c], 0xabe
mov dword [rax + 0x30], 0x3e8
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140017967
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017962
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 1
lea rdx, [0x14002a930]
lea rcx, [rbp - 0x39]
call fcn.140001a10
nop
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140016340
mov dword [rax], 5
mov dword [rax + 0x2c], 0x14a
mov dword [rax + 0x30], 0x3e8
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1400179ec
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400179e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400179e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp - 9], rsi
mov qword [rbp - 1], 0xf
mov byte [rbp - 0x19], 0
mov r8d, 2
lea rdx, [0x14002aa94]
lea rcx, [rbp - 0x19]
call fcn.140001a10
nop
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], 0xf
mov byte [rbp + 7], 0
mov r8d, 2
lea rdx, [0x14002aa98]
lea rcx, [rbp + 7]
call fcn.140001a10
nop
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], 0xf
mov byte [rbp + 0x27], 0
mov r8d, 0x33
lea rdx, str.53_48_83_EC__48_89_CB_0F_B6_CA_83_E9_02_74__FF_C9
lea rcx, [rbp + 0x27]
call fcn.140001a10
nop
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov r8d, 1
lea rdx, [0x14002a934]
lea rcx, [rbp - 0x39]
call fcn.140001a10
nop
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.140016340
mov rbx, rax
mov dword [rax], esi
mov dword [rax + 4], 4
lea rcx, [rax + 0x48]
lea rax, [rbp + 0x27]
cmp rcx, rax
je 0x140017ac4
lea rdx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rdx, qword [rbp + 0x27]
mov r8, qword [rbp + 0x37]
call fcn.140001a10
lea rcx, [rbx + 0x68]
lea rax, [rbp + 7]
cmp rcx, rax
je 0x140017ae8
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 0x10
cmovae rdx, qword [rbp + 7]
mov r8, qword [rbp + 0x17]
call fcn.140001a10
lea rcx, [rbx + 0x88]
lea rax, [rbp - 0x19]
cmp rcx, rax
je 0x140017b10
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rdx, qword [rbp - 0x19]
mov r8, qword [rbp - 9]
call fcn.140001a10
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140017b4e
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b49
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b49
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov qword [rbp - 0x29], rsi
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x140017b9d
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017b97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017b97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140017bdc
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017bd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017bd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140017c1a
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017c15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140017c15
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140022b54
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140022b30
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret