Function at 0x100018ed8
Capabilities:
Accept command line arguments
Delete registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r13, rdx
mov rsi, rcx
xor r12d, r12d
cmp rdx, r12
jne 0x100018f15
mov eax, 0x80004003
jmp 0x100019783
mov byte [rdx], r12b
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov r11, rax
cmp rax, r12
jne 0x100018f30
mov eax, 0x80004003
jmp 0x100019783
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r11
repne scasw ax, word [rdi]
not rcx
lea ebx, [rax + 1]
sub rcx, rbx
cmp rcx, 0x200
jbe 0x100018ffb
lea rcx, [rsp + 0xd0]
call fcn.100042078
nop
lea rdx, [0x100002dec]
lea rcx, [rsp + 0x68]
call fcn.100017e84
nop
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0xf79a
mov r9d, 0xf79b
mov r8d, 0xf692
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0xd0]
call fcn.1000420cc
mov edi, eax
mov rcx, qword [rsp + 0x68]
add rcx, 0xfffffffffffffff4
lea rbp, [0x1000a1170]
cmp rcx, rbp
je 0x100018fdd
or edx, 0xffffffff
lock xadd dword [rcx], edx
dec edx
cmp edx, r12d
jg 0x100018fdd
call fcn.10007a490
cmp edi, r12d
jge 0x100018fe4
jmp 0x100018fe7
mov edi, r12d
lea rcx, [rsp + 0xd0]
call fcn.1000420a4
mov eax, edi
jmp 0x100019783
lea rdx, [rsp + 0x138]
mov rcx, r11
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x78], rax
lea rbp, [0x1000a1170]
cmp rax, r12
je 0x1000195c4
mov r14d, ebx
cmp dword [rsp + 0x138], ebx
jle 0x1000195bb
lea r15, [rax + 8]
mov rdx, qword [r15]
lea rcx, [rsp + 0x40]
call fcn.100017e84
nop
mov rdi, qword [rsp + 0x40]
cmp dword [rdi - 8], r12d
jl 0x100019183
lea rdx, [0x100003a78]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x100019183
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x100019183
mov rax, qword [0x1000a1180]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.100065ec4
mov r12d, eax
test eax, eax
jns 0x1000190cf
mov rcx, qword [rsp + 0x50]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x100019154
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x1000190c5
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
jmp 0x100019154
mov rdi, qword [rsp + 0x40]
jmp 0x100019154
mov rbx, qword [rsp + 0x50]
mov rdx, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rcx, [rsi + 0x328]
call fcn.1000655e4
mov r12d, eax
test eax, eax
jns 0x100019125
lea rcx, [rbx - 0xc]
cmp rcx, rbp
je 0x10001911e
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x100019119
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
jmp 0x10001911e
mov rdi, qword [rsp + 0x40]
mov ebx, 1
jmp 0x100019154
lea rcx, [rbx - 0xc]
cmp rcx, rbp
je 0x10001914c
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
test eax, eax
jg 0x100019147
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
jmp 0x10001914c
mov rdi, qword [rsp + 0x40]
xor r12d, r12d
lea ebx, [r12 + 1]
test r12d, r12d
js 0x1000194e3
lea rcx, [rsi + 0x1c8]
mov dl, bl
call fcn.10005e5a0
mov ebx, eax
xor r12d, r12d
cmp eax, r12d
jl 0x1000194c0
lea ebx, [r12 + 1]
jmp 0x10001948a
cmp dword [rdi - 8], r12d
jl 0x1000191cb
lea rdx, [0x100003a88]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x1000191cb
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x1000191cb
mov ecx, ebx
call qword [sym.imp.USER32.dll_SetProcessDefaultLayout]
cmp eax, r12d
setne al
cmp al, r12b
je 0x100019506
mov byte [rsi + 0x1bc0], bl
jmp 0x10001948a
cmp dword [rdi - 8], r12d
jl 0x10001920f
lea rdx, [0x100003a98]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x10001920f
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x10001920f
xor r9d, r9d
lea r8, [0x100002dec]
lea rdx, [0x100002dec]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x10001948a
cmp dword [rdi - 8], r12d
jl 0x100019240
lea rdx, [0x100003aa8]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x100019240
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x100019240
mov byte [rsi + 0x1bbd], bl
jmp 0x10001948a
cmp dword [rdi - 8], r12d
jl 0x10001935d
lea rdx, [0x100003ac0]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x10001935d
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x10001935d
cmp dword [rdi - 8], 7
jl 0x10001948a
mov r9d, ebx
mov r8d, 7
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.10001c1a8
nop
lea rcx, [rsp + 0x48]
call fcn.1000166e4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.USER32.dll_CharUpperW]
lea r8, [0x100002e10]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.100017c44
nop
lea rcx, [rsi + 0x3b8]
mov rdx, rax
call fcn.100060044
mov ebx, eax
mov rax, qword [rsp + 0x60]
add rax, 0xfffffffffffffff4
cmp rax, rbp
je 0x100019308
or ecx, 0xffffffff
lock xadd dword [rax], ecx
dec ecx
cmp ecx, r12d
jg 0x100019303
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff4
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
jmp 0x100019308
mov rdi, qword [rsp + 0x40]
cmp ebx, r12d
jl 0x10001952c
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x100019485
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x10001934e
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
mov ebx, 1
jmp 0x10001948a
mov rdi, qword [rsp + 0x40]
mov ebx, 1
jmp 0x10001948a
cmp dword [rdi - 8], r12d
jl 0x10001943c
lea rdx, [0x100003ad0]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x10001943c
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x10001943c
lea rcx, [rsp + 0x88]
call fcn.100042078
nop
lea rdx, [0x100002dec]
lea rcx, [rsp + 0x58]
call fcn.100017e84
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0xf79c
mov r9d, 0xf79d
mov r8d, 0xf692
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x88]
call fcn.1000420cc
mov ebx, eax
mov rcx, qword [rsp + 0x58]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x10001941f
or edx, 0xffffffff
lock xadd dword [rcx], edx
dec edx
cmp edx, r12d
jg 0x10001941a
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
jmp 0x10001941f
mov rdi, qword [rsp + 0x40]
cmp ebx, r12d
jl 0x100019585
lea rcx, [rsp + 0x88]
call fcn.1000420a4
mov ebx, 1
jmp 0x10001948a
cmp dword [rdi - 8], r12d
jl 0x10001946c
lea rdx, [0x100002728]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_wcsstr]
cmp rax, r12
je 0x10001946c
sub rax, rdi
sar rax, 1
cmp eax, 0xffffffff
je 0x10001946c
add r14d, 2
add r15, 0x10
jmp 0x10001948a
cmp dword [rdi - 8], r12d
je 0x10001948a
lea rcx, [rsi + 0x320]
lea rdx, [rsp + 0x40]
call fcn.10001c054
jmp 0x10001948a
mov ebx, 1
lea rcx, [rdi - 0xc]
cmp rcx, rbp
je 0x1000194a6
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x1000194a6
call fcn.10007a490
add r14d, ebx
add r15, 8
cmp r14d, dword [rsp + 0x138]
jge 0x1000195b6
jmp 0x100019035
lea rcx, [rdi - 0xc]
cmp rcx, rbp
je 0x1000194dc
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x1000194dc
call fcn.10007a490
mov eax, ebx
jmp 0x100019783
lea rcx, [rdi - 0xc]
cmp rcx, rbp
je 0x1000194fe
or edx, 0xffffffff
lock xadd dword [rcx], edx
dec edx
test edx, edx
jg 0x1000194fe
call fcn.10007a490
mov eax, r12d
jmp 0x100019783
lea rcx, [rdi - 0xc]
cmp rcx, rbp
je 0x100019522
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x100019522
call fcn.10007a490
mov eax, 0x80004005
jmp 0x100019783
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x100019562
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x10001955d
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff4
call fcn.10007a490
mov rdi, qword [rsp + 0x40]
jmp 0x100019562
mov rdi, qword [rsp + 0x40]
lea rcx, [rdi - 0xc]
cmp rcx, rbp
je 0x10001957e
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x10001957e
call fcn.10007a490
mov eax, ebx
jmp 0x100019783
lea rcx, [rsp + 0x88]
call fcn.1000420a4
nop
lea rcx, [rdi - 0xc]
cmp rcx, rbp
je 0x1000195af
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x1000195af
call fcn.10007a490
mov eax, ebx
jmp 0x100019783
mov rax, qword [rsp + 0x78]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov byte [r13], r12b
mov ecx, dword [0x1000a1cbc]
cmp ecx, 0xffffffff
jne 0x1000195ff
mov dword [0x1000a1cbc], r12d
lea rdx, [0x1000a1cbc]
lea rcx, [0x100004ba8]
call sub.slc.dll_SLGetWindowsInformationDWORD
mov ecx, dword [0x1000a1cbc]
cmp eax, r12d
cmovl ecx, ebx
mov dword [0x1000a1cbc], ecx
cmp ecx, r12d
je 0x10001970c
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp eax, r12d
setne al
cmp al, r12b
je 0x1000196c9
lea rcx, [rsp + 0xa8]
call fcn.100050774
nop
lea rdx, [0x100002dec]
lea rcx, [rsp + 0x70]
call fcn.100017e84
nop
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0xf742
xor edx, edx
mov r9d, 0xf797
mov r8d, 0xf692
lea rcx, [rsp + 0xa8]
call fcn.100050a0c
mov edi, eax
mov rcx, qword [rsp + 0x70]
add rcx, 0xfffffffffffffff4
cmp rcx, rbp
je 0x1000196a4
or eax, 0xffffffff
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jg 0x1000196a4
call fcn.10007a490
cmp edi, r12d
jge 0x1000196b9
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100019703
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10001970c
lea rcx, [rsi + 0x570]
call fcn.10004f51c
cmp eax, r12d
jl 0x10001970c
lea rcx, [rsi + 0x570]
call fcn.10004f384
cmp eax, r12d
jl 0x10001970c
lea rcx, [rsi + 0x570]
call fcn.10004f6c8
cmp eax, r12d
jl 0x10001970c
mov byte [r13], bl
mov edi, r12d
cmp edi, r12d
jge 0x10001970c
mov eax, edi
jmp 0x100019783
cmp byte [r13], r12b
jne 0x100019716
xor eax, eax
jmp 0x100019783
lea rcx, [0x100003ae8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp rax, r12
je 0x100019743
lea rdx, [0x100003b08]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
je 0x100019743
xor edx, edx
xor ecx, ecx
call rax
cmp byte [rsi + 0x1bbd], r12b
sete dl
lea rcx, [rsi + 0x1c8]
call fcn.10005e5a0
cmp eax, r12d
jl 0x100019783
mov byte [rsi + 0x1bbe], bl
mov rax, qword [rsi + 0x320]
cmp dword [rax - 8], r12d
jne 0x10001977a
cmp byte [rsi + 0x39f], r12b
je 0x100019781
mov byte [rsi + 0x1bbe], r12b
xor eax, eax
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret