Function at 0x1400e03f8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov r15, r8
mov r13, rdx
mov rsi, rcx
xor r14d, r14d
mov dword [rsp + 0x60], r14d
test rdx, rdx
je 0x1400e0441
mov dword [rdx], r14d
test r15, r15
je 0x1400e0449
mov dword [r8], r14d
mov qword [rsp + 0x70], r14
mov edx, 2
mov ecx, 0xffff
call fcn.14012005c
mov r12, rax
test rax, rax
je 0x1400e0979
mov edi, r14d
mov dword [rsp + 0x64], r14d
mov r8d, 0x966
mov rdx, qword [rsi + 8]
lea rcx, [rbp - 0x78]
call fcn.14002a180
nop
mov r8d, 0x967
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x78]
call fcn.14002a180
nop
lea rdx, [rsi + 0x18]
lea rcx, [rbp - 0x18]
call fcn.14012b514
nop
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov ebx, 0x14b
mov r8d, ebx
mov edx, 0x966
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, ebx
mov edx, 0x967
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.Directory_shell
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400e0664
xor edx, edx
mov r8d, 0x248
lea rcx, [rbp]
call fcn.14013b230
mov dword [rbp - 0x68], 0x104
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
lea r8, [rbp]
mov edx, r14d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400e0656
lea rax, [rbp]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp word [rax + rbx*2], dx
jne 0x1400e0566
lea r8, str.command
mov edx, 0x124
lea rcx, [rbp]
call fcn.140001f38
xor eax, eax
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rbp]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edx, edx
test eax, eax
jne 0x1400e0646
mov dword [rsp + 0x68], 0x1fffa
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
xor ecx, ecx
test eax, eax
jne 0x1400e063c
mov eax, dword [rsp + 0x68]
shr rax, 1
mov word [r12 + rax*2], cx
mov word [rbp + rbx*2], cx
mov bl, cl
lea rcx, [rbp - 0x40]
call fcn.1401286a8
nop
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.14012571c
mov rdi, rax
test rax, rax
je 0x1400e062f
lea rcx, [rbp - 0x40]
call fcn.140058574
mov rcx, rax
call fcn.1401247fc
test al, al
jne 0x1400e071c
mov edi, dword [rsp + 0x64]
lea rcx, [rbp - 0x40]
call fcn.1401286cc
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc r14d
cmp r14d, 0x200
jb 0x1400e0510
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r14d, r14d
lea rcx, [rbp - 0x78]
call fcn.140120ef0
test al, al
je 0x1400e07bc
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x50]
call fcn.140120bb8
nop
mov ebx, 1
jmp 0x1400e07f6
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
xor r9d, r9d
lea r8, str._inside:
lea rdx, str._inside
lea rcx, [rbp - 0x40]
call fcn.1401288cc
xor ecx, ecx
test al, al
jne 0x1400e073b
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rcx
lea rax, str._CmdList
mov qword [rsp + 0x20], rax
lea r9, [0x140171fa8]
lea r8, [0x1401a8d08]
lea rdx, [0x140171fb8]
lea rcx, [rbp - 0x40]
call fcn.1401288cc
test al, al
jne 0x1400e073d
xor r8d, r8d
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14012571c
xor ecx, ecx
test rax, rax
mov rdi, rax
jne 0x1400e068d
jmp 0x1400e073d
mov bl, 1
mov rax, r13
test bl, bl
cmovne rax, r15
test rax, rax
je 0x1400e074d
inc dword [rax]
mov edi, dword [rsp + 0x64]
inc edi
mov dword [rsp + 0x64], edi
movzx edx, bl
xor edx, 1
add edx, 0x966
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x143
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rcx, [rsp + 0x78]
lea rax, [rbp - 0x78]
test bl, bl
cmovne rcx, rax
call fcn.14012148c
test al, al
je 0x1400e0633
or r8, 0xffffffffffffffff
lea rdx, [rbp]
test bl, bl
je 0x1400e07b5
lea rcx, [rbp - 0x78]
call fcn.140121718
jmp 0x1400e0633
lea rcx, [rsp + 0x78]
jmp 0x1400e07ab
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14015a140]
lea rcx, [rbp - 0x60]
call fcn.140120be0
nop
mov ebx, 2
mov dword [rsp + 0x60], ebx
mov rcx, rax
call fcn.140058574
mov r8, rax
mov r15d, 0x966
mov edx, r15d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
test bl, 2
je 0x1400e082f
and ebx, 0xfffffffd
mov dword [rsp + 0x60], ebx
lea rcx, [rbp - 0x60]
call fcn.140120ddc
nop
test bl, 1
je 0x1400e0844
and ebx, 0xfffffffe
mov dword [rsp + 0x60], ebx
lea rcx, [rbp - 0x50]
call fcn.140120ddc
lea rcx, [rbp - 0x78]
call fcn.140120ef0
test al, al
je 0x1400e0878
lea rcx, [rbp - 0x78]
call fcn.140058574
cmp word [rax], r14w
je 0x1400e0878
lea rcx, [rbp - 0x78]
call fcn.140058574
mov r8, rax
mov edx, r15d
mov rcx, qword [rsi + 8]
call fcn.1400d48f8
lea rcx, [rsp + 0x78]
call fcn.140120ef0
test al, al
je 0x1400e089a
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.140120bb8
nop
or ebx, 4
jmp 0x1400e08d2
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14015a140]
lea rcx, [rbp - 0x50]
call fcn.140120be0
nop
or ebx, 8
mov dword [rsp + 0x60], ebx
mov rcx, rax
call fcn.140058574
mov r8, rax
mov r15d, 0x967
mov edx, r15d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
test bl, 8
je 0x1400e0907
and ebx, 0xfffffff7
lea rcx, [rbp - 0x50]
call fcn.140120ddc
nop
test bl, 4
je 0x1400e0915
lea rcx, [rbp - 0x60]
call fcn.140120ddc
lea rcx, [rsp + 0x78]
call fcn.140120ef0
test al, al
je 0x1400e094c
lea rcx, [rsp + 0x78]
call fcn.140058574
cmp word [rax], r14w
je 0x1400e094c
lea rcx, [rsp + 0x78]
call fcn.140058574
mov r8, rax
mov edx, r15d
mov rcx, qword [rsi + 8]
call fcn.1400d48f8
mov rcx, r12
call fcn.14012008c
test edi, edi
setg bl
lea rcx, [rbp - 0x18]
call fcn.14012b530
nop
lea rcx, [rsp + 0x78]
call fcn.140120ddc
nop
lea rcx, [rbp - 0x78]
call fcn.140120ddc
mov al, bl
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x3b8]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret