Function at 0x140033ce0
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 [0x14007f080]
xor rax, rsp
mov qword [rbp + 0xc50], rax
xor edi, edi
mov esi, r8d
mov rbx, rcx
test rcx, rcx
je 0x140033ff6
test rdx, rdx
je 0x140033ff6
mov r8d, 0x1ea
mov qword [rsp + 0xd60], r14
lea rcx, [rbp + 0x20]
call fcn.14004d3b0
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 0x140033d50
lea r14, [0x140000000]
test rax, rax
je 0x140033dae
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 + 0x71d10]
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 0x140033da0
cmp rdx, rax
jb 0x140033d70
mov r8d, 0xa
mov word [rsp + 0x50], di
lea rdx, [rsp + 0x50]
mov ecx, esi
call fcn.14004bd1c
lea rcx, [rbp + 0x20]
mov r8, rax
sub rcx, 2
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140033dd0
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 0x140033de0
cmp word [rbp + 0x20], di
je 0x140033fd1
xor edx, edx
lea rcx, [rbp + 0x430]
mov r8d, 0x410
call fcn.14005fd20
mov rcx, rdi
movzx eax, word [rcx + r14 + 0x71e48]
mov word [rbp + rcx + 0x430], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140033e13
cmp word [rbx], di
je 0x140033e82
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140033e40
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 0x140033e50
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140033e70
mov eax, dword [0x14006dba4]
mov dword [rcx], eax
xor edx, edx
lea rcx, [rbp + 0x840]
mov r8d, 0x410
call fcn.14005fd20
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.140040bf0
mov r8, rax
test rax, rax
jne 0x140033ecd
lea r8, [rbp + 0x840]
jmp 0x140033ed1
add r8, 2
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140033ee0
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 0x140033ef0
lea rcx, [rbp + 0x430]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], di
lea rcx, [rcx + 2]
jne 0x140033f10
mov eax, dword [0x14006dba4]
mov dword [rcx], eax
lea rax, [rbp + 0x430]
sub rax, 2
nop dword [rax]
cmp word [rax + 2], di
lea rax, [rax + 2]
jne 0x140033f30
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 [0x140071e78]
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 0x140033fcd
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 0x140033fd1
mov edi, dword [rsp + 0x38]
mov r14, qword [rsp + 0xd60]
mov eax, edi
mov rcx, qword [rbp + 0xc50]
xor rcx, rsp
call fcn.14003f1d0
add rsp, 0xd68
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov eax, edi
jmp 0x140033fdb