Function at 0x1800a7ca0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x22c0]
mov eax, 0x23c0
call fcn.1800f25c0
sub rsp, rax
mov rax, qword [0x180124010]
xor rax, rsp
mov qword [rbp + 0x22b0], rax
xor edi, edi
mov qword [rbp + 0x70], 0xf
mov r12, rcx
mov qword [rbp + 0x68], rdi
lea rdx, str.WinSCP.exe
mov byte [rbp + 0x58], dil
lea rcx, [rbp + 0x58]
lea r8d, [rdi + 0xa]
call fcn.1800bdba0
lea r8d, [rdi + 0x38]
mov qword [rbp + 0x28], rdi
lea rdx, str.Local_SettingsSoftwareMicrosoftWindowsShellMuiCache
mov qword [rbp + 0x30], 0xf
lea rcx, [rbp + 0x18]
mov byte [rbp + 0x18], dil
call fcn.1800bdba0
cmp qword [rbp + 0x30], 0x10
lea rax, [rbp - 0x20]
lea rdx, [rbp + 0x18]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rbp + 0x18]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov r13, qword [rbp + 0x58]
test eax, eax
jne 0x1800a844f
xor edx, edx
lea rcx, [rbp + 0xa0]
mov r8d, 0x208
call fcn.1800cdea0
mov rcx, qword [rbp - 0x20]
lea rax, [rbp + 0x90]
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x14]
lea rax, [rbp + 0x78]
mov dword [rbp + 0x14], 0x104
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0xa0]
lea rax, [rbp + 0x7c]
mov dword [rbp + 0x10], edi
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp + 0x80]
mov dword [rbp + 8], 0x1000
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0xc]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x84]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x1800a8445
mov r14, qword [rbp + 0x68]
mov r15d, edi
nop word [rax + rax]
mov rcx, qword [rbp - 0x20]
lea r9, [rbp + 8]
mov qword [rsp + 0x38], rdi
lea r8, [rbp + 0x2b0]
mov qword [rsp + 0x30], rdi
mov edx, r15d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
mov dword [rbp + 8], 0x1000
mov word [rbp + 0x2b0], di
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1800a8438
mov qword [rbp + 0x48], rdi
lea rax, [rbp + 0x2b0]
mov qword [rbp + 0x50], 7
mov r8, 0xffffffffffffffff
mov word [rbp + 0x38], di
inc r8
cmp word [rax + r8*2], 0
jne 0x1800a7e70
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x38]
call fcn.1800bd8c0
cmp qword [rbp + 0x50], 8
lea rdx, [rbp + 0x38]
mov rax, qword [rbp + 0x48]
lea rsi, [rbp + 0x38]
cmovae rdx, qword [rbp + 0x38]
mov ecx, 0xf
cmovae rsi, qword [rbp + 0x38]
mov qword [rbp - 8], rdi
mov qword [rbp], rcx
lea rbx, [rdx + rax*2]
mov byte [rbp - 0x18], 0
mov rdx, rbx
sub rdx, rsi
sar rdx, 1
cmp rdx, 0x10
jb 0x1800a7edd
lea rcx, [rbp - 0x18]
call fcn.1800c3fa0
mov rcx, qword [rbp]
xor edi, edi
mov qword [rbp - 8], rdi
cmp rsi, rbx
je 0x1800a7f25
movzx r9d, byte [rsi]
cmp rdi, rcx
jae 0x1800a7f0b
lea rax, [rdi + 1]
cmp rcx, 0x10
mov qword [rbp - 8], rax
lea rax, [rbp - 0x18]
cmovae rax, qword [rbp - 0x18]
mov byte [rax + rdi], r9b
mov byte [rax + rdi + 1], 0
jmp 0x1800a7f14
lea rcx, [rbp - 0x18]
call fcn.1800beae0
mov rcx, qword [rbp]
add rsi, 2
mov rdi, qword [rbp - 8]
cmp rsi, rbx
jne 0x1800a7ee2
cmp rcx, 0x10
lea rsi, [rbp - 0x18]
cmovae rsi, qword [rbp - 0x18]
cmp rdi, 0x10
jae 0x1800a7f4b
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x78], 0xf
movups xmmword [rsp + 0x60], xmm0
jmp 0x1800a7fc6
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a7f9f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a855b
mov rcx, rax
call fcn.1800caa38
mov rcx, rax
test rax, rax
je 0x1800a854f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a7fad
test rcx, rcx
je 0x1800a7fab
call fcn.1800caa38
jmp 0x1800a7fad
xor eax, eax
lea r8, [rdi + 1]
mov qword [rsp + 0x60], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800ce0c0
mov qword [rsp + 0x78], rbx
mov rbx, qword [rbp + 0x70]
cmp rbx, 0x10
mov qword [rsp + 0x70], rdi
lea rdi, [rbp + 0x58]
cmovae rdi, r13
cmp r14, 0x10
jae 0x1800a7ff2
movups xmm0, xmmword [rdi]
mov qword [rbp - 0x68], 0xf
movups xmmword [rbp - 0x80], xmm0
jmp 0x1800a806f
movabs rax, 0x7fffffffffffffff
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a8046
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a855b
mov rcx, rax
call fcn.1800caa38
mov rcx, rax
test rax, rax
je 0x1800a854f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a8054
test rcx, rcx
je 0x1800a8052
call fcn.1800caa38
jmp 0x1800a8054
xor eax, eax
lea r8, [r14 + 1]
mov qword [rbp - 0x80], rax
mov rdx, rdi
mov rcx, rax
call fcn.1800ce0c0
mov qword [rbp - 0x68], rbx
mov rbx, qword [rbp + 0x70]
lea rdx, [rsp + 0x60]
mov qword [rbp - 0x70], r14
lea rcx, [rbp - 0x80]
call fcn.18008b370
test eax, eax
jle 0x1800a83ab
cmp rbx, 0x10
mov qword [rbp - 0x50], 0
mov rbx, qword [rbp - 8]
lea r9, [rbp + 0x58]
cmovae r9, r13
mov qword [rbp - 0x48], 0xf
cmp qword [rbp], 0x10
lea rcx, [rbp - 0x18]
mov rdx, rbx
mov byte [rbp - 0x60], 0
cmovae rcx, qword [rbp - 0x18]
mov qword [rsp + 0x20], r14
call fcn.1800bea20
cmp rbx, rax
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x60]
cmovb rax, rbx
cmp qword [rbp], 0x10
mov r8, rax
cmovae rdx, qword [rbp - 0x18]
call fcn.1800bdba0
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800a8124
mov rcx, qword [rbp - 0x18]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a811f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a854f
call fcn.1800caa30
movups xmm0, xmmword [rbp - 0x60]
lea rsi, [rbp - 0x18]
movups xmm1, xmmword [rbp - 0x50]
movq rcx, xmm0
movups xmmword [rbp - 0x18], xmm0
movdqa xmm0, xmm1
movq rdi, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
movups xmmword [rbp - 8], xmm1
cmovae rsi, rcx
cmp rdi, 0x10
jae 0x1800a816f
movups xmm0, xmmword [rsi]
mov qword [rbp - 0x68], 0xf
movups xmmword [rbp - 0x80], xmm0
jmp 0x1800a81e8
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a81c3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a8567
mov rcx, rax
call fcn.1800caa38
mov rcx, rax
test rax, rax
je 0x1800a8561
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a81d1
test rcx, rcx
je 0x1800a81cf
call fcn.1800caa38
jmp 0x1800a81d1
xor eax, eax
lea r8, [rdi + 1]
mov qword [rbp - 0x80], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800ce0c0
mov qword [rbp - 0x68], rbx
lea rdx, [0x180126ef8]
mov qword [rbp - 0x70], rdi
lea rcx, [rbp - 0x60]
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.18008b370
test eax, eax
jg 0x1800a83ab
cmp qword [rbp], 0x10
lea rsi, [rbp - 0x18]
mov rdi, qword [rbp - 8]
cmovae rsi, qword [rbp - 0x18]
cmp rdi, 0x10
jae 0x1800a823b
movups xmm0, xmmword [rsi]
mov qword [rsp + 0x78], 0xf
movups xmmword [rsp + 0x60], xmm0
jmp 0x1800a82b6
movabs rax, 0x7fffffffffffffff
mov rbx, rdi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1800a828f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a8573
mov rcx, rax
call fcn.1800caa38
mov rcx, rax
test rax, rax
je 0x1800a856d
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a829d
test rcx, rcx
je 0x1800a829b
call fcn.1800caa38
jmp 0x1800a829d
xor eax, eax
lea r8, [rdi + 1]
mov qword [rsp + 0x60], rax
mov rdx, rsi
mov rcx, rax
call fcn.1800ce0c0
mov qword [rsp + 0x78], rbx
mov rdx, r12
mov qword [rsp + 0x70], rdi
lea rcx, [rbp - 0x40]
call fcn.1800bd4e0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1800a6440
mov r8, qword [0x180126f08]
xor edi, edi
mov rdx, qword [rbp - 8]
add rdx, r8
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], dil
cmp rdx, 0x10
jb 0x1800a8313
lea rcx, [rsp + 0x60]
call fcn.1800c3fa0
mov r8, qword [0x180126f08]
mov qword [rsp + 0x70], rdi
cmp qword [0x180126f10], 0x10
lea rdx, [0x180126ef8]
lea rcx, [rsp + 0x60]
cmovae rdx, qword [0x180126ef8]
call fcn.1800bd330
cmp qword [rbp], 0x10
lea rdx, [rbp - 0x18]
mov r8, qword [rbp - 8]
lea rcx, [rsp + 0x60]
cmovae rdx, qword [rbp - 0x18]
call fcn.1800bd330
mov rdx, qword [0x180126f10]
cmp rdx, 0x10
jb 0x1800a8391
mov rcx, qword [0x180126ef8]
inc rdx
cmp rdx, 0x1000
jb 0x1800a838c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a8579
mov rcx, r8
call fcn.1800caa30
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [0x180126ef8], xmm0
movups xmmword [0x180126f08], xmm1
jmp 0x1800a83ad
xor edi, edi
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x1800a83e8
mov rcx, qword [rbp - 0x18]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a83e3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a854f
call fcn.1800caa30
mov rdx, qword [rbp + 0x50]
mov qword [rbp - 8], rdi
mov qword [rbp], 0xf
mov byte [rbp - 0x18], 0
cmp rdx, 8
jb 0x1800a8438
mov rcx, qword [rbp + 0x38]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a8433
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a854f
call fcn.1800caa30
inc r15d
cmp r15d, dword [rbp + 0xc]
jb 0x1800a7e10
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0x30]
cmp rdx, 0x10
jb 0x1800a848a
mov rcx, qword [rbp + 0x18]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a8485
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a8555
call fcn.1800caa30
mov rdx, qword [rbp + 0x70]
mov qword [rbp + 0x28], rdi
mov qword [rbp + 0x30], 0xf
mov byte [rbp + 0x18], 0
cmp rdx, 0x10
jb 0x1800a84d4
inc rdx
mov rax, r13
cmp rdx, 0x1000
jb 0x1800a84cc
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a8555
mov rcx, r13
call fcn.1800caa30
mov rdx, qword [r12 + 0x18]
cmp rdx, 0x10
jb 0x1800a850c
mov rcx, qword [r12]
inc rdx
cmp rdx, 0x1000
jb 0x1800a8507
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800a8555
mov rcx, r8
call fcn.1800caa30
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 0xf
mov byte [r12], 0
mov rcx, qword [rbp + 0x22b0]
xor rcx, rsp
call fcn.1800ca770
lea r11, [rsp + 0x23c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1800d9c90
int3
call fcn.1800d9c90
int3
call fcn.1800883a0
int3
call fcn.1800d9c90
int3
call fcn.1800883a0
int3
call fcn.1800d9c90
int3
call fcn.1800883a0
int3
call fcn.1800d9c90
int3