Function at 0x140045a20
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x5f]
sub rsp, 0xa8
mov rax, qword [0x140082010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov qword [r11 + 8], rsi
lea rcx, [0x1400462b0]
mov qword [r11 + 0x10], rdi
mov qword [r11 - 0x18], r15
call fcn.14004bec4
lea rcx, [rbp - 0x29]
call fcn.140044fb0
mov rax, qword [rbp - 0x11]
lea r9, [rbp - 0x29]
mov rcx, qword [rbp - 0x29]
cmp rax, 0x10
mov r8, qword [rbp - 0x19]
setae dl
jb 0x140045a88
lea rdi, [rcx + r8]
mov rsi, rcx
mov r15, rdi
lea rbx, [rcx + r8]
jmp 0x140045aa8
lea rdi, [r8 + r9]
lea r9, [rbp - 0x29]
mov r15, rdi
test dl, dl
je 0x140045aa0
mov rsi, rcx
lea rbx, [rcx + r8]
jmp 0x140045aa8
lea rbx, [r8 + r9]
lea rsi, [rbp - 0x29]
cmp rsi, rbx
je 0x140045b23
nop dword [rax]
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140045ac5
inc rsi
cmp rsi, rbx
jne 0x140045ab0
mov rax, qword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x29]
cmp rsi, rbx
je 0x140045b23
mov qword [rsp + 0xd0], r14
lea r14, [rsi + 1]
cmp r14, rbx
je 0x140045b1b
nop word [rax + rax]
movsx ecx, byte [r14]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
test eax, eax
jne 0x140045b07
movzx eax, byte [r14]
mov byte [rsi], al
inc rsi
inc r14
cmp r14, rbx
jne 0x140045af0
mov rax, qword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
mov rcx, qword [rbp - 0x29]
mov r14, qword [rsp + 0xd0]
cmp rax, 0x10
lea r10, [rbp - 0x29]
mov rdx, rsi
mov rax, r8
setae r9b
jb 0x140045b49
sub rdx, rcx
sub r15, rsi
sub rax, rdx
cmp rax, r15
cmovb r15, rax
jmp 0x140045b65
sub rdx, r10
mov r15, rdi
sub rax, rdx
sub r15, rsi
cmp rax, r15
cmovb r15, rax
lea rax, [rbp - 0x29]
test r9b, r9b
je 0x140045b68
mov rax, rcx
sub r8, r15
lea rcx, [rax + rdx]
mov qword [rbp - 0x19], r8
sub r8, rdx
inc r8
lea rdx, [rcx + r15]
call sub.VCRUNTIME140.dll_memmove
cmp qword [rbp - 0x11], 0x10
lea rdx, [rbp - 0x29]
cmovae rdx, qword [rbp - 0x29]
call fcn.140001b80
mov ecx, 1
call fcn.14004bf08
lea rcx, [rbp + 0x2f]
xor ebx, ebx
mov qword [rsp + 0x28], rcx
lea r8, [0x140046340]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
mov r9, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov r15, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0xc8]
mov rsi, qword [rsp + 0xc0]
mov qword [rbp + 0x27], rax
test rax, rax
je 0x140045d47
lea ecx, [rbx + 1]
call fcn.14004bf08
lea rcx, [rbp + 0x1f]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x140046370]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x17], rax
test rax, rax
je 0x140045d38
lea ecx, [rbx + 1]
call fcn.14004bf08
lea rdx, [rbp + 0xf]
mov r9, rax
mov qword [rsp + 0x28], rdx
lea r8, [0x1400463a0]
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x140045d29
lea ecx, [rbx + 1]
call fcn.14004bf08
lea rcx, [rbp - 1]
mov r9, rax
mov qword [rsp + 0x28], rcx
lea r8, [0x1400464a0]
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x140045d1a
mov rcx, qword [0x140082f48]
mov edx, 0x226
mov r8d, 0x15e
call fcn.140047ef0
test al, al
sete bl
cmp dword [rbp - 1], 0
jne 0x140045d13
cmp dword [rbp + 0xf], 0
jne 0x140045d13
cmp dword [rbp + 0x1f], 0
jne 0x140045d13
cmp dword [rbp + 0x2f], 0
jne 0x140045d13
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x140045cfb
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045cf6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045cf6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004bc84
mov eax, ebx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004bc60
add rsp, 0xa8
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 6
mov dword [rbp - 1], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0xf], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x1f], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 6
mov dword [rbp + 0x2f], ebx
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3