Function at 0x1400306b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xc68]
sub rsp, 0xd68
mov rax, qword [0x140077040]
xor rax, rsp
mov qword [rbp + 0xc50], rax
xor edi, edi
mov esi, r8d
mov rbx, rcx
test rcx, rcx
je 0x1400309c6
test rdx, rdx
je 0x1400309c6
mov r8d, 0x1ea
mov qword [rsp + 0xd60], r14
lea rcx, [rbp + 0x20]
call fcn.140046234
mov r8d, edi
mov word [rbp + 0x3f4], di
lea rcx, [rbp + 0x20]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x140030720
lea r14, [0x140000000]
test rax, rax
je 0x14003077e
mov rdx, rdi
nop dword [rax + rax]
movzx eax, word [rbp + rdx*2 + 0x20]
lea ecx, [r8 + r8*4]
add ecx, eax
and ecx, 0x3f
inc r8d
movzx eax, word [r14 + rcx*2 + 0x6c2b0]
lea rcx, [rbp + 0x20]
mov word [rbp + rdx*2 + 0x20], ax
mov rax, 0xffffffffffffffff
mov edx, r8d
nop dword [rax]
inc rax
cmp word [rcx + rax*2], di
jne 0x140030770
cmp rdx, rax
jb 0x140030740
mov r8d, 0xa
mov word [rsp + 0x50], di
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.1400463f8
lea rcx, [rbp + 0x20]
mov r8, rax
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400307a0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400307b0
cmp word [rbp + 0x20], di
je 0x1400309a1
xor edx, edx
lea rcx, [rbp + 0x430]
mov r8d, 0x410
call fcn.14005af20
mov rcx, rdi
movzx eax, word [rcx + r14 + 0x6c3e8]
mov word [rbp + rcx + 0x430], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400307e3
cmp word [rbx], di
je 0x140030852
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140030810
xor edx, edx
nop dword [rax]
movzx eax, word [rbx + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140030820
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140030840
mov eax, dword [0x140068280]
mov dword [rcx], eax
xor edx, edx
lea rcx, [rbp + 0x840]
mov r8d, 0x410
call fcn.14005af20
mov r8d, 0x206
lea rdx, [rbp + 0x840]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
lea rcx, [rbp + 0x840]
call fcn.14003ba48
mov r8, rax
test rax, rax
jne 0x14003089d
lea r8, [rbp + 0x840]
jmp 0x1400308a1
add r8, 2
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400308b0
xor edx, edx
nop dword [rax]
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400308c0
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x1400308e0
mov eax, dword [0x140068280]
mov dword [rcx], eax
lea rax, [rbp + 0x430]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], di
lea rax, [rax + 2]
jne 0x140030900
movups xmm0, xmmword [str.XMessageBox]
mov r9d, 0x20019
mov dword [rsp + 0x38], edi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
movups xmmword [rax], xmm0
lea rdx, [rbp + 0x430]
mov rcx, 0xffffffff80000001
movsd xmm0, qword [0x14006c410]
movsd qword [rax + 0x10], xmm0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003099d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x40], edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x20]
mov dword [rsp + 0x3c], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400309a1
mov edi, dword [rsp + 0x38]
mov r14, qword [rsp + 0xd60]
mov eax, edi
mov rcx, qword [rbp + 0xc50]
xor rcx, rsp
call fcn.1400398f0
add rsp, 0xd68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, edi
jmp 0x1400309ab