Function at 0x1800e9d00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rcx
xor esi, esi
mov dword [rbp - 0x24], esi
xor dil, dil
lea r15d, [rsi + 4]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [reloc.WS2_32.dll_accept]
xor r8d, r8d
lea rdx, [0x180057fd0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800e9db1
mov rbx, qword [rbp - 0x30]
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x28], r15d
mov r15d, esi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [0x180057fc4]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete dil
test eax, eax
jne 0x1800e9da7
mov r15d, dword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test dil, dil
je 0x1800e9fba
movdqa xmm0, xmmword [0x180058420]
movdqu xmmword [rbp - 0x40], xmm0
mov rdx, rsi
mov r8, rsi
test r15, r15
je 0x1800e9e03
movzx ecx, byte [rbp + r8 - 0x24]
mov eax, ecx
shr rax, 4
movzx eax, byte [rbp + rax - 0x40]
mov byte [rbp + rdx - 0x18], al
movsx rax, cl
and eax, 0xf
movzx eax, byte [rbp + rax - 0x40]
mov byte [rbp + rdx - 0x17], al
inc r8
lea rdx, [rdx + 2]
cmp r8, r15
jne 0x1800e9dd2
mov byte [rbp - 0x10], 0
lea rax, [rbp - 0x18]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1800e9e15
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.180099770
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
mov r9d, dword [reloc.WS2_32.dll_accept]
xor r8d, r8d
lea rdx, [0x180058040]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800e9fb6
mov rbx, qword [rbp - 0x30]
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x28], r15d
mov r15, rsi
lea rax, [rbp - 0x28]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x24]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
xor r8d, r8d
lea rdx, [0x180058028]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
sete r12b
test eax, eax
jne 0x1800e9ea0
mov r15d, dword [rbp - 0x28]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test r12b, r12b
je 0x1800e9fb6
movdqa xmm0, xmmword [0x180058420]
movdqu xmmword [rbp - 0x40], xmm0
mov rdx, rsi
test r15, r15
je 0x1800e9f00
nop dword [rax + rax]
movzx ecx, byte [rbp + rdx - 0x24]
mov eax, ecx
shr rax, 4
movzx eax, byte [rbp + rax - 0x40]
mov byte [rbp + rsi - 0x18], al
movsx rax, cl
and eax, 0xf
movzx eax, byte [rbp + rax - 0x40]
mov byte [rbp + rsi - 0x17], al
inc rdx
lea rsi, [rsi + 2]
cmp rdx, r15
jne 0x1800e9ed0
mov byte [rbp - 0x10], 0
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x1800e9f34
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x1800e9f2c
mov rax, qword [r14]
mov word [rax + rcx], 0x5f
jmp 0x1800e9f53
mov qword [rsp + 0x20], 1
lea r9, [0x180058078]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, r14
call fcn.18008f920
lea rax, [rbp - 0x18]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1800e9f57
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1800e9f9f
lea rax, [rcx + rdi]
mov qword [r14 + 0x10], rax
cmp rdx, 0x10
jb 0x1800e9f84
mov r14, qword [r14]
lea rbx, [r14 + rcx]
mov r8, rdi
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.18020b840
mov byte [rbx + rdi], 0
mov al, 1
jmp 0x1800e9fbe
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x18]
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call fcn.18008f920
mov al, 1
jmp 0x1800e9fbe
movzx eax, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1801e68c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret