Function at 0x14007d220
Capabilities:
Delete registry key
Delete registry value
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6c0]
sub rsp, 0x7c0
mov rax, qword [0x1401737a8]
xor rax, rsp
mov qword [rbp + 0x6b0], rax
lea rdx, str.SoftwareSystems_InternalsProcess_Explorer
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea r12, [0x140189c80]
xor edx, edx
mov rcx, r12
mov r8d, 0x4848
call fcn.1400e36c0
mov edx, dword [0x1401794ec]
mov r8d, 0x60
mov dword [0x140189c88], 1
lea ecx, [r8 - 0x2e]
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794ec]
mov r8d, 0x60
mov ecx, 0x28a
mov dword [0x140189ca0], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794e8]
mov r13d, 0x64
mov ecx, r13d
mov dword [0x140189ca8], eax
mov r8d, 0x60
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794e8]
lea r8d, [r13 - 4]
mov ecx, 0x384
mov dword [0x140189c9c], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794ec]
lea r8d, [r13 - 4]
lea ecx, [r13 + 0x32]
mov dword [0x140189ca4], eax
mov dword [0x140189c80], 0x2c
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794e8]
lea r8d, [r13 - 4]
lea ecx, [r13 + 0x32]
mov dword [0x140189ccc], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794ec]
lea r8d, [r13 - 4]
lea ecx, [r13 - 0x3c]
mov dword [0x140189cc8], eax
mov dword [0x140189cac], 0x2c
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794e8]
lea r8d, [r13 - 4]
lea ecx, [r13 - 0x3c]
mov dword [0x140189cf8], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794ec]
lea r8d, [r13 - 4]
lea ecx, [r13 - 0x3c]
mov dword [0x140189cf4], eax
mov dword [0x140189cd8], 0x2c
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794e8]
lea r8d, [r13 - 4]
lea ecx, [r13 - 0x3c]
mov dword [0x140189d24], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794ec]
lea r8d, [r13 - 4]
lea ecx, [r13 - 0x3c]
mov dword [0x140189d20], eax
mov dword [0x140189d04], 0x2c
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [0x1401794e8]
lea r8d, [r13 - 4]
lea ecx, [r13 - 0x3c]
mov dword [0x140189d50], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
xor esi, esi
mov dword [0x140189d30], 0x2c
mov dword [0x140189d4c], eax
mov ecx, esi
lea rax, [0x14018e444]
nop
add ecx, 9
mov dword [rax - 0xc], 0xffffffff
mov dword [rax], 0xffffffff
mov dword [rax + 0xc], 0xffffffff
mov dword [rax + 0x18], 0xffffffff
mov dword [rax + 0x24], 0xffffffff
mov dword [rax + 0x30], 0xffffffff
mov dword [rax + 0x3c], 0xffffffff
mov dword [rax + 0x48], 0xffffffff
mov dword [rax + 0x54], 0xffffffff
lea rax, [rax + 0x6c]
cmp ecx, 9
jb 0x14007d410
mov dword [0x14018a00c], 6
lea r14, [0x14018a010]
mov edi, esi
lea r15, [0x140000000]
mov rbx, rsi
nop word [rax + rax]
movzx eax, word [rbx + r15 + 0x16e5e0]
mov r8d, 0x60
movzx ecx, word [rbx + r15 + 0x16e5e2]
mov edx, dword [0x1401794e8]
mov dword [rbp + rbx + 0x134], eax
mov dword [rbx + r12 + 0x450], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [r14], ax
inc edi
cmp edi, dword [0x14018a00c]
lea rbx, [rbx + 4]
lea r14, [r14 + 2]
jl 0x14007d480
mov dword [0x14018a25c], 2
lea r14, [0x14018a260]
mov edi, esi
mov rbx, rsi
nop
movzx eax, word [rbx + r15 + 0x16e5f8]
mov r8d, 0x60
movzx ecx, word [rbx + r15 + 0x16e5fa]
mov edx, dword [0x1401794e8]
mov dword [rbx + r12 + 0x6ec], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [r14], ax
inc edi
cmp edi, dword [0x14018a25c]
lea rbx, [rbx + 4]
lea r14, [r14 + 2]
jl 0x14007d4e0
mov dword [0x14018a328], 4
lea r14, [0x14018a32c]
mov edi, esi
mov rbx, rsi
nop dword [rax + rax]
movzx eax, word [rbx + r15 + 0x16e600]
mov r8d, 0x60
movzx ecx, word [rbx + r15 + 0x16e602]
mov edx, dword [0x1401794e8]
mov dword [rbx + r12 + 0x620], eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov word [r14], ax
inc edi
cmp edi, dword [0x14018a328]
lea rbx, [rbx + 4]
lea r14, [r14 + 2]
jl 0x14007d540
mov ecx, reloc.COMCTL32.dll_InitCommonControls
call qword [sym.imp.GDI32.dll_GetStockObject]
lea r8, [rsp + 0x50]
mov edx, 0x5c
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [0x1401794ec]
mov r8d, 0x48
mov dword [rsp + 0x60], 0x190
lea ecx, [r8 - 0x40]
call qword [sym.imp.KERNEL32.dll_MulDiv]
movaps xmm1, xmmword [rsp + 0x60]
lea rcx, str.SoftwareSysinternalsProcess_Explorer
neg eax
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x50]
mov eax, dword [rbp - 0x58]
movups xmmword [0x140189d88], xmm0
mov dword [0x140189de0], eax
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [0x140189d98], xmm1
movaps xmm1, xmmword [rbp - 0x80]
movups xmmword [0x140189da8], xmm0
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [0x140189db8], xmm1
movsd xmm1, qword [rbp - 0x60]
movups xmmword [0x140189dc8], xmm0
movsd qword [0x140189dd8], xmm1
call fcn.1400e81d8
lea rdx, str.Windowplacement
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.14005af20
mov ecx, dword [0x140189d88]
test ecx, ecx
jle 0x14007d65e
mov edx, dword [0x1401794ec]
mov r8d, 0x48
call qword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [0x140189d88], eax
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000001
lea rdx, str.SoftwareSysinternalsProcess_Explorer
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14007d8b8
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Settings
lea rax, [rbp - 0x50]
mov dword [rsp + 0x30], 0x6f8
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007d8b8
mov eax, dword [rbp - 0x50]
add eax, 0xfffffe0b
cmp eax, 0x140
ja 0x14007d8b8
mov r9d, dword [rbp + 0x130]
mov edx, esi
mov r11d, 0x7cf
test r9d, r9d
jle 0x14007d75f
lea rcx, [rbp + 0x588]
lea r8, [rbp + 0x48]
nop dword [rax]
movzx eax, word [r8]
dec ax
cmp ax, r11w
ja 0x14007d719
mov eax, dword [rcx]
dec eax
cmp eax, 0xa027
ja 0x14007d719
inc edx
add r8, 2
add rcx, 4
cmp edx, r9d
jl 0x14007d6f0
jmp 0x14007d75f
mov edx, esi
lea rcx, [rbp + 0x134]
lea r8, [rbp + 0x48]
nop word [rax + rax]
movzx eax, word [r8]
dec ax
cmp ax, r11w
ja 0x14007d8b8
mov eax, dword [rcx]
dec eax
cmp eax, 0xa027
ja 0x14007d8b8
inc edx
add r8, 2
add rcx, 4
cmp edx, r9d
jl 0x14007d730
mov r9d, dword [rbp + 0x1b4]
mov edx, esi
test r9d, r9d
jle 0x14007d7af
lea rcx, [rbp + 0x1b8]
lea r8, [rbp + 0xc8]
nop dword [rax + rax]
movzx eax, word [r8]
dec ax
cmp ax, r11w
ja 0x14007d8b8
mov eax, dword [rcx]
dec eax
cmp eax, 0xa027
ja 0x14007d8b8
inc edx
add r8, 2
add rcx, 4
cmp edx, r9d
jl 0x14007d780
mov r10d, dword [rbp + 0x238]
mov r8d, esi
test r10d, r10d
jle 0x14007d800
lea rcx, [rbp + 0x23c]
lea r9, [rbp + 0x88]
nop dword [rax]
movzx eax, word [r9]
dec ax
cmp ax, r11w
ja 0x14007d8b8
mov eax, dword [rcx]
dec eax
cmp eax, 0xa027
ja 0x14007d8b8
inc r8d
add r9, 2
add rcx, 4
cmp r8d, r10d
jl 0x14007d7d0
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp - 0x50]
mov rcx, r12
call fcn.140074bc0
mov rcx, qword [rsp + 0x38]
lea rdx, str.Settings
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x14018dfb4]
test eax, eax
cmove eax, r13d
cmp dword [0x14018a0d0], esi
mov dword [0x14018dfb4], eax
jne 0x14007d8b8
movups xmm0, xmmword [rbp + 0x134]
movups xmm1, xmmword [rbp + 0x144]
movaps xmmword [0x14018a0d0], xmm0
movups xmm0, xmmword [rbp + 0x154]
movaps xmmword [0x14018a0e0], xmm1
movups xmm1, xmmword [rbp + 0x164]
movaps xmmword [0x14018a0f0], xmm0
movups xmm0, xmmword [rbp + 0x174]
movaps xmmword [0x14018a100], xmm1
movups xmm1, xmmword [rbp + 0x184]
movaps xmmword [0x14018a110], xmm0
movups xmm0, xmmword [rbp + 0x194]
movaps xmmword [0x14018a120], xmm1
movups xmm1, xmmword [rbp + 0x1a4]
movaps xmmword [0x14018a130], xmm0
movaps xmmword [0x14018a140], xmm1
cmp dword [0x14018a00c], esi
lea r15, [0x14018a0d0]
mov r14d, esi
jle 0x14007d96c
mov r13, r15
lea r15, [0x140189c80]
nop dword [rax + rax]
cmp dword [r13], 3
lea r12d, [r14 + 1]
jne 0x14007d94e
mov eax, dword [0x14018a00c]
lea rdx, [r15 + 0x450]
dec eax
movsxd rbx, r12d
mov dword [0x14018a00c], eax
lea rcx, [r15 + 0x450]
sub eax, r14d
movsxd rdi, r14d
movsxd r8, eax
shl r8, 2
lea rdx, [rdx + rbx*4]
lea rcx, [rcx + rdi*4]
call fcn.1400e3010
mov eax, dword [0x14018a00c]
lea rdx, [r15 + 0x390]
sub eax, r14d
lea rcx, [r15 + 0x390]
movsxd r8, eax
lea rdx, [rdx + rbx*2]
add r8, r8
lea rcx, [rcx + rdi*2]
call fcn.1400e3010
add r13, 4
mov r14d, r12d
cmp r12d, dword [0x14018a00c]
jl 0x14007d8e0
lea r15, [0x14018a0d0]
lea r12, [0x140189c80]
mov ebx, esi
mov edi, 0xffffffff
cmp dword [0x14018a00c], ebx
jle 0x14007d9ed
nop dword [rax + rax]
cmp dword [r15], 4
jne 0x14007d993
cmp byte [0x14018dfb2], sil
mov edi, ebx
jne 0x14007d9e8
jmp 0x14007d9da
call fcn.14008f340
test al, al
jne 0x14007d9da
cmp byte [0x14018dfb2], sil
jne 0x14007d9da
mov eax, dword [r15]
sub eax, 0x649
cmp eax, 0x1b
ja 0x14007d9da
mov r9d, gethostbyaddr
mov byte [0x14018dfb2], 1
lea r8, [0x14011f590]
xor ecx, ecx
lea rdx, str.Note_that_Disk_and_Networking_information_requires_administrative_rights
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp edi, 0xffffffff
jne 0x14007da10
inc ebx
add r15, 4
cmp ebx, dword [0x14018a00c]
jl 0x14007d980
cmp edi, 0xffffffff
jne 0x14007da10
movsxd rax, ebx
mov ecx, 0xc8
mov dword [r12 + rax*4 + 0x450], 4
mov word [r12 + rax*2 + 0x390], cx
inc dword [0x14018a00c]
cmp dword [0x14018a3f4], esi
jle 0x14007da40
lea rbx, [0x14018a3f8]
nop
movsxd rax, esi
mov edx, esi
imul r8, rax, 0x5f4
xor ecx, ecx
add r8, rbx
call fcn.14007a6b0
inc esi
cmp esi, dword [0x14018a3f4]
jl 0x14007da20
cmp word [0x14018e1ce], 0
jne 0x14007da64
mov r8d, 0x104
lea rdx, [0x14018e1ce]
lea rcx, str._NT_SYMBOL_PATH
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rcx, [0x140189d88]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
movups xmm0, xmmword [0x140189d88]
mov qword [0x140189c50], rax
lea rcx, [rsp + 0x50]
movups xmm1, xmmword [0x140189d98]
mov eax, dword [0x140189de0]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x140189da8]
mov dword [rbp - 0x58], eax
movaps xmmword [rsp + 0x60], xmm1
movups xmm1, xmmword [0x140189db8]
mov byte [rsp + 0x65], 1
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [0x140189dc8]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm1, qword [0x140189dd8]
movaps xmmword [rbp - 0x70], xmm0
movsd qword [rbp - 0x60], xmm1
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rcx, qword [rsp + 0x40]
mov qword [0x140189c58], rax
call fcn.1400e825c
mov rcx, qword [rbp + 0x6b0]
xor rcx, rsp
call fcn.1400e17a0
lea r11, [rsp + 0x7c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret