Function at 0x14000bc20
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400dbc58]
xor rax, rsp
mov qword [rbp + 0x78], rax
mov r13d, r9d
mov r12, r8
mov rsi, rdx
mov r15, rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
test rdx, rdx
je 0x14000c01b
cmp qword [rdx + 8], rbx
je 0x14000c01b
test r8, r8
je 0x14000c01b
lea rax, [0x1400c83e8]
mov qword [rsp + 0x40], rax
lea rax, [0x1400c83f0]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
mov dword [rsp + 0x30], 1
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64____ptr64]
nop
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x38], ebx
movzx r8d, word [rsi]
shr r8, 1
mov rdi, qword [rsi + 8]
test rdi, rdi
je 0x14000bd5f
test r8, r8
je 0x14000bd5f
lea rdx, [rdi - 2]
lea rdx, [rdx + r8*2]
mov rcx, rdx
cmp rdx, rdi
jb 0x14000bd5f
mov r9d, 0x5c
lea r10d, [rbx + 0x2f]
movzx eax, word [rcx]
cmp r9w, ax
je 0x14000bd36
cmp r10w, ax
jne 0x14000bd3b
cmp rdx, rcx
jne 0x14000bd46
sub rcx, 2
cmp rcx, rdi
jae 0x14000bd27
jmp 0x14000bd5f
sub rcx, rdi
sar rcx, 1
je 0x14000bd5f
lea rax, [r8 - 1]
cmp rcx, rax
jae 0x14000bd5f
lea rdi, [rdi + rcx*2]
add rdi, 2
lea rdx, [r15 + 0x1f78]
cmp qword [r15 + 0x1f90], 8
jb 0x14000bd77
mov rdx, qword [r15 + 0x1f78]
mov r8, qword [r15 + 0x1f88]
lea rcx, [rsp + 0x50]
call fcn.14000ea80
lea rdx, str._is_using
mov rcx, rax
call fcn.14000de30
mov rcx, rax
mov rdx, rdi
call fcn.14000de30
mov rcx, rax
lea rdx, str._from_an_unknown_publisher.
call fcn.14000de30
mov rcx, rax
lea rdx, str._Are_you_sure_you_want_to_run_this_software_
call fcn.14000de30
mov rdx, qword [rsi + 8]
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x50], rbx
mov edi, 7
mov qword [rbp + 0x58], rdi
mov word [rbp + 0x40], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14000bde0
lea rcx, [rbp + 0x40]
call fcn.1400022b0
nop
lea r8, [rbp + 0x40]
mov edx, dword [rbp + 0xe0]
mov rcx, r15
call fcn.14000c250
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14000be4b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be46
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000be46
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e34c
test r13d, r13d
je 0x14000be6f
mov r8d, dword [rbp + 0xe0]
mov rdx, rsi
mov rcx, r15
call fcn.14000b8a0
mov rcx, r12
call fcn.14000c070
jmp 0x14000bfce
call qword [sym.imp.USER32.dll_GetProcessWindowStation]
test rax, rax
je 0x14000bfbc
xor ecx, ecx
mov qword [rbp + 0x60], rcx
mov dword [rbp + 0x68], ecx
mov qword [rsp + 0x20], rbx
lea r9d, [rcx + 0xc]
lea r8, [rbp + 0x60]
lea edx, [rcx + 1]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetUserObjectInformationA]
test eax, eax
je 0x14000bfbc
mov eax, dword [rbp + 0x68]
and eax, 1
je 0x14000bfbc
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rdi
mov word [rbp + 0x40], bx
mov dword [rsp + 0x30], 5
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov ecx, dword [rbp - 0x38]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x14000bf03
mov rax, qword [rbp - 0x68]
mov r8, qword [rax]
test r8, r8
je 0x14000bf03
mov rax, qword [rsp + 0x78]
mov rdx, qword [rax]
cmp r8, qword [rbp - 0x40]
cmovb r8, qword [rbp - 0x40]
sub r8, rdx
sar r8, 1
jmp 0x14000bf39
test cl, 4
jne 0x14000bf31
mov rax, qword [rbp - 0x70]
mov rcx, qword [rax]
test rcx, rcx
je 0x14000bf31
mov rax, qword [rsp + 0x70]
mov rdx, qword [rax]
mov rax, qword [rbp - 0x58]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
jmp 0x14000bf39
mov r8, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14000bf4b
lea rcx, [rbp + 0x40]
call fcn.1400022b0
mov rdi, qword [rbp + 0x58]
lea rdx, [rbp + 0x40]
cmp rdi, 8
cmovae rdx, qword [rbp + 0x40]
mov r9d, 0x134
lea r8, [0x1400c8380]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x14000bfb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bfad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000bfad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e34c
cmp edi, 6
jne 0x14000bfbc
lea ebx, [rdi - 5]
jmp 0x14000bfce
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rsp + rdx + 0x40], rax
mov rcx, qword [rsp + 0x40]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x3c], r8d
lea rcx, [rsp + 0x58]
call fcn.14000d530
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp - 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov eax, ebx
jmp 0x14000c020
mov eax, 1
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.14007e630
add rsp, 0x180
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret