Function at 0x41b140
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x1b8
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r14
mov qword [r11 - 0x30], r15
mov rsi, rdx
lea r9, str.HKCR_
mov qword [r11 - 0xf8], r9
mov qword [r11 - 0xf0], 0xffffffff80000000
lea rax, str.HKCU_
mov qword [r11 - 0xe8], rax
mov qword [r11 - 0xe0], 0xffffffff80000001
lea rax, str.HKLM_
mov qword [r11 - 0xd8], rax
mov qword [r11 - 0xd0], 0xffffffff80000002
lea rax, str.HKU_
mov qword [r11 - 0xc8], rax
mov qword [r11 - 0xc0], 0xffffffff80000003
lea rax, str.HKCC_
mov qword [r11 - 0xb8], rax
mov qword [r11 - 0xb0], 0xffffffff80000005
lea rax, str.HKEY_CLASSES_ROOT_
mov qword [r11 - 0xa8], rax
mov qword [r11 - 0xa0], 0xffffffff80000000
lea rax, str.HKEY_CURRENT_USER_
mov qword [r11 - 0x98], rax
mov qword [r11 - 0x90], 0xffffffff80000001
lea rax, str.HKEY_LOCAL_MACHINE_
mov qword [r11 - 0x88], rax
mov qword [r11 - 0x80], 0xffffffff80000002
lea rax, str.HKEY_USERS_
mov qword [r11 - 0x78], rax
mov qword [r11 - 0x70], 0xffffffff80000003
lea rax, str.HKEY_CURRENT_CONFIG_
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x60], 0xffffffff80000005
xor r13d, r13d
mov qword [r11 - 0x58], r13
mov r12, r13
lea rbx, [r11 - 0xf8]
nop
nop
nop
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, r9
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rdi, rcx
movsxd r8, ecx
mov rdx, rsi
mov rcx, r9
call fcn.0042ecc0
test eax, eax
je 0x41b2b7
add rbx, 0x10
mov r9, qword [rbx]
test r9, r9
jne 0x41b280
jmp 0x41b2c1
mov r12, qword [rbx + 8]
movsxd rax, edi
add rsi, rax
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
lea r14, [0x00453650]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x68], r13d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [0x00453658]
nop
lea r15, [0x00453688]
mov qword [rsp + 0x50], r15
mov ebx, r13d
test rsi, rsi
je 0x41b30f
cmp byte [rsi], bl
je 0x41b30f
mov rax, rsi
inc ebx
inc rax
cmp byte [rax], 0
jne 0x41b305
movsxd rbp, dword [rsp + 0x60]
lea edx, [rbp + rbx]
lea rcx, [rsp + 0x50]
call qword [0x00453690]
cmp ebp, ebp
jge 0x41b345
mov rax, qword [rsp + 0x58]
lea rdx, [rax + rbp]
movsxd rcx, ebx
add rcx, rax
add rcx, rbp
mov eax, ebp
sub eax, ebp
movsxd r8, eax
call fcn.0042a950
movsxd r8, ebx
mov rcx, rbp
add rcx, qword [rsp + 0x58]
mov rdx, rsi
call fcn.0042a950
nop
lea rbx, [0x00453718]
mov qword [rsp + 0x50], rbx
mov eax, dword [0x0046d418]
test al, 1
jne 0x41b3f7
or eax, 1
mov dword [0x0046d418], eax
mov qword [0x0046d400], r13
mov dword [0x0046d408], r13d
mov qword [0x0046d3f8], r14
mov dword [0x0046d410], r13d
xor edx, edx
lea rcx, [0x0046d3f8]
call qword [0x00453658]
nop
mov qword [0x0046d3f8], r15
movsxd rdi, dword [0x0046d408]
mov edx, edi
lea rcx, [0x0046d3f8]
call qword [0x00453690]
cmp edi, edi
jge 0x41b3e3
mov rcx, qword [0x0046d400]
add rcx, rdi
mov eax, edi
sub eax, edi
movsxd r8, eax
mov rdx, rcx
call fcn.0042a950
nop
mov qword [0x0046d3f8], rbx
lea rcx, [0x00452dc0]
call fcn.0042bbc0
nop
mov edi, r13d
mov rcx, qword [rsp + 0x58]
mov edx, dword [rsp + 0x60]
test edx, edx
jle 0x41b41e
mov rax, rcx
nop
nop
cmp byte [rax], 0x7c
je 0x41b425
inc edi
inc rax
cmp edi, edx
jl 0x41b410
mov edi, 0xffffffff
jmp 0x41b449
test edi, edi
js 0x41b449
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 8]
movsxd rdx, edi
mov rcx, qword [rsp + 0x58]
lea rbx, [rdx + rcx + 1]
mov edx, dword [rsp + 0x60]
jmp 0x41b44c
mov rbx, r13
mov esi, 8
test edi, edi
js 0x41b4a7
lea eax, [rdi + 1]
mov edx, dword [rsp + 0x68]
cmp eax, edx
jle 0x41b495
cmp edx, esi
cmovl edx, esi
mov dword [rsp + 0x68], edx
cmp eax, edx
jle 0x41b485
add edx, edx
mov dword [rsp + 0x68], edx
cmp eax, edx
jle 0x41b485
lea edx, [rax + 0xb]
mov eax, edx
and eax, 7
sub edx, eax
mov dword [rsp + 0x68], edx
movsxd rdx, edx
call fcn.0042a6f0
mov rcx, rax
mov qword [rsp + 0x58], rax
movsxd rax, edi
mov byte [rax + rcx], 0
mov edx, edi
mov dword [rsp + 0x60], edi
mov rcx, qword [rsp + 0x58]
test r12, r12
jne 0x41b5a3
test rbx, rbx
je 0x41b57a
xor edx, edx
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov qword [rsp + 0x38], rbx
lea rax, [0x00453660]
mov qword [rsp + 0x30], rax
mov esi, r13d
mov dword [rsp + 0x40], r13d
cmp byte [rbx], sil
je 0x41b4ff
nop
nop
inc esi
movsxd rax, esi
cmp byte [rax + rbx], 0
jne 0x41b4f0
mov dword [rsp + 0x40], esi
movsxd rbp, dword [0x0046d408]
lea edx, [rsi + rbp]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
cmp ebp, ebp
jge 0x41b53f
mov rcx, qword [0x0046d400]
lea rdx, [rbp + rcx]
movsxd rdi, esi
add rdi, rbp
add rcx, rdi
mov eax, ebp
sub eax, ebp
movsxd r8, eax
call fcn.0042a950
movsxd r8, esi
mov rcx, rbp
add rcx, qword [0x0046d400]
mov rdx, rbx
call fcn.0042a950
nop
mov edx, dword [0x0046d408]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov rdi, qword [0x0046d400]
mov rcx, qword [rsp + 0x58]
jmp 0x41b57d
mov rdi, r13
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x68], r13d
test rcx, rcx
je 0x41b59b
call fcn.0042a7a0
mov rax, rdi
jmp 0x41bc2e
lea edi, [rdx - 1]
movsxd rax, edi
test edi, edi
js 0x41b5bd
nop
cmp byte [rax + rcx], 0x5c
je 0x41b5c4
dec edi
dec rax
jns 0x41b5b0
mov edi, 0xffffffff
jmp 0x41b5e8
test edi, edi
js 0x41b5e8
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 8]
movsxd rdx, edi
mov rcx, qword [rsp + 0x58]
lea rbp, [rdx + rcx + 1]
mov edx, dword [rsp + 0x60]
jmp 0x41b5ef
lea rbp, [0x00453d4c]
test edi, edi
js 0x41b640
lea eax, [rdi + 1]
mov edx, dword [rsp + 0x68]
cmp eax, edx
jle 0x41b633
cmp edx, esi
cmovl edx, esi
mov dword [rsp + 0x68], edx
cmp eax, edx
jle 0x41b623
add edx, edx
mov dword [rsp + 0x68], edx
cmp eax, edx
jle 0x41b623
lea edx, [rax + 0xb]
mov eax, edx
and eax, 7
sub edx, eax
mov dword [rsp + 0x68], edx
movsxd rdx, edx
call fcn.0042a6f0
mov rcx, rax
mov qword [rsp + 0x58], rax
movsxd rax, edi
mov byte [rax + rcx], 0
mov edx, edi
mov dword [rsp + 0x60], edi
lea rcx, [rsp + 0x50]
mov rax, qword [rsp + 0x50]
call qword [rax + 8]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41b763
test rbx, rbx
je 0x41b735
xor edx, edx
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov qword [rsp + 0x38], rbx
lea rax, [0x00453660]
mov qword [rsp + 0x30], rax
mov esi, r13d
mov dword [rsp + 0x40], r13d
cmp byte [rbx], sil
je 0x41b6bf
inc esi
movsxd rax, esi
cmp byte [rax + rbx], 0
jne 0x41b6b0
mov dword [rsp + 0x40], esi
movsxd rbp, dword [0x0046d408]
lea edx, [rsi + rbp]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
cmp ebp, ebp
jge 0x41b6ff
mov rcx, qword [0x0046d400]
lea rdx, [rbp + rcx]
movsxd rdi, esi
add rdi, rbp
add rcx, rdi
mov eax, ebp
sub eax, ebp
movsxd r8, eax
call fcn.0042a950
movsxd r8, esi
mov rcx, rbp
add rcx, qword [0x0046d400]
mov rdx, rbx
call fcn.0042a950
nop
mov edx, dword [0x0046d408]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov rdi, qword [0x0046d400]
jmp 0x41b738
mov rdi, r13
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x68], r13d
test rcx, rcx
je 0x41b75b
call fcn.0042a7a0
mov rax, rdi
jmp 0x41bc2e
mov dword [rsp + 0x70], r13d
mov dword [rsp + 0x1c8], r13d
lea rax, [rsp + 0x1c8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41bb31
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x48], r13d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [0x00453658]
nop
mov edi, dword [rsp + 0x1c8]
mov ecx, dword [rsp + 0x48]
cmp edi, ecx
jle 0x41b809
cmp ecx, 8
cmovl ecx, esi
mov dword [rsp + 0x48], ecx
cmp edi, ecx
jle 0x41b7f7
add ecx, ecx
mov dword [rsp + 0x48], ecx
cmp edi, ecx
jle 0x41b7f7
lea ecx, [rdi + 0xb]
mov eax, ecx
and eax, 7
sub ecx, eax
mov dword [rsp + 0x48], ecx
movsxd rdx, ecx
mov rcx, qword [rsp + 0x38]
call fcn.0042a6f0
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], edi
mov edx, edi
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
lea rdx, [rsp + 0x1c8]
mov qword [rsp + 0x28], rdx
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41bb0e
mov eax, dword [0x0046d410]
cmp eax, 1
jge 0x41b891
cmp eax, 8
jge 0x41b869
mov dword [0x0046d410], esi
jmp 0x41b879
add eax, eax
cmp eax, 1
cmovl eax, esi
mov esi, eax
mov dword [0x0046d410], eax
movsxd rdx, esi
mov rcx, qword [0x0046d400]
call fcn.0042a6f0
mov qword [0x0046d400], rax
jmp 0x41b898
mov rax, qword [0x0046d400]
mov byte [rax], 0
mov dword [0x0046d408], r13d
mov eax, dword [rsp + 0x70]
lea r12, [0x00453630]
dec eax
je 0x41ba70
dec eax
je 0x41b955
sub eax, 2
je 0x41b924
dec eax
jne 0x41ba92
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov edi, dword [rdx]
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
mov r11d, edi
and r11d, 0xff0000
mov eax, edi
shr eax, 0x10
or r11d, eax
shr r11d, 8
mov eax, edi
shl eax, 0x10
and edi, 0xff00
or eax, edi
shl eax, 8
or r11d, eax
mov rax, qword [rsp + 0x38]
mov dword [rax], r11d
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
mov rdx, qword [rsp + 0x38]
mov r8d, dword [rdx]
lea rdx, [0x00454774]
lea rcx, [0x0046d3f8]
call fcn.0040c190
jmp 0x41ba92
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.00402510
nop
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x80]
call fcn.004191c0
mov rdi, rax
xor edx, edx
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
movsxd rsi, dword [rdi + 0x10]
mov rbp, qword [rdi + 8]
movsxd rbx, dword [0x0046d408]
lea edx, [rsi + rbx]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
cmp ebx, ebx
jge 0x41b9ec
mov rcx, qword [0x0046d400]
lea rdx, [rbx + rcx]
lea rdi, [rbx + rsi]
add rcx, rdi
mov eax, ebx
sub eax, ebx
movsxd r8, eax
call fcn.0042a950
mov r8, rsi
mov rcx, rbx
add rcx, qword [0x0046d400]
mov rdx, rbp
call fcn.0042a950
nop
mov qword [rsp + 0x80], r14
mov rcx, qword [rsp + 0x88]
mov qword [rsp + 0x88], r13
mov dword [rsp + 0x90], r13d
mov dword [rsp + 0x98], r13d
test rcx, rcx
je 0x41ba34
call fcn.0042a7a0
mov qword [rsp + 0x80], r12
mov qword [rsp + 0xa0], r14
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], r13
mov dword [rsp + 0xb0], r13d
mov dword [rsp + 0xb8], r13d
test rcx, rcx
je 0x41ba92
call fcn.0042a7a0
jmp 0x41ba92
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 8]
mov rdx, qword [rsp + 0x38]
lea rcx, [0x0046d3f8]
call fcn.004165f0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x0046d408]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov rdi, qword [0x0046d400]
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x48], r13d
test rcx, rcx
je 0x41bade
call fcn.0042a7a0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x68], r13d
test rcx, rcx
je 0x41bb06
call fcn.0042a7a0
mov rax, rdi
jmp 0x41bc2e
mov qword [rsp + 0x30], r14
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x48], r13d
test rcx, rcx
je 0x41bb31
call fcn.0042a7a0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x41bc05
xor edx, edx
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov qword [rsp + 0x38], rbx
lea rax, [0x00453660]
mov qword [rsp + 0x30], rax
mov esi, r13d
mov dword [rsp + 0x40], r13d
cmp byte [rbx], sil
je 0x41bb8f
nop
nop
nop
inc esi
movsxd rax, esi
cmp byte [rax + rbx], 0
jne 0x41bb80
mov dword [rsp + 0x40], esi
movsxd rbp, dword [0x0046d408]
lea edx, [rsi + rbp]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
cmp ebp, ebp
jge 0x41bbcf
mov rcx, qword [0x0046d400]
lea rdx, [rbp + rcx]
movsxd rdi, esi
add rdi, rbp
add rcx, rdi
mov eax, ebp
sub eax, ebp
movsxd r8, eax
call fcn.0042a950
movsxd r8, esi
mov rcx, rbp
add rcx, qword [0x0046d400]
mov rdx, rbx
call fcn.0042a950
nop
mov edx, dword [0x0046d408]
lea rcx, [0x0046d3f8]
mov rax, qword [0x0046d3f8]
call qword [rax + 8]
mov rdi, qword [0x0046d400]
jmp 0x41bc08
mov rdi, r13
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r13
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x68], r13d
test rcx, rcx
je 0x41bc2b
call fcn.0042a7a0
mov rax, rdi
mov rbx, qword [rsp + 0x1d0]
mov rbp, qword [rsp + 0x1d8]
mov rsi, qword [rsp + 0x1b0]
mov rdi, qword [rsp + 0x1a8]
mov r12, qword [rsp + 0x1a0]
mov r13, qword [rsp + 0x198]
mov r14, qword [rsp + 0x190]
mov r15, qword [rsp + 0x188]
add rsp, 0x1b8
ret