Function at 0x1800a54c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x22e8]
mov eax, 0x23e8
call fcn.1800e4a90
sub rsp, rax
xor esi, esi
mov qword [rbp + 0x28], 0xf
mov rbx, rdx
mov qword [rbp + 0x20], rsi
mov r14, rcx
mov byte [rbp + 0x10], sil
lea rdx, str.WinSCP.exe
lea r8d, [rsi + 0xa]
lea rcx, [rbp + 0x10]
call fcn.1800b8fb0
lea r8d, [rsi + 0x4b]
mov qword [rbp - 0x20], rsi
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched
mov qword [rbp - 0x18], 0xf
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x30], sil
call fcn.1800b8fb0
cmp qword [rbp - 0x18], 0x10
lea rax, [rbp - 0x38]
mov qword [r14 + 0x10], rsi
lea rdx, [rbp - 0x30]
cmovae rdx, qword [rbp - 0x30]
mov r9d, 0x20019
mov qword [r14 + 0x18], 0xf
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov byte [r14], sil
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r13, qword [rbp + 0x10]
test eax, eax
jne 0x1800a5d83
xor edx, edx
lea rcx, [rbp + 0xd0]
mov r8d, 0x208
call fcn.1800c3fd0
mov rcx, qword [rbp - 0x38]
lea rax, [rbp + 0x88]
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x2348]
lea rax, [rbp + 0x50]
mov dword [rbp + 0x2348], 0x104
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0xd0]
lea rax, [rbp + 0x54]
mov dword [rbp + 0x2340], esi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp + 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x2330]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x5c]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2340]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0x2330]
test eax, eax
je 0x1800a5d83
mov r15, qword [rbp + 0x20]
mov r12d, esi
mov rcx, qword [rbp - 0x38]
lea r9, [rbp - 0x60]
mov qword [rsp + 0x38], rsi
lea r8, [rbp + 0x2e0]
mov qword [rsp + 0x30], rsi
mov edx, r12d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x60], 0x1000
mov word [rbp + 0x2e0], si
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800a5d73
mov qword [rbp], rsi
lea rax, [rbp + 0x2e0]
mov qword [rbp + 8], 7
mov r8, 0xffffffffffffffff
mov word [rbp - 0x10], si
inc r8
cmp word [rax + r8*2], 0
jne 0x1800a5683
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp - 0x10]
call fcn.1800b8e20
cmp qword [rbp + 8], 8
lea rdx, [rbp - 0x10]
mov rax, qword [rbp]
lea rdi, [rbp - 0x10]
cmovae rdx, qword [rbp - 0x10]
lea rcx, [rsp + 0x60]
cmovae rdi, qword [rbp - 0x10]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
lea rbx, [rdx + rax*2]
mov byte [rsp + 0x60], 0
mov rdx, rbx
sub rdx, rdi
sar rdx, 1
call fcn.1800ba640
cmp rdi, rbx
je 0x1800a5739
nop dword [rax + rax]
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
movzx r9d, byte [rdi]
cmp rcx, rdx
jae 0x1800a5726
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmovae rax, qword [rsp + 0x60]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1800a5730
lea rcx, [rsp + 0x60]
call fcn.1800b9b90
add rdi, 2
cmp rdi, rbx
jne 0x1800a56f0
cmp qword [rsp + 0x78], 0x10
lea rsi, [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmovae rsi, qword [rsp + 0x60]
cmp rdi, 0x10
jae 0x1800a5766
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x68], 0xf
movups xmmword [rbp - 0x80], xmm0
jmp 0x1800a57df
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a57ba
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a5e6c
mov rcx, rax
call fcn.1800c1188
mov rcx, rax
test rax, rax
je 0x1800a5e60
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a57c8
test rcx, rcx
je 0x1800a57c6
call fcn.1800c1188
jmp 0x1800a57c8
xor eax, eax
lea r8, [rdi + 1]
mov qword [rbp - 0x80], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800c41f0
mov qword [rbp - 0x68], rbx
mov rbx, qword [rbp + 0x28]
cmp rbx, 0x10
mov qword [rbp - 0x70], rdi
lea rdi, [rbp + 0x10]
cmovae rdi, r13
cmp r15, 0x10
jae 0x1800a580a
movups xmm0, xmmword [rdi]
mov qword [rbp - 0x40], 0xf
movups xmmword [rbp - 0x58], xmm0
jmp 0x1800a5887
movabs rax, 0x7fffffffffffffff
mov rbx, r15
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a585e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a5e6c
mov rcx, rax
call fcn.1800c1188
mov rcx, rax
test rax, rax
je 0x1800a5e60
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a586c
test rcx, rcx
je 0x1800a586a
call fcn.1800c1188
jmp 0x1800a586c
xor eax, eax
lea r8, [r15 + 1]
mov qword [rbp - 0x58], rax
mov rdx, rdi
mov rcx, rax
call fcn.1800c41f0
mov qword [rbp - 0x40], rbx
mov rbx, qword [rbp + 0x28]
lea rdx, [rbp - 0x80]
mov qword [rbp - 0x48], r15
lea rcx, [rbp - 0x58]
call fcn.18008c300
test eax, eax
jle 0x1800a5cda
cmp rbx, 0x10
mov qword [rbp + 0x40], 0
mov rbx, qword [rsp + 0x70]
lea r9, [rbp + 0x10]
cmovae r9, r13
mov qword [rbp + 0x48], 0xf
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov byte [rbp + 0x30], 0
cmovae rcx, qword [rsp + 0x60]
mov qword [rsp + 0x20], r15
call fcn.1800b9ad0
cmp rbx, rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
cmovb rax, rbx
cmp qword [rsp + 0x78], 0x10
mov r8, rax
cmovae rdx, qword [rsp + 0x60]
call fcn.1800b8fb0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800a5944
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a593f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e60
call fcn.1800c1180
movups xmm0, xmmword [rbp + 0x30]
lea rsi, [rsp + 0x60]
movups xmm1, xmmword [rbp + 0x40]
movq rcx, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmm1
movq rdi, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
movups xmmword [rsp + 0x70], xmm1
cmovae rsi, rcx
cmp rdi, 0x10
jae 0x1800a5992
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x68], 0xf
movups xmmword [rbp - 0x80], xmm0
jmp 0x1800a5a0b
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a59e6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a5e78
mov rcx, rax
call fcn.1800c1188
mov rcx, rax
test rax, rax
je 0x1800a5e72
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a59f4
test rcx, rcx
je 0x1800a59f2
call fcn.1800c1188
jmp 0x1800a59f4
xor eax, eax
lea r8, [rdi + 1]
mov qword [rbp - 0x80], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800c41f0
mov qword [rbp - 0x68], rbx
lea rdx, [0x180116cf8]
mov qword [rbp - 0x70], rdi
lea rcx, [rbp + 0x90]
call fcn.1800b8a30
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18008c300
test eax, eax
jg 0x1800a5cda
cmp qword [rsp + 0x78], 0x10
lea rsi, [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmovae rsi, qword [rsp + 0x60]
cmp rdi, 0x10
jae 0x1800a5a63
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x40], 0xf
movups xmmword [rbp - 0x58], xmm0
jmp 0x1800a5adc
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a5ab7
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a5e7e
mov rcx, rax
call fcn.1800c1188
mov rcx, rax
test rax, rax
je 0x1800a5e84
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a5ac5
test rcx, rcx
je 0x1800a5ac3
call fcn.1800c1188
jmp 0x1800a5ac5
xor eax, eax
lea r8, [rdi + 1]
mov qword [rbp - 0x58], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800c41f0
mov qword [rbp - 0x40], rbx
mov rbx, qword [rbp + 0x2338]
lea rcx, [rbp + 0xb0]
mov rdx, rbx
mov qword [rbp - 0x48], rdi
call fcn.1800b8a30
mov r8, rax
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x30]
call fcn.1800a3270
cmp qword [r14 + 0x18], 0x10
mov r8, r14
jb 0x1800a5b13
mov r8, qword [r14]
mov r9, qword [r14 + 0x10]
mov rcx, rax
call fcn.1800ba920
xor esi, esi
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
lea rax, [rbp + 0x68]
movups xmmword [rbp - 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp + 0x78], xmm1
cmp r14, rax
je 0x1800a5b9d
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1800a5b92
mov rcx, qword [r14]
inc rdx
cmp rdx, 0x1000
jb 0x1800a5b85
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a5e84
mov rcx, r8
call fcn.1800c1180
movups xmm0, xmmword [rbp - 0x58]
movups xmm1, xmmword [rbp - 0x80]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
jmp 0x1800a5bdb
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x1800a5bdb
mov rcx, qword [rbp + 0x68]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5bd6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e84
call fcn.1800c1180
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x1800a5c16
mov rcx, qword [rbp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5c11
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e84
call fcn.1800c1180
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
add rdx, qword [0x180116d08]
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], sil
call fcn.1800ba640
cmp qword [0x180116d10], 0x10
lea rdx, [0x180116cf8]
mov r8, qword [0x180116d08]
lea rcx, [rbp - 0x80]
cmovae rdx, qword [0x180116cf8]
call fcn.1800b8790
cmp qword [rsp + 0x78], 0x10
lea rdx, [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
cmovae rdx, qword [rsp + 0x60]
call fcn.1800b8790
mov rdx, qword [0x180116d10]
cmp rdx, 0x10
jb 0x1800a5cc2
mov rcx, qword [0x180116cf8]
inc rdx
cmp rdx, 0x1000
jb 0x1800a5cbd
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a5e8a
mov rcx, r8
call fcn.1800c1180
movups xmm0, xmmword [rbp - 0x80]
movups xmm1, xmmword [rbp - 0x70]
movups xmmword [0x180116cf8], xmm0
movups xmmword [0x180116d08], xmm1
jmp 0x1800a5ce3
mov rbx, qword [rbp + 0x2338]
xor esi, esi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1800a5d20
mov rcx, qword [rsp + 0x60]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5d1b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e60
call fcn.1800c1180
mov rdx, qword [rbp + 8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
cmp rdx, 8
jb 0x1800a5d73
mov rcx, qword [rbp - 0x10]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5d6e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e60
call fcn.1800c1180
inc r12d
cmp r12d, dword [rbp + 0x2330]
jb 0x1800a5623
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800a5dbe
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5db9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e66
call fcn.1800c1180
mov rdx, qword [rbp + 0x28]
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
cmp rdx, 0x10
jb 0x1800a5e04
inc rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x1800a5dfc
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5e66
mov rcx, r13
call fcn.1800c1180
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1800a5e3a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1800a5e35
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a5e66
mov rcx, r8
call fcn.1800c1180
mov qword [rbx + 0x10], rsi
mov rax, r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x23e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1800cc350
int3
call fcn.1800cc350
int3
call fcn.180089550
int3
call fcn.1800cc350
int3
call fcn.180089550
int3
call fcn.180089550
int3
call fcn.1800cc350
int3
call fcn.1800cc350
int3