Function at 0x140059c20
Capabilities:
Acquire debug privileges
Create thread
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
sub rsp, 0x210
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140287748]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
xor esi, esi
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, str.SeSecurityPrivilege
call fcn.140059a70
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [0x1401863a0]
call fcn.140059a70
call fcn.140059b20
mov byte [rax + 0x64], sil
movabs rax, 0xffb8a5a8aa0aa7a4
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x20], rax
movabs rax, 0xf74b5e28e02c82e3
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x28], rax
movabs r15, 0xd1d3d6cdee73c9e5
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x1a0], rax
movabs r12, 0xf74b5e28e049fa86
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x1a8], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x1a0]
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
mov qword [rbp + 0xe0], rsi
mov qword [rbp + 0xe8], rsi
lea rax, [rbp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x140059d40
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.1400026a0
lea rdx, [rbp + 0xd0]
lea rcx, [0x140288c50]
call fcn.1400c35f0
test al, al
je 0x140059e0d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.System_error_5_has_occured.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400593e0
lea rdx, [0x1400597d0]
mov rcx, rax
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]
lea rdx, str.Access_is_denied.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400593e0
lea rdx, [0x1400597d0]
mov rcx, rax
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401140d0
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140059b20
mov dword [rax + 0x60], esi
mov ecx, 1
call fcn.140113d28
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140059640]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14005a4be
mov qword [rbp + 0x118], rsi
cmp dword [rbp + 0x58], 0
je 0x14005a4b3
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0xf0], xmm0
lea rcx, [rbp + 0xf0]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14005a4b3
xorps xmm0, xmm0
movaps xmmword [rbp + 0x100], xmm0
movdqa xmmword [rbp + 0x50], xmm0
movabs rdi, 0xa9b6f8ba8f05a88f
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
movabs r14, 0xf74b5e28e049fae3
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
lea rax, [rbp + 0x10]
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x140059f05
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x60]
call fcn.1400026a0
lea rdx, [rbp + 0x60]
lea rcx, [0x140288c50]
call fcn.1400c3210
test eax, eax
jne 0x140059fdf
mov qword [rbp + 0xa0], 0x3e8
nop
lea rcx, [rbp + 0xa0]
call fcn.140059810
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x10], rax
mov qword [rbp], r14
mov rax, qword [rbp]
mov qword [rbp + 0x18], rax
mov qword [rbp], r15
mov rax, qword [rbp]
mov qword [rbp + 0x170], rax
mov qword [rbp], r12
mov rax, qword [rbp]
mov qword [rbp + 0x178], rax
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], rsi
lea rax, [rbp + 0x10]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140059fb0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x60]
call fcn.1400026a0
lea rdx, [rbp + 0x60]
lea rcx, [0x140288c50]
call fcn.1400c3210
test eax, eax
je 0x140059f40
call fcn.140059b20
mov dword [rax + 0x60], 1
mov ecx, dword [0x140289fe0]
mov rax, qword gs:[0x58]
mov edx, 4
mov rdi, qword [rax + rcx*8]
add rdi, rdx
mov eax, dword [rdi]
cmp dword [0x140288d20], eax
jg 0x14005a4cc
lea rcx, [0x140288c70]
call fcn.1400502e0
mov qword [rbp + 0xa8], 0xbb8
lea rcx, [rbp + 0xa8]
call fcn.140059810
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.140113d28
mov qword [rbp + 8], rax
test rax, rax
je 0x14005a05e
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, rax
call fcn.140041df0
jmp 0x14005a061
mov rax, rsi
mov qword [rbp + 0x110], rax
cmp byte [rax + 0x18], 0
jne 0x14005a094
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, str.Error_0x03
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_FatalAppExitW]
mov ecx, 8
call fcn.140113d28
test rax, rax
je 0x14005a0af
lea rcx, [rbp + 0x110]
mov qword [rax], rcx
jmp 0x14005a0b2
mov rax, rsi
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140059680]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14005a5cb
mov qword [rbp + 0x120], rsi
cmp dword [rbp + 0x48], 0
je 0x14005a5c0
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0xb0], xmm0
lea rcx, [rbp + 0xb0]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14005a5c0
xorps xmm0, xmm0
movaps xmmword [rbp + 0x80], xmm0
movdqa xmmword [rbp + 0x40], xmm0
call fcn.140059b20
mov dword [rax + 0x60], 4
mov qword [rbp + 8], 0xbb8
lea rcx, [rbp + 8]
call fcn.140059810
call fcn.140059b90
lea rdx, [rbp + 0x148]
mov rcx, rax
call fcn.1400b2a30
nop
lea rdx, [rbp + 0x148]
lea rcx, [rbp + 0x128]
call fcn.14000a960
nop
call fcn.140059b20
mov dword [rax + 0x60], 5
call fcn.140059b90
lea rdx, [rbp + 0x128]
cmp qword [rbp + 0x140], 0x10
cmovae rdx, qword [rbp + 0x128]
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rax
call fcn.1400b3780
test al, al
jne 0x14005a2e2
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
movabs rax, 0xb9a4f6bf8101bba0
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x80], rax
movabs rax, 0x92213041c02c96ef
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x88], rax
movabs rax, 0xcef6a6fc515c074c
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x90], rax
movabs rax, 0x9581494829a52861
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x98], rax
mov qword [rbp + 8], r15
mov rax, qword [rbp + 8]
mov qword [rbp + 0x180], rax
mov qword [rbp + 8], r12
mov rax, qword [rbp + 8]
mov qword [rbp + 0x188], rax
movabs rax, 0xa295869b3f35732f
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x190], rax
movabs rax, 0x958149665dcb4d08
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x198], rax
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0x180]
vmovdqa ymmword [rbp + 0x80], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], rsi
lea rax, [rbp + 0x80]
vzeroupper
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005a2b0
mov r8, rbx
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xb0]
call fcn.1400026a0
lea rdx, [rbp + 0xb0]
lea rcx, [0x140288c50]
call fcn.1400c3660
mov qword [rbp + 0x180], 0x7d0
lea rcx, [rbp + 0x180]
call fcn.140059810
call fcn.140059b20
mov dword [rax + 0x60], 6
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 8
call fcn.140113d28
test rax, rax
je 0x14005a32b
lea rcx, [rbp + 0x110]
mov qword [rax], rcx
jmp 0x14005a32e
mov rax, rsi
mov qword [rbp + 0x180], rax
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140059790]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x14005a5b2
cmp dword [rbp + 0x38], 0
je 0x14005a5a7
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x180], xmm0
lea rcx, [rbp + 0x180]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14005a5a7
nop dword [rax]
mov eax, dword [rdi]
cmp dword [0x140288d24], eax
jg 0x14005a571
cmp byte [0x1401ec380], 0
jne 0x14005a3b4
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14005a390
mov ecx, 0x1194
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140059b90
mov rcx, rax
call fcn.1400b3850
lea rcx, [0x1402890cc]
call fcn.1400413b0
mov rbx, qword [rbp + 0x110]
test rbx, rbx
je 0x14005a40b
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005a3f3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, reloc.WLDAP32.dll_Ordinal_32
mov rcx, rbx
call fcn.140113d64
nop
mov rdx, qword [rbp + 0x140]
cmp rdx, 0x10
jb 0x14005a44f
inc rdx
mov rcx, qword [rbp + 0x128]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a44a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a44a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140113d64
movdqa xmm0, xmmword [0x1401c67b0]
movdqu xmmword [rbp + 0x138], xmm0
mov byte [rbp + 0x128], 0
mov rdx, qword [rbp + 0x160]
cmp rdx, 0x10
jb 0x140059ddb
inc rdx
mov rcx, qword [rbp + 0x148]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a4a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a4a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140113d64
jmp 0x140059ddb
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x58], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [0x140288d20]
call fcn.140114270
cmp dword [0x140288d20], 0xffffffff
jne 0x14005a014
xor edx, edx
mov r8d, 0xa0
lea rcx, [0x140288c80]
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
movups xmmword [0x140288c70], xmm0
movdqa xmm1, xmmword [0x1401c67b0]
movdqu xmmword [0x140288c80], xmm1
mov byte [0x140288c70], 0
movups xmmword [0x140288c90], xmm0
movdqu xmmword [0x140288ca0], xmm1
mov byte [0x140288c90], 0
movups xmmword [0x140288cb0], xmm0
movdqu xmmword [0x140288cc0], xmm1
mov byte [0x140288cb0], 0
lea rcx, [0x140288cd0]
call fcn.1400b5b10
nop
lea rcx, [0x140182090]
call fcn.140113fa4
nop
lea rcx, [0x140288d20]
call fcn.140114204
jmp 0x14005a014
lea rcx, [0x140288d24]
call fcn.140114270
cmp dword [0x140288d24], 0xffffffff
jne 0x14005a39e
lea rcx, [0x1401821e0]
call fcn.140113fa4
lea rcx, [0x140288d24]
call fcn.140114204
jmp 0x14005a39e
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x38], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x48], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3