Function at 0x180009430
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x3a0
mov rax, qword [0x1800a6040]
xor rax, rsp
mov qword [rsp + 0x390], rax
cmp edx, 1
jne 0x180009660
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]
xor edi, edi
test eax, eax
je 0x1800095d6
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x50]
call fcn.1800089b0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.180007ce0
mov rbx, rax
lea rax, [0x1800a7288]
cmp rax, rbx
je 0x180009539
mov rdx, qword [0x1800a72a0]
cmp rdx, 7
jbe 0x1800094fe
mov rcx, qword [0x1800a7288]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800094f9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180009572
mov rcx, r8
call fcn.180064780
movdqa xmm0, xmmword [0x18009a2d0]
movdqu xmmword [0x1800a7298], xmm0
mov word [0x1800a7288], di
movups xmm0, xmmword [rbx]
movups xmmword [0x1800a7288], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x1800a7298], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x18000957e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180009579
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180009579
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180064780
movdqa xmm0, xmmword [0x18009a2d0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], di
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1800095d6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800095d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800095d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180064780
mov edx, 0x5c
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
test rax, rax
je 0x18000961d
lea rbx, [rax + 1]
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.180008c20
mov rcx, rax
mov rdx, rbx
call fcn.180009690
lea rdx, [0x180009900]
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]
call fcn.180001ab0
test al, al
je 0x180009660
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1800092b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x18005f920]
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.180064760
mov rbx, qword [rsp + 0x3b0]
add rsp, 0x3a0
pop rdi
ret