Function at 0x180006000
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x3a0
mov rax, qword [0x1800a2040]
xor rax, rsp
mov qword [rsp + 0x390], rax
cmp edx, 1
jne 0x180006290
mov r8d, 0x104
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov r8d, 0x104
lea rdx, [rsp + 0x180]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rbx, [0x1800a3288]
xor esi, esi
test eax, eax
je 0x1800061ad
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.180005240
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180004570
mov rdi, rax
cmp rbx, rax
je 0x180006110
mov rdx, qword [0x1800a32a0]
cmp rdx, 7
jbe 0x1800060d3
mov rcx, qword [0x1800a3288]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800060ce
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180006149
mov rcx, r8
call fcn.180061784
mov qword [0x1800a3298], rsi
mov qword [0x1800a32a0], 7
mov word [0x1800a3288], si
movups xmm0, xmmword [rdi]
movups xmmword [0x1800a3288], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x1800a3298], xmm1
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x180006155
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006150
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006150
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180061784
movdqa xmm0, xmmword [0x180096fa0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], si
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1800061ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800061a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800061a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180061784
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
mov rdi, rax
test rax, rax
je 0x180006290
inc rdi
lea rdx, str.Process_Name:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180005730
mov rcx, rax
mov rdx, rdi
call fcn.1800062c0
lea rdx, [0x180006530]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
test rdi, rdi
je 0x180006290
lea rdx, [0x18008ddf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
test eax, eax
jne 0x180006290
cmp qword [0x1800a32a0], 7
cmova rbx, qword [0x1800a3288]
mov rdx, qword [0x1800a3298]
cmp rdx, 7
jne 0x180006290
lea rcx, str.5.2.1.0
test rdx, rdx
je 0x180006256
sub rbx, rcx
movzx eax, word [rbx + rcx]
cmp ax, word [rcx]
jne 0x180006290
add rcx, 2
sub rdx, 1
jne 0x180006243
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x180005e80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x18005c570]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.1800613b0
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret