Function at 0x140004260
Capabilities:
Accept command line arguments
Add user account to group
Enumerate gui resources
Get hostname

Disassembly:
push rbp
push rdi
push r12
push r14
lea rbp, [rsp - 0xcf8]
sub rsp, 0xdf8
mov rax, qword [0x14000c038]
xor rax, rsp
mov qword [rbp + 0xce0], rax
xor r14b, r14b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x44]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [rsp + 0x44]
mov rcx, rax
mov rdi, rax
call fcn.140002fb0
mov ecx, dword [rsp + 0x44]
mov byte [rsp + 0x48], al
test al, al
je 0x1400042bf
dec ecx
mov dword [rsp + 0x44], ecx
mov qword [rsp + 0xe20], rbx
mov r12d, 1
mov qword [rsp + 0xe28], rsi
mov qword [rsp + 0xe30], r13
mov qword [rsp + 0xdf0], r15
test rdi, rdi
je 0x1400059b4
cmp ecx, 2
jl 0x1400059b4
mov rdx, qword [rdi + 8]
xor r13d, r13d
mov rbx, 0xffffffffffffffff
mov qword [rbp - 0x10], r13
mov qword [rbp], r13
mov r8, rbx
mov qword [rbp + 8], 7
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140004320
lea rcx, [rbp - 0x10]
call fcn.140003e80
cmp qword [rbp + 8], 8
lea rdx, [rbp - 0x10]
mov rax, qword [rbp]
lea r9, [rsp + 0x40]
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x10]
cmovae rdx, qword [rbp - 0x10]
call fcn.140001060
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140005d90
mov esi, eax
movzx r15d, r13w
cmp eax, ebx
jne 0x1400044a1
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140006390
test al, al
je 0x1400043ac
cmp dword [rsp + 0x44], 3
je 0x140005b8e
jmp 0x140004bad
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140006280
test al, al
je 0x1400044a1
call fcn.140003390
cmp dword [rsp + 0x44], 2
mov esi, 0x8001
mov dword [rsp + 0x4c], eax
jg 0x140004662
xor ebx, ebx
mov qword [rbp + 0x450], rsi
lea rdx, [rbp + 0x450]
mov byte [rbp + 0x460], bl
lea rcx, [0x1400022e0]
mov dword [rbp + 0x45c], 0xc
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x140004446
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004441
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000448c
call fcn.140006ab8
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], bl
cmp rdx, 8
jb 0x140004498
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004493
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004493
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
mov eax, dword [rsp + 0x4c]
jmp 0x1400059b7
cmp dword [rsp + 0x44], 3
jl 0x14000481b
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140005ff0
test al, al
je 0x14000481b
xor ecx, ecx
call fcn.140001a60
xor edx, edx
lea rcx, [rbp + 0x454]
mov r8d, 0x410
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rdi + 0x10]
xor eax, eax
mov qword [rsp + 0x70], rax
mov r8, rbx
mov qword [rbp - 0x80], rax
mov dword [rbp + 0x450], esi
mov qword [rbp - 0x78], 7
inc r8
cmp word [rdx + r8*2], ax
jne 0x140004504
lea rcx, [rsp + 0x70]
call fcn.140003e80
cmp qword [rbp - 0x78], 8
lea r8, [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x454]
cmovae r8, qword [rsp + 0x70]
inc rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
cmp dword [rsp + 0x44], 4
jl 0x1400045d8
mov rdx, qword [rdi + 0x18]
xor eax, eax
mov qword [rbp - 0x30], rax
mov r8, rbx
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], 7
inc r8
cmp word [rdx + r8*2], ax
jne 0x140004560
lea rcx, [rbp - 0x30]
call fcn.140003e80
cmp qword [rbp - 0x18], 8
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp + 0x65c]
cmovae r8, qword [rbp - 0x30]
inc rdx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400045d8
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045d3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
xor eax, eax
lea rcx, [rbp + 0x454]
mov qword [rbp - 0x50], rax
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], r13w
jne 0x1400045f0
add eax, 0x414
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x48], eax
lea rcx, [0x140002460]
lea rax, [rbp + 0x450]
mov qword [rbp - 0x40], rax
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140004662
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000465d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000465d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
cmp dword [rsp + 0x44], 3
jne 0x140004bad
mov rdx, qword [rdi + 0x10]
xor eax, eax
mov qword [rbp - 0x50], rax
mov r8, rbx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 7
inc r8
cmp word [rdx + r8*2], ax
jne 0x140004686
lea rcx, [rbp - 0x50]
call fcn.140003e80
cmp qword [rbp - 0x38], 8
lea rdx, [rbp - 0x50]
mov rax, qword [rbp - 0x40]
lea r9, [rsp + 0x40]
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x70]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x50]
cmovae rdx, qword [rbp - 0x50]
call fcn.140001060
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140005cd0
mov rdx, qword [rbp - 0x78]
movzx r15d, ax
test ax, ax
jne 0x140004b24
cmp rdx, 0x10
jb 0x140004726
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004721
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ba1
call fcn.140006ab8
mov rdx, qword [rbp - 0x38]
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], bl
cmp rdx, 8
jb 0x140004778
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004773
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ba1
call fcn.140006ab8
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], bx
cmp rdx, 0x10
jb 0x1400047c3
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047be
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ba1
call fcn.140006ab8
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], bl
cmp rdx, 8
jb 0x1400059b4
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004811
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ba1
call fcn.140006ab8
jmp 0x1400059b4
cmp esi, ebx
jne 0x140004662
mov rdx, qword [rbp - 0x58]
lea rax, [rbp - 0x70]
mov rcx, qword [rbp - 0x70]
cmp rdx, 0x10
cmovae rax, rcx
cmp qword [rbp - 0x60], 0xc
jne 0x140004662
movabs r8, 0x756f7247554c502d
cmp qword [rax], r8
jne 0x140004662
cmp dword [rax + 8], 0x64644170
jne 0x140004662
cmp dword [rsp + 0x44], 3
je 0x1400048fa
cmp rdx, 0x10
jb 0x1400048a0
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000489b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b11
call fcn.140006ab8
mov rdx, qword [rbp + 8]
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], al
cmp rdx, 8
jb 0x1400059b4
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400048f0
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b11
call fcn.140006ab8
jmp 0x1400059b4
mov rax, qword [rdi + 0x10]
lea rcx, [rbp + 0xad0]
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x4c]
mov dword [rsp + 0x4c], 0x104
lea rcx, [rbp + 0xad0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1400049f7
xor edx, edx
mov dword [rsp + 0x50], 0x44
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x870]
lea ecx, [rdx + 0x3a]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
je 0x1400049f7
xor edx, edx
mov dword [rsp + 0x58], 0x104
mov r8d, 0x208
lea rcx, [rbp + 0x8c0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x68]
mov dword [rsp + 0x54], 0x104
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x58]
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea r8, [rbp + 0x8c0]
lea rax, [rbp + 0x450]
lea rdx, [rbp + 0x870]
mov qword [rsp + 0x20], rax
lea rcx, [rbp + 0xad0]
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
test eax, eax
je 0x1400049f7
xor edi, edi
mov qword [rbp - 0x78], 7
mov qword [rsp + 0x70], rdi
lea rax, [rbp + 0x8c0]
mov qword [rbp - 0x80], rdi
inc rbx
cmp word [rax + rbx*2], di
jne 0x1400049e2
mov r8, rbx
lea rdx, [rbp + 0x8c0]
jmp 0x140004a15
xor edi, edi
mov qword [rbp - 0x78], 7
mov qword [rsp + 0x70], rdi
lea rdx, str.Performance_Log_Users
mov qword [rbp - 0x80], rdi
lea r8d, [rdi + 0x15]
lea rcx, [rsp + 0x70]
call fcn.140003e80
cmp qword [rbp - 0x78], 8
lea rdx, [rsp + 0x70]
lea r9, [rsp + 0x60]
mov dword [rsp + 0x20], r12d
cmovae rdx, qword [rsp + 0x70]
xor ecx, ecx
lea r8d, [rcx + 3]
call sub.NETAPI32.dll_NetLocalGroupAddMembers
mov rdx, qword [rbp - 0x78]
mov ebx, eax
cmp rdx, 8
jb 0x140004a8a
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a85
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
mov rdx, qword [rbp - 0x58]
cmp ebx, 0x562
cmove ebx, edi
cmp rdx, 0x10
jb 0x140004aca
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ac5
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004b11
call fcn.140006ab8
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r13b
cmp rdx, 8
jb 0x140004b1d
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b18
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
mov eax, ebx
jmp 0x1400059b7
cmp rdx, 0x10
jb 0x140004b58
mov rcx, qword [rsp + 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b53
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004ba1
call fcn.140006ab8
mov rdx, qword [rbp - 0x38]
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], al
cmp rdx, 8
jb 0x140004bad
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ba8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ba8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
cmp dword [rsp + 0x44], 4
jne 0x140004f15
mov rdx, qword [rdi + 0x10]
mov r8, rbx
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
nop
inc r8
cmp word [rdx + r8*2], r13w
jne 0x140004bd0
lea rcx, [rbp - 0x50]
call fcn.140003e80
cmp qword [rbp - 0x38], 8
lea rdx, [rbp - 0x50]
mov rax, qword [rbp - 0x40]
lea r9, [rsp + 0x40]
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
lea r8, [rdx + rax*2]
lea rdx, [rbp - 0x50]
cmovae rdx, qword [rbp - 0x50]
call fcn.140001060
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140005cd0
movzx r15d, ax
test ax, ax
jne 0x140004d62
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140004c6d
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c68
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r13b
cmp rdx, 8
jb 0x140004cbd
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004cb8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
mov rdx, qword [rbp - 0x58]
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
cmp rdx, 0x10
jb 0x140004d09
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d04
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
mov rdx, qword [rbp + 8]
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], r13b
cmp rdx, 8
jb 0x1400059b4
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d58
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
jmp 0x1400059b4
mov rdx, qword [rdi + 0x18]
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], 7
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], r13w
jne 0x140004d80
mov r8, rbx
lea rcx, [rsp + 0x70]
call fcn.140003e80
cmp qword [rbp - 0x78], 8
lea rdx, [rsp + 0x70]
mov rax, qword [rbp - 0x80]
lea r9, [rsp + 0x40]
cmovae rdx, qword [rsp + 0x70]
lea rcx, [rbp + 0x30]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x70]
cmovae rdx, qword [rsp + 0x70]
call fcn.140001060
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140005c30
mov rdx, qword [rbp + 0x48]
test ax, ax
movzx r14d, r14b
movzx r13d, ax
cmove r14d, r12d
cmp rdx, 0x10
jb 0x140004e27
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e22
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
mov rdx, qword [rbp - 0x78]
xor ebx, ebx
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], bl
cmp rdx, 8
jb 0x140004e79
mov rcx, qword [rsp + 0x70]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004e74
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
mov rdx, qword [rbp - 0x18]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], bx
cmp rdx, 0x10
jb 0x140004ec1
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ebc
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004f07
call fcn.140006ab8
mov rdx, qword [rbp - 0x38]
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], bl
cmp rdx, 8
jb 0x140004f17
mov rcx, qword [rbp - 0x50]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004f0e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004f0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ab8
jmp 0x140004f17
xor ebx, ebx
cmp esi, 0xffffffff
je 0x14000506f
mov dword [rbp + 0x454], ebx
mov dword [rbp + 0x450], esi
mov word [rbp + 0x45c], r15w
mov word [rbp + 0x45e], r13w
mov byte [rbp + 0x460], r14b
test r14b, r14b
je 0x140004f6d
mov r8, qword [rdi + 0x18]
lea rcx, [rbp + 0x462]
mov r9d, 0x103
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov dword [rbp + 0x454], 0x801c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rbp + 0x450]
cmp eax, 0x8001
jne 0x140004f8f
movzx ecx, byte [rsp + 0x48]
call fcn.140001a60
jmp 0x140004fc4
cmp eax, 0x8004
jne 0x140004fc4
xor edx, edx
lea r8, str.AMDRSDelayInitE
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_OpenEventW]
mov rbx, rax
test rax, rax
je 0x140004fc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
lea rdx, [rbp + 0x450]
lea rcx, [0x1400022e0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rdx, qword [rbp - 0x58]
test eax, eax
sete bl
cmp rdx, 0x10
jb 0x140005014
mov rcx, qword [rbp - 0x70]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000500f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005068
call fcn.140006ab8
mov rdx, qword [rbp + 8]
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], al
cmp rdx, 8
jb 0x140004b1d
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b18
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.1400061c0
test al, al
je 0x140005943
mov ecx, 0x80
call fcn.140006a7c
movaps xmm0, xmmword [str._Welcome_to_Cncmd_Help._n_n_Command_format___n_tCncmd__message____component___n__tCncmd__options__n_n_List_of_messages___n__t]
lea rdx, [0x140008ea0]
mov qword [rbp + 0x48], 0x7f
mov rcx, rax
mov r8d, 3
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140008f40]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140008f50]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140008f60]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140008f70]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x140008f80]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [0x140008f90]
movups xmmword [rax + 0x60], xmm0
movzx eax, word [0x140008fa0]
mov word [rcx + 0x70], ax
movzx eax, byte [0x140008fa2]
mov byte [rcx + 0x72], al
lea rax, [rbp + 0x30]
mov byte [rcx + 0x73], 0
mov qword [rbp + 0x30], rcx
mov qword [rbp + 0x40], 0x77
mov dword [rcx + 0x73], 0x776f6873
mov byte [rcx + 0x77], 0
lea rcx, [rbp + 0x250]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x250], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x260], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 4
lea rdx, str.hide
lea rcx, [rbp + 0x230]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x230], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x240], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ea0]
lea rcx, [rbp + 0x210]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x210], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x220], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 7
lea rdx, str.hideall
lea rcx, [rbp + 0x1f0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1f0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x200], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ea0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1e0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0x1d0]
call fcn.140003df0
mov r8d, 4
lea rdx, [0x140008f0c]
lea rcx, [rbp + 0x1b0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1c0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ea0]
lea rcx, [rbp + 0x190]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x190], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1a0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 5
lea rdx, str.pause
lea rcx, [rbp + 0x170]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x170], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x180], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ea0]
lea rcx, [rbp + 0x150]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x160], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 6
lea rdx, str.resume
lea rcx, [rbp + 0x130]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x130], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x140], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ea0]
lea rcx, [rbp + 0x110]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 8
lea rdx, str.reserved
lea rcx, [rbp + 0xf0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xf0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x100], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd0], xmm0
movups xmm1, xmmword [rax + 0x10]
mov r8d, 3
lea rdx, [0x140008ea0]
lea rcx, [rbp + 0xd0]
movups xmmword [rbp + 0xe0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 6
lea rdx, str.glinfo
lea rcx, [rbp + 0xb0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xb0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xc0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ee0]
lea rcx, [rbp + 0x90]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 0x17
lea rdx, str.List_of_components___n__t
lea rcx, [rbp + 0x2d0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2d0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2e0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 8
lea rdx, str.launcher
lea rcx, [rbp + 0x2b0]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2c0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 3
lea rdx, [0x140008ea0]
lea rcx, [rbp + 0x290]
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x290], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x2a0], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
mov r8d, 0xb
lea rdx, str.display_app
lea rcx, [rbp - 0x50]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140003df0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov r8d, 3
mov byte [rax], 0
lea rdx, [0x140008ea0]
lea rcx, [rsp + 0x70]
call fcn.140003df0
lea r8, str.workstation_app
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x10]
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
call fcn.140001100
mov rdx, rax
lea r8, str._n_n_List_of_options___n__t
lea rcx, [rbp + 0x50]
call fcn.140001100
mov rdx, rax
lea r8, str.help
lea rcx, [rbp + 0x3f0]
call fcn.140001100
mov rdx, rax
lea r8, str._t_t_Shows_Cncmd_Help._n__t
lea rcx, [rbp + 0x3d0]
call fcn.140001100
mov rdx, rax
lea r8, [0x140008e50]
lea rcx, [rbp + 0x3b0]
call fcn.140001100
mov rdx, rax
lea r8, str._t_t_Shows_Cncmd_Help._n_t
lea rcx, [rbp + 0x390]
call fcn.140001100
mov rdx, rax
lea r8, str.restart
lea rcx, [rbp + 0x370]
call fcn.140001100
mov rdx, rax
lea r8, str._t_t_Shows_Cncmd_Help._n_t
lea rcx, [rbp + 0x350]
call fcn.140001100
mov rdx, rax
lea r8, str.restartandshow
lea rcx, [rbp + 0x330]
call fcn.140001100
mov rdx, rax
lea r8, [0x140008de4]
lea rcx, [rbp + 0x310]
call fcn.140001100
mov rdx, rax
lea r8, str._Restarts_and_Shows_CNext_App_.__n_t
lea rcx, [rbp + 0x2f0]
call fcn.140001100
mov rdx, rax
lea r8, str.startwithdelay
lea rcx, [rbp + 0x430]
call fcn.140001100
mov rdx, rax
lea r8, [0x140008de4]
lea rcx, [rbp + 0x410]
call fcn.140001100
mov rdx, rax
lea r8, str._Starts_RadeonSetting.exe_with_delay.__n_n
lea rcx, [rbp + 0x270]
call fcn.140001100
lea rcx, [rbp + 0x410]
call fcn.140001980
lea rcx, [rbp + 0x430]
call fcn.140001980
lea rcx, [rbp + 0x2f0]
call fcn.140001980
lea rcx, [rbp + 0x310]
call fcn.140001980
lea rcx, [rbp + 0x330]
call fcn.140001980
lea rcx, [rbp + 0x350]
call fcn.140001980
lea rcx, [rbp + 0x370]
call fcn.140001980
lea rcx, [rbp + 0x390]
call fcn.140001980
lea rcx, [rbp + 0x3b0]
call fcn.140001980
lea rcx, [rbp + 0x3d0]
call fcn.140001980
lea rcx, [rbp + 0x3f0]
call fcn.140001980
lea rcx, [rbp + 0x50]
call fcn.140001980
lea rcx, [rbp + 0x10]
call fcn.140001980
lea rcx, [rbp - 0x30]
call fcn.140001980
lea rcx, [rsp + 0x70]
call fcn.140001980
lea rcx, [rbp - 0x50]
call fcn.140001980
lea rcx, [rbp + 0x290]
call fcn.140001980
lea rcx, [rbp + 0x2b0]
call fcn.140001980
lea rcx, [rbp + 0x2d0]
call fcn.140001980
lea rcx, [rbp + 0x90]
call fcn.140001980
lea rcx, [rbp + 0xb0]
call fcn.140001980
lea rcx, [rbp + 0xd0]
call fcn.140001980
lea rcx, [rbp + 0xf0]
call fcn.140001980
lea rcx, [rbp + 0x110]
call fcn.140001980
lea rcx, [rbp + 0x130]
call fcn.140001980
lea rcx, [rbp + 0x150]
call fcn.140001980
lea rcx, [rbp + 0x170]
call fcn.140001980
lea rcx, [rbp + 0x190]
call fcn.140001980
lea rcx, [rbp + 0x1b0]
call fcn.140001980
lea rcx, [rbp + 0x1d0]
call fcn.140001980
lea rcx, [rbp + 0x1f0]
call fcn.140001980
lea rcx, [rbp + 0x210]
call fcn.140001980
lea rcx, [rbp + 0x230]
call fcn.140001980
lea rcx, [rbp + 0x250]
call fcn.140001980
lea rcx, [rbp + 0x30]
call fcn.140001980
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x270]
call fcn.140003fe0
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x270]
mov rbx, qword [rax]
call fcn.140003fb0
lea r9, [rsp + 0x40]
mov r8, rbx
lea rcx, [rbp + 0x70]
mov rdx, qword [rax]
call fcn.140001000
lea rcx, [rbp + 0x70]
call fcn.140003fd0
mov rdx, rax
lea r8, str.Help
mov r9d, 0x2040
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rcx, [rbp + 0x70]
call fcn.140003cf0
lea rcx, [rbp + 0x270]
call fcn.140001980
lea rcx, [rbp - 0x70]
call fcn.140001980
lea rcx, [rbp - 0x10]
call fcn.140003cf0
xor eax, eax
jmp 0x1400059b7
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.1400062e0
test al, al
je 0x140005979
call fcn.140003390
lea rcx, [rbp - 0x70]
mov ebx, eax
call fcn.140001980
lea rcx, [rbp - 0x10]
call fcn.140003cf0
mov eax, ebx
jmp 0x1400059b7
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140006330
test al, al
je 0x1400059f4
call fcn.140001f70
test eax, eax
je 0x1400059a2
xor ecx, ecx
call fcn.140001a60
lea rcx, [rbp - 0x70]
call fcn.140001980
lea rcx, [rbp - 0x10]
call fcn.140003cf0
mov eax, r12d
mov r15, qword [rsp + 0xdf0]
mov r13, qword [rsp + 0xe30]
mov rsi, qword [rsp + 0xe28]
mov rbx, qword [rsp + 0xe20]
mov rcx, qword [rbp + 0xce0]
xor rcx, rsp
call fcn.140006ed0
add rsp, 0xdf8
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.1400060c0
test al, al
je 0x140005a14
call fcn.140001c80
jmp 0x1400059a2
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140006060
test al, al
je 0x140005af3
call fcn.140001c80
lea rdx, str.AMD_ReLive
lea rcx, [rbp + 0x10]
call fcn.140001810
lea rdx, str.amddvr.exe
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.140001810
mov rdx, rbx
mov rcx, rax
call fcn.140001af0
lea rdx, str.AMD_Radeon_Software_Service
lea rcx, [rbp + 0x10]
call fcn.140001810
lea rdx, str.AMDRSServ.exe
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.140001810
mov rdx, rbx
mov rcx, rax
call fcn.140001af0
lea rdx, str.AMD_Radeon_Software
lea rcx, [rbp + 0x10]
call fcn.140001810
lea rdx, [0x140008660]
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.140001810
mov rdx, rbx
mov rcx, rax
call fcn.140001af0
lea rdx, str.AMD_Link
lea rcx, [rbp + 0x10]
call fcn.140001810
lea rdx, str.AMDLink.exe
mov rbx, rax
lea rcx, [rbp + 0x50]
call fcn.140001810
mov rdx, rbx
mov rcx, rax
call fcn.140001af0
jmp 0x1400059a2
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140006220
test al, al
je 0x140005b51
call fcn.140002a50
mov ebx, eax
test eax, eax
jne 0x140005b1c
call fcn.140002c30
lea rcx, [rbp + 0x450]
call fcn.140001850
lea rdx, [rbp + 0x450]
mov dword [rbp + 0x450], 0x8016
lea rcx, [0x140002220]
mov dword [rbp + 0x458], ebx
call qword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1400059a2
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140001730
mov rcx, rax
call fcn.140006120
test al, al
je 0x1400059a2
call fcn.140006460
lea rcx, [rbp - 0x70]
mov ebx, eax
call fcn.140001980
lea rcx, [rbp - 0x10]
call fcn.140003cf0
mov eax, ebx
jmp 0x1400059b7
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 0x70]
call fcn.140001810
lea rcx, [rbp + 0x70]
call fcn.140003fd0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov ecx, eax
call fcn.140003930
int3