Function at 0x140029a00
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov rsi, r9
mov rdi, r8
mov r10, rdx
mov byte [rsp + 0x38], 5
movzx eax, byte [rsp + 0x38]
movzx r8d, al
mov eax, 0x1887ccf
xor edx, edx
div r8d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x91a198211cc0000
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1887ccf
lea r14, [rsp + 0x40]
jne 0x140029a71
cmp r14, 0x80e
ja 0x140029a6a
jmp 0x16447507d
movzx eax, byte [rsp + 0x34]
jmp 0x140029aaa
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1887bde
je 0x140029a95
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x80e
ja 0x140029aa5
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
mov r9d, 0x82a35b38
lea r11, [rax + r9]
add r11, 0x6b92a4c8
mov byte [rsp + 0x38], 3
movzx eax, byte [rsp + 0x38]
movzx r8d, al
mov eax, 0x187edf3
xor edx, edx
div r8d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x6bbc62592e8
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x187edf3
jne 0x140029b1a
cmp r14, 0x1572
ja 0x140029b13
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x140029b53
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x187ed02
je 0x140029b3e
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x1572
ja 0x140029b4e
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov r8, qword [rsp + rax*8 + 0x40]
add r8, 0x39da6d19
or r8, r11
mov byte [rsp + 0x38], 3
movzx eax, byte [rsp + 0x38]
movzx r11d, al
mov eax, 0x18abda5
xor edx, edx
div r11d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x57e87d5ca4d0
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18abda5
jne 0x140029bbc
cmp r14, 0x2604
ja 0x140029bb5
jmp 0x1644751c8
movzx eax, byte [rsp + 0x34]
jmp 0x140029bf5
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18abcb4
je 0x140029be0
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x2604
ja 0x140029bf0
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
add rax, r9
or r8, rax
mov byte [rsp + 0x38], 5
movzx eax, byte [rsp + 0x38]
movzx r11d, al
mov eax, 0x189c14d
xor edx, edx
div r11d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x97f1133c45a0
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x189c14d
jne 0x140029c5a
cmp r14, 0x140c
ja 0x140029c53
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x140029c93
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x189c05c
je 0x140029c7e
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x140c
ja 0x140029c8e
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
add eax, r9d
add eax, 0x6a205f38
or r8d, eax
mov byte [rsp + 0x38], 3
movzx eax, byte [rsp + 0x38]
movzx r9d, al
mov eax, 0x199fe7f
xor edx, edx
div r9d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
movabs rdx, 0x9dbc96dbe0600000
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x199fe7f
jne 0x140029cfd
cmp r14, 0x249e
ja 0x140029cf6
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x140029d36
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x199fd8e
je 0x140029d21
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x249e
ja 0x140029d31
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
mov r9d, 0xe04fffff
sub r9d, eax
and r9d, r8d
mov byte [rsp + 0x38], 2
movzx eax, byte [rsp + 0x38]
movzx r8d, al
mov eax, 0x1864362
xor edx, edx
div r8d
mov byte [rsp + 0x34], dl
movzx eax, byte [rsp + 0x34]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1864362
jne 0x140029d9b
cmp r14, 0x3fa1
ja 0x140029d94
movabs eax, dword [0xf39eb342444b60f]
mov dh, 0x44
and al, 0x34
movzx eax, byte [rsp + 0x34]
jmp 0x140029dd4
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x31], al
inc byte [rsp + 0x31]
movzx eax, byte [rsp + 0x34]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1864271
je 0x140029dbf
dec byte [rsp + 0x31]
lea rax, [rsp + 0x31]
cmp rax, 0x3fa1
ja 0x140029dcf
mov ebx, 0xb60f31f1
and al, 0x31
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov r8, qword [rsp + rax*8 + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rdx, r10
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
mov byte [rsp + 0x34], 6
movzx eax, byte [rsp + 0x34]
movzx ecx, al
mov eax, 0x18e08b4
xor edx, edx
div ecx
mov byte [rsp + 0x31], dl
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18e08b4
jne 0x140029e40
cmp r14, 0x15b3
ja 0x140029e39
movabs eax, dword [0xf39eb312444b60f]
mov dh, 0x44
and al, 0x31
movzx eax, byte [rsp + 0x31]
jmp 0x140029e79
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
inc byte [rsp + 0x32]
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18e07c3
je 0x140029e64
dec byte [rsp + 0x32]
lea rax, [rsp + 0x32]
cmp rax, 0x15b3
ja 0x140029e74
mov ebx, 0xb60f31f1
and al, 0x32
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
cmp ebx, eax
jne 0x14002a15d
mov byte [rsp + 0x34], 7
movzx eax, byte [rsp + 0x34]
movzx ecx, al
mov eax, 0x192b93f
xor edx, edx
div ecx
mov byte [rsp + 0x31], dl
movzx eax, byte [rsp + 0x31]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x192b93f
jne 0x140029ed8
cmp r14, 0x325e
ja 0x140029ed1
movabs eax, dword [0xf39eb312444b60f]
mov dh, 0x44
and al, 0x31
movzx eax, byte [rsp + 0x31]
jmp 0x140029f11
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x32], al
inc byte [rsp + 0x32]
movzx eax, byte [rsp + 0x31]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x192b84e
je 0x140029efc
dec byte [rsp + 0x32]
lea rax, [rsp + 0x32]
cmp rax, 0x325e
ja 0x140029f0c
mov ebx, 0xb60f31f1
and al, 0x32
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov r8, qword [rsp + rax*8 + 0x40]
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [rsp + 0x34]
mov byte [rsp + 0x31], 7
movzx eax, byte [rsp + 0x31]
movzx r8d, al
mov eax, 0x18523af
xor edx, edx
div r8d
mov byte [rsp + 0x32], dl
movzx eax, byte [rsp + 0x32]
movzx eax, al
movabs rdx, 0x119265ec71d4
mov qword [rsp + rax*8 + 0x40], rdx
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18523af
jne 0x140029fa6
cmp r14, 0xa4e
ja 0x140029f9f
movabs eax, dword [0xf39eb322444b60f]
mov dh, 0x44
and al, 0x32
movzx eax, byte [rsp + 0x32]
jmp 0x140029fdf
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
inc byte [rsp + 0x33]
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18522be
je 0x140029fca
dec byte [rsp + 0x33]
lea rax, [rsp + 0x33]
cmp rax, 0xa4e
ja 0x140029fda
mov ebx, 0xb60f31f1
and al, 0x33
movzx eax, byte [rsp + 0x33]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
add eax, 0x9a138e33
cmp ecx, eax
jne 0x14002a15d
mov byte [rsp + 0x31], 3
movzx eax, byte [rsp + 0x31]
movzx ecx, al
mov eax, 0x1863397
xor edx, edx
div ecx
mov byte [rsp + 0x32], dl
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], 0
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x1863397
jne 0x14002a043
cmp r14, 0x2fd6
ja 0x14002a03c
movabs eax, dword [0xf39eb322444b60f]
mov dh, 0x44
and al, 0x32
movzx eax, byte [rsp + 0x32]
jmp 0x14002a07c
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
inc byte [rsp + 0x33]
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18632a6
je 0x14002a067
dec byte [rsp + 0x33]
lea rax, [rsp + 0x33]
cmp rax, 0x2fd6
ja 0x14002a077
mov ebx, 0xb60f31f1
and al, 0x33
movzx eax, byte [rsp + 0x33]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x40]
movsxd rax, ecx
add rsi, rax
movabs r8, 0xd352699b6bc
lea r9, [rsp + 0x33]
jmp 0x14002a0a5
inc rsi
inc ecx
mov r10d, dword [rsp + 0xd0]
mov byte [rsp + 0x31], 7
movzx eax, byte [rsp + 0x31]
movzx r11d, al
mov eax, 0x18c34f1
xor edx, edx
div r11d
mov byte [rsp + 0x32], dl
movzx eax, byte [rsp + 0x32]
movzx eax, al
mov qword [rsp + rax*8 + 0x40], r8
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18c34f1
jne 0x14002a100
cmp r14, 0x16b0
ja 0x14002a0f3
movabs eax, dword [0x663beb322444b60f]
nop dword [rax + rax]
movzx eax, byte [rsp + 0x32]
jmp 0x14002a135
movzx eax, byte [rsp + 0x32]
mov byte [rsp + 0x33], al
inc byte [rsp + 0x33]
movzx eax, byte [rsp + 0x32]
movzx eax, al
cmp qword [rsp + rax + 0x40], 0x18c3400
je 0x14002a124
dec byte [rsp + 0x33]
cmp r9, 0x16b0
ja 0x14002a130
mov ebx, 0xb60f31f1
and al, 0x33
movzx eax, byte [rsp + 0x33]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x40]
sub r10d, eax
add r10d, 0x2699b6bb
cmp r10d, ecx
jbe 0x14002a15d
cmp byte [rsi], 0
jne 0x14002a0a0
mov byte [rsi], 0x20
jmp 0x14002a0a0
mov eax, ebx
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret