Function at 0x18000b1c0
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements
Reference wmi statements

Disassembly:
push rbp
push rdi
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1800671c0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rdx
mov byte [rbp + 0x88], 0
mov r15, rcx
xor edx, edx
lea rcx, [rbp + 0x90]
call fcn.180015610
xor eax, eax
mov byte [rsp + 0x58], 0
xor edx, edx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1800145f0
movzx eax, byte [rbp + 0x88]
mov byte [rsp + 0x78], 0
test al, al
jne 0x18000b24e
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.180015610
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000d505
xorps xmm0, xmm0
mov qword [rsp + 0x2f0], rbx
mov qword [rsp + 0x2b8], r12
lea rdx, str.result
xor r12d, r12d
lea rcx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], r12
lea r8d, [r12 + 6]
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0x98]
lea rdx, [rsp + 0x68]
call fcn.18002e850
mov rdx, qword [rbp + 0xb0]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000b2f8
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b2f3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000b2f3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
mov rcx, qword [rsp + 0x78]
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 4
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x48], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x2f8], rsi
mov qword [rsp + 0x2b0], r14
mov byte [rsp + 0x58], dl
mov qword [rsp + 0x60], rax
call fcn.1800145f0
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_clock]
sub eax, dword [0x18006b518]
cmp qword [0x18006b530], r12
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x180059308]
je 0x18000d0f2
xorps xmm0, xmm0
comisd xmm0, xmm1
ja 0x18000d0f2
comisd xmm1, xmmword [0x180059320]
ja 0x18000d0f2
xor edx, edx
mov qword [rbp + 0x58], r12
lea rax, [rbp + 0x58]
lea r9, [0x180056158]
mov qword [rsp + 0x20], rax
lea rcx, [0x180056168]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x18000b7db
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_create_IWbemLocator_object.
call fcn.180016590
mov rcx, rax
lea rdx, str._Err_code__0x
call fcn.180016590
mov rcx, rax
lea rdx, [0x180001e10]
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x180016750]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov byte [rsp + 0x58], r12b
xor edx, edx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1800145f0
mov ecx, 0x20
call fcn.18004f0f4
xorps xmm0, xmm0
lea rdx, str.ERR0_INIT
mov r8d, 9
mov rcx, rax
mov rdi, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
call fcn.180017290
movzx eax, byte [rbp + 0x88]
test al, al
jne 0x18000b48a
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.180015610
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000b7d4
xorps xmm0, xmm0
mov qword [rbp + 0xa8], r12
mov r8d, 3
mov qword [rbp + 0xb0], r12
lea rdx, [0x180056eb4]
lea rcx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0x98]
lea rdx, [rsp + 0x68]
call fcn.18002e850
mov rdx, qword [rbp + 0xb0]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000b522
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b51d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000b51d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
mov qword [rbp + 0xa8], r12
lea rcx, [rsp + 0x60]
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 3
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x58], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x88]
call fcn.180011ed0
cmp qword [rbp + 0x110], 0xf
lea rdx, [rbp + 0xf8]
xorps xmm0, xmm0
mov qword [rbp + 0xe8], r12
cmova rdx, qword [rbp + 0xf8]
mov r14, 0xffffffffffffffff
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xf0], r12
mov r8, r14
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x18000b5b0
lea rcx, [rbp + 0xd8]
call fcn.180017290
mov rcx, qword [rbp + 0xe8]
xorps xmm0, xmm0
inc rcx
mov qword [rbp + 0xc8], r12
movups xmmword [rbp + 0xb8], xmm0
mov eax, 2
mov qword [rbp + 0xd0], 7
mul rcx
mov word [rbp + 0xb8], r12w
cmovo rax, r14
mov rcx, rax
call fcn.18004f4bc
mov rcx, qword [rbp + 0xe8]
lea r8, [rbp + 0xd8]
mov r9d, r14d
mov rsi, rax
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0xf
mov dword [rsp + 0x28], ecx
cmova r8, qword [rbp + 0xd8]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax]
inc r14
cmp word [rsi + r14*2], r12w
jne 0x18000b650
mov rax, qword [rbp + 0xd0]
cmp r14, rax
ja 0x18000b699
cmp rax, 7
mov qword [rbp + 0xc8], r14
lea rdi, [rbp + 0xb8]
mov rdx, rsi
cmova rdi, qword [rbp + 0xb8]
lea rbx, [r14 + r14]
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x18000b6ab
mov r9, rsi
lea rcx, [rbp + 0xb8]
mov rdx, r14
call fcn.180018290
mov rcx, rsi
call fcn.18004f0c0
cmp qword [rbp + 0xd0], 7
lea rcx, [rbp + 0xb8]
cmova rcx, qword [rbp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdx, qword [rbp + 0xd0]
mov rbx, rax
cmp rdx, 7
jbe 0x18000b719
mov rcx, qword [rbp + 0xb8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b714
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b7cd
call fcn.18004f0c0
mov rdx, qword [rbp + 0xf0]
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r12w
cmp rdx, 0xf
jbe 0x18000b770
mov rcx, qword [rbp + 0xd8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b76b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000b7cd
call fcn.18004f0c0
mov rdx, qword [rbp + 0x110]
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], r12b
cmp rdx, 0xf
jbe 0x18000d4ad
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d4a8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d4a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 0x18
mov qword [rbp + 0x50], r12
call fcn.18004f0f4
mov rbx, rax
test rax, rax
je 0x18000d50c
mov qword [rax], r12
lea rcx, str.ROOTCIMV2
mov qword [rax + 0x10], 1
mov qword [rax + 8], r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x18000d50c
mov rcx, qword [rbp + 0x58]
lea r8, [rbp + 0x50]
mov qword [rsp + 0x40], r8
xor r9d, r9d
mov qword [rsp + 0x38], r12
xor r8d, r8d
mov qword [rsp + 0x30], r12
mov rax, qword [rcx]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [rax + 0x18]
mov r14, 0xffffffffffffffff
mov esi, eax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x18000b893
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000b874
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000b886
call fcn.18004f0c0
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.18004f0c0
test esi, esi
jns 0x18000bcab
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Could_not_connect._Error_code__0x
call fcn.180016590
mov rcx, rax
lea rdx, [0x180001e10]
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, esi
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x180016750]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov byte [rsp + 0x58], r12b
xor edx, edx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1800145f0
mov ecx, 0x20
call fcn.18004f0f4
xorps xmm0, xmm0
lea rdx, str.ERR0_SRV
mov r8d, 8
mov rcx, rax
mov rdi, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
call fcn.180017290
movzx eax, byte [rbp + 0x88]
test al, al
jne 0x18000b962
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.180015610
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000bca4
xorps xmm0, xmm0
mov qword [rbp + 0xa8], r12
mov r8d, 3
mov qword [rbp + 0xb0], r12
lea rdx, [0x180056eb4]
lea rcx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0x98]
lea rdx, [rsp + 0x68]
call fcn.18002e850
mov rdx, qword [rbp + 0xb0]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000b9fa
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000b9f5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000b9f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
mov qword [rbp + 0xa8], r12
lea rcx, [rsp + 0x60]
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 3
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x58], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x88]
call fcn.180011ed0
cmp qword [rbp + 0x178], 0xf
lea rdx, [rbp + 0x160]
xorps xmm0, xmm0
mov qword [rbp + 0xe8], r12
cmova rdx, qword [rbp + 0x160]
mov r8, r14
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xf0], r12
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x18000ba80
lea rcx, [rbp + 0xd8]
call fcn.180017290
mov rcx, qword [rbp + 0xe8]
xorps xmm0, xmm0
inc rcx
mov qword [rbp + 0xc8], r12
movups xmmword [rbp + 0xb8], xmm0
mov eax, 2
mov qword [rbp + 0xd0], 7
mul rcx
mov word [rbp + 0xb8], r12w
cmovo rax, r14
mov rcx, rax
call fcn.18004f4bc
mov rcx, qword [rbp + 0xe8]
lea r8, [rbp + 0xd8]
mov r9d, r14d
mov rsi, rax
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0xf
mov dword [rsp + 0x28], ecx
cmova r8, qword [rbp + 0xd8]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax]
inc r14
cmp word [rsi + r14*2], r12w
jne 0x18000bb20
mov rax, qword [rbp + 0xd0]
cmp r14, rax
ja 0x18000bb69
cmp rax, 7
mov qword [rbp + 0xc8], r14
lea rdi, [rbp + 0xb8]
mov rdx, rsi
cmova rdi, qword [rbp + 0xb8]
lea rbx, [r14 + r14]
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x18000bb7b
mov r9, rsi
lea rcx, [rbp + 0xb8]
mov rdx, r14
call fcn.180018290
mov rcx, rsi
call fcn.18004f0c0
cmp qword [rbp + 0xd0], 7
lea rcx, [rbp + 0xb8]
cmova rcx, qword [rbp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdx, qword [rbp + 0xd0]
mov rbx, rax
cmp rdx, 7
jbe 0x18000bbe9
mov rcx, qword [rbp + 0xb8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bbe4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bc9d
call fcn.18004f0c0
mov rdx, qword [rbp + 0xf0]
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r12w
cmp rdx, 0xf
jbe 0x18000bc40
mov rcx, qword [rbp + 0xd8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000bc3b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000bc9d
call fcn.18004f0c0
mov rdx, qword [rbp + 0x178]
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], r12b
cmp rdx, 0xf
jbe 0x18000d4ad
mov rcx, qword [rbp + 0x160]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d4a8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d4a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov rcx, qword [rbp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x38], r12d
xor r8d, r8d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
lea edx, [r9 + 0xa]
mov dword [rsp + 0x20], 3
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x18000c0fb
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Could_not_set_proxy_blanket._Error_code__0x
call fcn.180016590
mov rcx, rax
lea rdx, [0x180001e10]
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x180016750]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov byte [rsp + 0x58], r12b
xor edx, edx
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x60]
call fcn.1800145f0
mov ecx, 0x20
call fcn.18004f0f4
xorps xmm0, xmm0
lea rdx, str.ERR0_BLANK
mov r8d, 0xa
mov rcx, rax
mov rdi, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
call fcn.180017290
movzx ecx, byte [rbp + 0x88]
test cl, cl
jne 0x18000bdb4
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.180015610
mov rax, qword [rsp + 0x50]
movzx ecx, byte [rbp + 0x88]
mov qword [rbp + 0x90], rax
cmp cl, 1
jne 0x18000c0f4
xorps xmm0, xmm0
mov qword [rbp + 0xa8], r12
mov r8d, 3
mov qword [rbp + 0xb0], r12
lea rdx, [0x180056eb4]
lea rcx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0x98]
lea rdx, [rsp + 0x68]
call fcn.18002e850
mov rdx, qword [rbp + 0xb0]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000be4d
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000be48
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000be48
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
mov qword [rbp + 0xa8], r12
lea rcx, [rsp + 0x60]
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 3
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x60], rax
mov byte [rsp + 0x58], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x88]
call fcn.180011ed0
cmp qword [rbp + 0x178], 0xf
lea rdx, [rbp + 0x160]
xorps xmm0, xmm0
mov qword [rbp + 0xe8], r12
cmova rdx, qword [rbp + 0x160]
mov r8, r14
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xf0], r12
nop
inc r8
cmp byte [rdx + r8], r12b
jne 0x18000bed0
lea rcx, [rbp + 0xd8]
call fcn.180017290
mov rcx, qword [rbp + 0xe8]
xorps xmm0, xmm0
inc rcx
mov qword [rbp + 0xc8], r12
movups xmmword [rbp + 0xb8], xmm0
mov eax, 2
mov qword [rbp + 0xd0], 7
mul rcx
mov word [rbp + 0xb8], r12w
cmovo rax, r14
mov rcx, rax
call fcn.18004f4bc
mov rcx, qword [rbp + 0xe8]
lea r8, [rbp + 0xd8]
mov r9d, r14d
mov rsi, rax
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0xf
mov dword [rsp + 0x28], ecx
cmova r8, qword [rbp + 0xd8]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax]
inc r14
cmp word [rsi + r14*2], r12w
jne 0x18000bf70
mov rax, qword [rbp + 0xd0]
cmp r14, rax
ja 0x18000bfb9
cmp rax, 7
mov qword [rbp + 0xc8], r14
lea rdi, [rbp + 0xb8]
mov rdx, rsi
cmova rdi, qword [rbp + 0xb8]
lea rbx, [r14 + r14]
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r12w
jmp 0x18000bfcb
mov r9, rsi
lea rcx, [rbp + 0xb8]
mov rdx, r14
call fcn.180018290
mov rcx, rsi
call fcn.18004f0c0
cmp qword [rbp + 0xd0], 7
lea rcx, [rbp + 0xb8]
cmova rcx, qword [rbp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdx, qword [rbp + 0xd0]
mov rbx, rax
cmp rdx, 7
jbe 0x18000c039
mov rcx, qword [rbp + 0xb8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c034
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c0ed
call fcn.18004f0c0
mov rdx, qword [rbp + 0xf0]
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r12w
cmp rdx, 0xf
jbe 0x18000c090
mov rcx, qword [rbp + 0xd8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c08b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000c0ed
call fcn.18004f0c0
mov rdx, qword [rbp + 0x178]
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], r12b
cmp rdx, 0xf
jbe 0x18000d4ad
mov rcx, qword [rbp + 0x160]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d4a8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d4a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xorps xmm0, xmm0
mov qword [rbp - 0x40], r12
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x38], r12
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rdi + r8], r12b
jne 0x18000c110
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.180017290
mov rcx, qword [rbp - 0x40]
xorps xmm0, xmm0
inc rcx
mov qword [rbp + 0x150], r12
movups xmmword [rbp + 0x140], xmm0
mov eax, 2
mov qword [rbp + 0x158], 7
mul rcx
mov word [rbp + 0x140], r12w
cmovo rax, r14
mov rcx, rax
call fcn.18004f4bc
mov rcx, qword [rbp - 0x40]
lea r8, [rbp - 0x50]
mov r9d, r14d
mov rsi, rax
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp - 0x40]
cmp qword [rbp - 0x38], 0xf
mov dword [rsp + 0x28], ecx
cmova r8, qword [rbp - 0x50]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdx, r14
nop word [rax + rax]
inc rdx
cmp word [rsi + rdx*2], r12w
jne 0x18000c1a0
mov rax, qword [rbp + 0x158]
cmp rdx, rax
ja 0x18000c1e9
lea rbx, [rdx + rdx]
mov qword [rbp + 0x150], rdx
cmp rax, 7
lea rdi, [rbp + 0x140]
mov r8, rbx
mov rdx, rsi
cmova rdi, qword [rbp + 0x140]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r12w
jmp 0x18000c1f8
mov r9, rsi
lea rcx, [rbp + 0x140]
call fcn.180018290
mov rcx, rsi
call fcn.18004f0c0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x18000c23e
mov rcx, qword [rbp - 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c239
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c239
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
xorps xmm0, xmm0
mov qword [rbp - 0x20], r12
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], r12
mov r8, r14
inc r8
cmp byte [r15 + r8], r12b
jne 0x18000c250
mov rdx, r15
lea rcx, [rbp - 0x30]
call fcn.180017290
mov rcx, qword [rbp - 0x20]
xorps xmm0, xmm0
inc rcx
mov qword [rbp + 0x130], r12
movups xmmword [rbp + 0x120], xmm0
mov eax, 2
mov qword [rbp + 0x138], 7
mul rcx
mov word [rbp + 0x120], r12w
cmovo rax, r14
mov rcx, rax
call fcn.18004f4bc
mov rcx, qword [rbp - 0x20]
lea r8, [rbp - 0x30]
mov r9d, r14d
mov rsi, rax
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp - 0x20]
cmp qword [rbp - 0x18], 0xf
mov dword [rsp + 0x28], ecx
cmova r8, qword [rbp - 0x30]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdx, r14
nop word [rax + rax]
inc rdx
cmp word [rsi + rdx*2], r12w
jne 0x18000c2e0
mov rax, qword [rbp + 0x138]
cmp rdx, rax
ja 0x18000c329
lea rbx, [rdx + rdx]
mov qword [rbp + 0x130], rdx
cmp rax, 7
lea rdi, [rbp + 0x120]
mov r8, rbx
mov rdx, rsi
cmova rdi, qword [rbp + 0x120]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r12w
jmp 0x18000c338
mov r9, rsi
lea rcx, [rbp + 0x120]
call fcn.180018290
mov rcx, rsi
call fcn.18004f0c0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x18000c37e
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c379
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c379
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
cmp qword [rbp + 0x138], 7
lea rcx, [rbp + 0x120]
cmova rcx, qword [rbp + 0x120]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, str.SELECT__FROM_Win32_Process_WHERE__Name__
mov rbx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea r8, [rbp + 0x48]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
lea rcx, str.__AND_CommandLine_LIKE__
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0x48]
lea r8, [rbp + 0x48]
mov rdx, rax
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
cmp qword [rbp + 0x158], 7
lea rcx, [rbp + 0x140]
cmova rcx, qword [rbp + 0x140]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0x48]
lea r8, [rbp + 0x48]
mov rdx, rax
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
lea rcx, [0x180056e30]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbp + 0x48]
lea r8, [rbp + 0x48]
mov rdx, rax
call qword [sym.imp.OLEAUT32.dll_VarBstrCmp]
mov ecx, 0x18
mov qword [rbp + 0x68], r12
call fcn.18004f0f4
mov rbx, rax
test rax, rax
je 0x18000d50c
mov qword [rax], r12
lea rcx, [0x180056e38]
mov qword [rax + 0x10], 1
mov qword [rax + 8], r12
call fcn.18004ed70
mov qword [rbx], rax
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x50]
mov r9d, 0x30
mov r8, qword [rbp + 0x48]
mov qword [rsp + 0x28], rdx
mov rdx, rax
mov qword [rsp + 0x20], r12
mov r10, qword [rcx]
call qword [r10 + 0xa0]
mov edi, eax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x18000c4c5
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000c4a6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000c4b8
call fcn.18004f0c0
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.18004f0c0
test edi, edi
jns 0x18000c6f3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Query_for_operating_system_name_failed.
call fcn.180016590
mov rcx, rax
lea rdx, str._Error_code__0x
call fcn.180016590
mov rcx, rax
lea rdx, [0x180001e10]
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__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, edi
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__::operator___long_int____ptr64]
mov rcx, rax
lea rdx, [0x180016750]
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__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, byte [rbp + 0x88]
test al, al
jne 0x18000c565
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.180015610
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000c6ec
xorps xmm0, xmm0
mov qword [rbp + 0xa8], r12
mov r8d, 3
mov qword [rbp + 0xb0], r12
lea rdx, [0x180056eb4]
lea rcx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0x98]
lea rdx, [rsp + 0x68]
call fcn.18002e850
mov rdx, qword [rbp + 0xb0]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000c5fd
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c5f8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c5f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
lea rdx, str.ERR0_QUERY
mov qword [rbp + 0xa8], r12
lea rcx, [rbp - 0x80]
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
call fcn.180016150
mov rdx, rax
lea rcx, [rbx + 0x40]
call fcn.180012120
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x88]
call fcn.180011ed0
lea rcx, [rbp + 0xb8]
call fcn.180012610
mov rdx, rax
lea rcx, [rbp + 0x98]
call fcn.180012a60
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0xd8]
call fcn.180004690
mov rcx, rax
call fcn.1800124e0
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
lea rcx, [rbp + 0xd8]
mov rbx, rax
call fcn.1800124f0
lea rcx, [rbp + 0x98]
call fcn.180012860
mov rdx, qword [rbp + 0xd0]
cmp rdx, 0xf
jbe 0x18000cfe8
mov rcx, qword [rbp + 0xb8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c6e2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000c6e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
jmp 0x18000cfe8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xor eax, eax
mov qword [rbp + 0x60], r12
xor edx, edx
mov qword [rbp + 0x78], rax
lea rcx, [rbp + 0x78]
mov dword [rbp + 0x118], r12d
mov byte [rbp + 0x70], r12b
call fcn.1800145f0
mov ecx, 0x20
mov byte [rbp + 0x70], 3
call fcn.18004f0f4
xorps xmm0, xmm0
lea rdx, str.No_Process
mov r8d, 0xa
mov rcx, rax
mov rbx, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
call fcn.180017290
movzx eax, byte [rbp + 0x88]
mov qword [rbp + 0x78], rbx
test al, al
jne 0x18000c77c
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x50]
call fcn.180015610
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000d0eb
xorps xmm0, xmm0
mov qword [rbp + 0x108], r12
mov r8d, 3
mov qword [rbp + 0x110], r12
lea rdx, [0x18005694c]
lea rcx, [rbp + 0xf8]
movups xmmword [rbp + 0xf8], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea rdx, [rbp + 0xf8]
call fcn.180019e00
lea rcx, [rbp + 0xf8]
mov rbx, rax
call fcn.180012860
lea rdx, [rbp + 0x70]
mov rcx, rbx
call fcn.180012120
mov rcx, qword [rbp + 0x68]
test rcx, rcx
je 0x18000ce73
mov rax, qword [rcx]
lea rdx, [rbp + 0x118]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0x60]
mov edx, r14d
mov r8d, 1
call qword [rax + 0x20]
cmp dword [rbp + 0x118], r12d
je 0x18000ce73
lea rcx, [rbp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x60]
lea r9, [rbp + 0xb8]
mov qword [rsp + 0x28], r12
lea rdx, str.CommandLine
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x60]
lea r9, [rbp + 0xd8]
mov qword [rsp + 0x28], r12
lea rdx, str.ProcessId
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x60]
lea r9, [rbp + 0x70]
mov qword [rsp + 0x28], r12
lea rdx, str.ExecutablePath
xor r8d, r8d
mov qword [rsp + 0x20], r12
mov rax, qword [rcx]
call qword [rax + 0x20]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov byte [rbp - 0x70], r12b
xor edx, edx
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x68]
call fcn.1800145f0
movzx eax, byte [rbp + 0x88]
mov byte [rsp + 0x50], 1
test al, al
jne 0x18000c923
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rbp - 0x10]
call fcn.180015610
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000d0c0
xorps xmm0, xmm0
mov qword [rbp + 0xa8], r12
mov r8d, 6
mov qword [rbp + 0xb0], r12
lea rdx, str.result
lea rcx, [rbp + 0x98]
movups xmmword [rbp + 0x98], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0x28]
call fcn.18002e850
mov rdx, qword [rbp + 0xb0]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000c9b7
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000c9b2
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d088
call fcn.18004f0c0
mov rcx, qword [rsp + 0x50]
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 4
mov rax, qword [rbx + 0x48]
mov qword [rbx + 0x48], rcx
lea rcx, [rbp - 0x68]
mov byte [rbp - 0x70], dl
mov qword [rbp - 0x68], rax
call fcn.1800145f0
mov rsi, qword [rbp + 0x78]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
mov qword [rsp + 0x38], r12
mov r8, rsi
mov qword [rsp + 0x30], r12
mov r9d, eax
mov dword [rsp + 0x28], r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r12
mov edi, eax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp + 0x98]
call fcn.180012950
cmp qword [rbp + 0xb0], 0xf
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x38], r12
mov r9d, edi
cmova rcx, qword [rbp + 0x98]
mov r8, rsi
mov qword [rsp + 0x30], r12
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor eax, eax
mov byte [rbp - 0x60], r12b
xor edx, edx
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.1800145f0
mov ecx, 0x20
call fcn.18004f0f4
movups xmm0, xmmword [rbp + 0x98]
mov rdi, rax
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp + 0xa8]
movups xmmword [rax + 0x10], xmm1
movzx ecx, byte [rbp + 0x88]
mov qword [rbp + 0xa8], r12
mov qword [rbp + 0xb0], 0xf
mov byte [rbp + 0x98], r12b
test cl, cl
jne 0x18000caf6
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rbp - 8]
call fcn.180015610
mov rax, qword [rbp - 8]
movzx ecx, byte [rbp + 0x88]
mov qword [rbp + 0x90], rax
cmp cl, 1
jne 0x18000d0b9
xorps xmm0, xmm0
mov qword [rbp + 0x108], r12
mov r8d, 0xb
mov qword [rbp + 0x110], r12
lea rdx, str.ProcessPath
lea rcx, [rbp + 0xf8]
movups xmmword [rbp + 0xf8], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0xf8]
lea rdx, [rbp + 0x38]
call fcn.18002e850
mov rdx, qword [rbp + 0x110]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000cb8b
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cb86
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d08f
call fcn.18004f0c0
mov qword [rbp + 0x108], r12
lea rcx, [rbp - 0x58]
mov qword [rbp + 0x110], 0xf
mov byte [rbp + 0xf8], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 3
mov rax, qword [rbx + 0x48]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x60], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x18000cc05
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cc00
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d096
call fcn.18004f0c0
movsxd rdi, dword [rbp + 0xe0]
lea rcx, [rbp - 0x78]
xor eax, eax
mov byte [rbp - 0x80], r12b
xor edx, edx
mov qword [rbp - 0x78], rax
call fcn.1800145f0
movzx eax, byte [rbp + 0x88]
test al, al
jne 0x18000cc50
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rbp]
call fcn.180015610
mov rax, qword [rbp]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000d0b2
xorps xmm0, xmm0
mov qword [rbp + 0x108], r12
mov r8d, 3
mov qword [rbp + 0x110], r12
lea rdx, [0x180056fdc]
lea rcx, [rbp + 0xf8]
movups xmmword [rbp + 0xf8], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0xf8]
lea rdx, [rbp + 8]
call fcn.18002e850
mov rdx, qword [rbp + 0x110]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000cce4
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ccdf
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d09d
call fcn.18004f0c0
mov qword [rbp + 0x108], r12
lea rcx, [rbp - 0x78]
mov qword [rbp + 0x110], 0xf
mov byte [rbp + 0xf8], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 5
mov rax, qword [rbx + 0x48]
mov qword [rbp - 0x78], rax
mov byte [rbp - 0x80], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
xor eax, eax
mov byte [rsp + 0x68], r12b
xor edx, edx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1800145f0
mov ecx, 0x20
call fcn.18004f0f4
xorps xmm0, xmm0
lea rdx, [0x180056255]
xor r8d, r8d
mov rcx, rax
mov rdi, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
call fcn.180017290
movzx eax, byte [rbp + 0x88]
test al, al
jne 0x18000cd93
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x58]
call fcn.180015610
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000d0ab
xorps xmm0, xmm0
mov qword [rbp + 0x108], r12
mov r8d, 3
mov qword [rbp + 0x110], r12
lea rdx, [0x18005694c]
lea rcx, [rbp + 0xf8]
movups xmmword [rbp + 0xf8], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0xf8]
lea rdx, [rbp + 0x160]
call fcn.18002e850
mov rdx, qword [rbp + 0x110]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000ce2a
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000ce25
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d0a4
call fcn.18004f0c0
mov qword [rbp + 0x108], r12
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x110], 0xf
mov byte [rbp + 0xf8], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 3
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x68], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
mov rcx, qword [rbp + 0x68]
test rcx, rcx
jne 0x18000c7f0
mov rcx, qword [rbp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x88]
call fcn.180011ed0
lea rcx, [rbp + 0x180]
call fcn.180012610
mov rdx, rax
lea rcx, [rbp + 0xf8]
call fcn.180012a60
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 8]
call fcn.180004690
mov rcx, rax
call fcn.1800124e0
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdx, qword [rbp + 0x20]
mov rbx, rax
cmp rdx, 7
jbe 0x18000cf23
mov rcx, qword [rbp + 8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cf1e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d081
call fcn.18004f0c0
mov rdx, qword [rbp + 0x110]
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r12w
cmp rdx, 0xf
jbe 0x18000cf75
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cf70
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d081
call fcn.18004f0c0
mov rdx, qword [rbp + 0x198]
mov qword [rbp + 0x108], r12
mov qword [rbp + 0x110], 0xf
mov byte [rbp + 0xf8], r12b
cmp rdx, 0xf
jbe 0x18000cfcf
mov rcx, qword [rbp + 0x180]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000cfca
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d081
call fcn.18004f0c0
mov qword [rbp + 0x190], r12
mov qword [rbp + 0x198], 0xf
mov byte [rbp + 0x180], r12b
mov rdx, qword [rbp + 0x138]
cmp rdx, 7
jbe 0x18000d02a
mov rcx, qword [rbp + 0x120]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d025
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d081
call fcn.18004f0c0
mov rdx, qword [rbp + 0x158]
mov qword [rbp + 0x130], r12
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], r12w
cmp rdx, 7
jbe 0x18000d0cc
mov rcx, qword [rbp + 0x140]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d0c7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d0c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
call fcn.18004f0c0
mov qword [rbp + 0x150], r12
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], r12w
jmp 0x18000d4ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
xor eax, eax
mov byte [rsp + 0x68], r12b
xor edx, edx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.1800145f0
mov ecx, 0x20
call fcn.18004f0f4
xorps xmm0, xmm0
lea rdx, str.ERR0_LICENSE
mov r8d, 0xc
mov rcx, rax
mov rdi, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r12
call fcn.180017290
movzx eax, byte [rbp + 0x88]
test al, al
jne 0x18000d16b
mov dl, 1
mov byte [rbp + 0x88], 1
lea rcx, [rsp + 0x58]
call fcn.180015610
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x90], rax
movzx eax, byte [rbp + 0x88]
cmp al, 1
jne 0x18000d4fe
xorps xmm0, xmm0
mov qword [rbp + 0x108], r12
mov r8d, 3
mov qword [rbp + 0x110], r12
lea rdx, [0x180056eb4]
lea rcx, [rbp + 0xf8]
movups xmmword [rbp + 0xf8], xmm0
call fcn.180017290
mov rcx, qword [rbp + 0x90]
lea r8, [rbp + 0xf8]
lea rdx, [rbp + 0x160]
call fcn.18002e850
mov rdx, qword [rbp + 0x110]
mov rbx, qword [rax]
cmp rdx, 0xf
jbe 0x18000d205
mov rcx, qword [rbp + 0xf8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d200
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d200
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
mov qword [rbp + 0x108], r12
lea rcx, [rsp + 0x70]
mov qword [rbp + 0x110], 0xf
mov byte [rbp + 0xf8], r12b
movzx edx, byte [rbx + 0x40]
mov byte [rbx + 0x40], 3
mov rax, qword [rbx + 0x48]
mov qword [rsp + 0x70], rax
mov byte [rsp + 0x68], dl
mov qword [rbx + 0x48], rdi
call fcn.1800145f0
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x88]
call fcn.180011ed0
cmp qword [rbp + 0xb0], 0xf
lea rdx, [rbp + 0x98]
xorps xmm0, xmm0
mov qword [rbp + 0xe8], r12
cmova rdx, qword [rbp + 0x98]
mov r14, 0xffffffffffffffff
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0xf0], r12
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rdx + r8], r12b
jne 0x18000d290
lea rcx, [rbp + 0xd8]
call fcn.180017290
mov rcx, qword [rbp + 0xe8]
xorps xmm0, xmm0
inc rcx
mov qword [rbp + 0xc8], r12
movups xmmword [rbp + 0xb8], xmm0
mov eax, 2
mov qword [rbp + 0xd0], 7
mul rcx
mov word [rbp + 0xb8], r12w
cmovo rax, r14
mov rcx, rax
call fcn.18004f4bc
mov rcx, qword [rbp + 0xe8]
lea r8, [rbp + 0xd8]
mov r9d, r14d
mov rsi, rax
mov word [rax + rcx*2], r12w
mov ecx, dword [rbp + 0xe8]
cmp qword [rbp + 0xf0], 0xf
mov dword [rsp + 0x28], ecx
cmova r8, qword [rbp + 0xd8]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop dword [rax]
inc r14
cmp word [rsi + r14*2], r12w
jne 0x18000d330
mov rax, qword [rbp + 0xd0]
cmp r14, rax
ja 0x18000d379
cmp rax, 7
mov qword [rbp + 0xc8], r14
lea rdi, [rbp + 0xb8]
mov rdx, rsi
cmova rdi, qword [rbp + 0xb8]
lea rbx, [r14 + r14]
mov rcx, rdi
mov r8, rbx
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r12w
jmp 0x18000d38b
mov r9, rsi
lea rcx, [rbp + 0xb8]
mov rdx, r14
call fcn.180018290
mov rcx, rsi
call fcn.18004f0c0
cmp qword [rbp + 0xd0], 7
lea rcx, [rbp + 0xb8]
cmova rcx, qword [rbp + 0xb8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdx, qword [rbp + 0xd0]
mov rbx, rax
cmp rdx, 7
jbe 0x18000d3f9
mov rcx, qword [rbp + 0xb8]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d3f4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d4a1
call fcn.18004f0c0
mov rdx, qword [rbp + 0xf0]
mov qword [rbp + 0xc8], r12
mov qword [rbp + 0xd0], 7
mov word [rbp + 0xb8], r12w
cmp rdx, 0xf
jbe 0x18000d450
mov rcx, qword [rbp + 0xd8]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d44b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000d4a1
call fcn.18004f0c0
mov rdx, qword [rbp + 0xb0]
mov qword [rbp + 0xe8], r12
mov qword [rbp + 0xf0], 0xf
mov byte [rbp + 0xd8], r12b
cmp rdx, 0xf
jbe 0x18000d4ad
mov rcx, qword [rbp + 0x98]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000d4a8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18000d4a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004f0c0
movzx edx, byte [rbp + 0x88]
lea rcx, [rbp + 0x90]
call fcn.1800145f0
mov rsi, qword [rsp + 0x2f8]
mov rax, rbx
mov rbx, qword [rsp + 0x2f0]
mov r14, qword [rsp + 0x2b0]
mov r12, qword [rsp + 0x2b8]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.18004f0a0
add rsp, 0x2c0
pop r15
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
mov ecx, 0x8007000e
call fcn.18004ed60
int3