Function at 0x180001430
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x350
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180008010]
xor rax, rsp
mov qword [rbp + 0x230], rax
xor r13d, r13d
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x20]
call fcn.1800026f0
nop
mov r8d, 0x28000
lea rdx, [0x180008040]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x28]
call fcn.180002d20
test rax, rax
jne 0x1800014ca
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r13 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov r9d, 0xff
lea r8, [rbp + 0x130]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
lea rax, [rbp + 0x130]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x180001505
movabs rsi, 0x7fffffffffffffff
cmp rbx, rsi
ja 0x18000197b
movabs rax, 0x8000000000000000
mov ecx, 0x16
mov qword [rbp - 0x28], 0xf
cmp rbx, 0x10
jae 0x18000155f
mov qword [rbp - 0x30], rbx
mov r8, rbx
lea rdx, [rbp + 0x130]
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rbx - 0x40], 0
jmp 0x1800015e9
mov rdi, rbx
or rdi, 0xf
cmp rdi, rsi
jbe 0x180001591
mov rdi, rsi
add rax, 0x27
mov rcx, rax
call fcn.180003684
test rax, rax
je 0x180001902
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1800015c6
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1800015b4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18000196f
jmp 0x180001572
test rcx, rcx
je 0x1800015c3
call fcn.180003684
mov r14, rax
jmp 0x1800015c6
mov r14, r13
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rdi
mov r8, rbx
lea rdx, [rbp + 0x130]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov rbx, r13
mov qword [rbp], rbx
mov r15d, 0xf
mov qword [rbp + 8], r15
mov byte [rbp - 0x10], bl
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], 8
mov qword [rsp + 0x70], r15
mov rax, qword [str.load.exe]
mov qword [rsp + 0x58], rax
mov byte [rsp + 0x60], 0
mov word [rsp + 0x3e], 0
mov qword [rsp + 0x40], 0xe
mov qword [rsp + 0x48], r15
movsd xmm0, qword [0x1800054a8]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1800054b0]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1800054b4]
mov word [rsp + 0x3c], ax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.180002a40
nop
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1800012b0
lea rcx, [rbp - 0x10]
cmp rcx, rax
je 0x1800016cf
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r15
mov byte [rax], 0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r15, xmm0
movq rbx, xmm1
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18000170d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001708
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001708
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003650
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
lea r14, [rbp - 0x10]
cmp r15, 0x10
setae r12b
mov rdi, qword [rbp - 0x10]
cmovae r14, rdi
cmp rbx, rsi
ja 0x180001969
mov qword [rsp + 0x48], 0xf
cmp rbx, 0x10
jae 0x18000175e
mov qword [rsp + 0x40], rbx
movups xmm6, xmmword [r14]
movups xmmword [rsp + 0x30], xmm6
jmp 0x1800017fb
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x180001796
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.180003684
mov rcx, rax
test rax, rax
je 0x1800017c2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800017d8
mov rsi, rax
cmp rax, 0x16
mov eax, 0x16
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x1800017c9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180001975
jmp 0x180001778
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1800017d5
call fcn.180003684
jmp 0x1800017d8
mov rax, r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rsi
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
movups xmm6, xmmword [rsp + 0x30]
mov ecx, 0x20
call fcn.180003684
mov rbx, rax
movups xmmword [rax], xmm6
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x10], xmm0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x50], r13
lea rcx, [rsp + 0x50]
call fcn.180003410
mov qword [rbp + 0x10], rbx
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rbx
lea r8, [0x180003490]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x180001959
cmp dword [rbp - 0x18], 0
je 0x18000194d
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x18000194d
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
test r12b, r12b
je 0x1800018d0
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800018c7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800018c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.180003650
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18000190f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180001909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180001909
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180003650
nop
lea rcx, [rbp + 0x20]
call fcn.180001990
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.180003630
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x18], r13d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1800011b0
nop
call fcn.180001110
nop
call fcn.180001110
nop
call fcn.1800011b0
int3