Function at 0x1401ba080
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 - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
xor esi, esi
mov qword [rbp - 0x21], rsi
mov byte [rsp + 0x20], 1
mov r9d, 0x20019
lea r8, [rbp - 0x21]
lea rdx, str.SoftwareESETESET_SecurityCurrentVersionInfoAppTags
mov rcx, 0xffffffff80000002
call fcn.1401a5450
test al, al
je 0x1401ba526
xor r15b, r15b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x17], xmm0
mov word [rbp + 0x27], ax
mov dword [rbp - 0x25], 9
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
mov qword [rbp + 7], rsi
mov r12d, esi
xor edx, edx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x25]
lea r8, [rbp + 0x17]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401ba4c6
xor edx, edx
lea r8d, [rbx + 0x10]
lea rcx, [rbp + 0x17]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstoul]
mov esi, eax
cmp eax, 0xffffffff
je 0x1401ba4b2
mov rbx, qword [rbp - 0x21]
xor edi, edi
mov dword [rbp - 0x29], edi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, [rbp + 0x17]
mov rcx, rbx
call qword [0x14024f060]
test eax, eax
je 0x1401ba1a4
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc r12d
xor esi, esi
mov edx, r12d
jmp 0x1401ba10d
cmp dword [rbp - 0x11], 3
je 0x1401ba1c2
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc r12d
xor esi, esi
mov edx, r12d
jmp 0x1401ba10d
cmp dword [rbp - 0x29], edi
jbe 0x1401ba1d4
mov ecx, 0x7a
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401ba20b
mov dword [rbp - 0x29], edi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, [rbp + 0x17]
mov rcx, rbx
call qword [0x14024f060]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401ba4b2
mov edi, dword [rbp - 0x29]
test rdi, rdi
je 0x1401ba4b2
mov r9, qword [rbp - 1]
mov rcx, r9
mov rbx, qword [rbp - 9]
sub rcx, rbx
cmp rdi, rcx
jae 0x1401ba234
lea rax, [rbx + rdi]
mov qword [rbp - 1], rax
jmp 0x1401ba26f
jbe 0x1401ba26f
mov rax, qword [rbp + 7]
sub rax, rbx
cmp rdi, rax
jbe 0x1401ba253
lfence
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.1400021f0
jmp 0x1401ba26b
mov r8, rdi
sub r8, rcx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 1], rbx
mov rbx, qword [rbp - 9]
mov r14, qword [rbp - 0x21]
mov dword [rbp - 0x19], edi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0xd]
xor r8d, r8d
lea rdx, [rbp + 0x17]
mov rcx, r14
call qword [0x14024f060]
test eax, eax
je 0x1401ba2b5
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc r12d
xor esi, esi
mov edx, r12d
jmp 0x1401ba10d
cmp dword [rbp - 0xd], 3
je 0x1401ba2d3
mov ecx, reloc.WS2_32.dll_listen
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc r12d
xor esi, esi
mov edx, r12d
jmp 0x1401ba10d
mov eax, dword [rbp - 0x19]
cmp rax, rdi
jbe 0x1401ba2f3
mov ecx, 0x7a
call qword [sym.imp.KERNEL32.dll_SetLastError]
inc r12d
xor esi, esi
mov edx, r12d
jmp 0x1401ba10d
mov dword [rbp - 0x19], edi
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0xd]
xor r8d, r8d
lea rdx, [rbp + 0x17]
mov rcx, r14
call qword [0x14024f060]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401ba4b2
mov dword [rbp + 0xf], esi
mov rax, qword [r13 + 0x10]
lea rcx, [r13 + 8]
mov rbx, qword [rcx]
cmp rbx, rax
je 0x1401ba353
nop dword [rax]
cmp dword [rbx + 0x18], esi
je 0x1401ba34e
add rbx, 0x20
cmp rbx, rax
jne 0x1401ba340
cmp rbx, rax
jne 0x1401ba391
cmp rax, qword [rcx + 0x10]
je 0x1401ba374
mov qword [rbp - 0x19], rax
xor edx, edx
mov qword [rax], rdx
mov qword [rax + 8], rdx
mov qword [rax + 0x10], rdx
mov dword [rax + 0x18], esi
add qword [rcx + 8], 0x20
jmp 0x1401ba380
lea r8, [rbp + 0xf]
mov rdx, rax
call fcn.1401ba6a0
mov rax, qword [r13 + 0x10]
lea rbx, [rax - 0x20]
cmp rbx, rax
je 0x1401ba4ab
mov rax, qword [rbp - 1]
mov r14, qword [rbp - 9]
sub rax, r14
test r14, r14
je 0x1401ba4ab
test rax, rax
je 0x1401ba4ab
test al, 3
jne 0x1401ba4ab
shr rax, 2
test rax, rax
je 0x1401ba4ab
lea r15, [rax*4]
mov rdi, r15
sar rdi, 2
mov rsi, qword [rbx]
mov rcx, qword [rbx + 0x10]
sub rcx, rsi
sar rcx, 2
cmp rdi, rcx
jbe 0x1401ba492
movabs rax, 0x3fffffffffffffff
cmp rdi, rax
ja 0x1401ba553
mov rdx, rcx
shr rdx, 1
sub rax, rdx
cmp rcx, rax
ja 0x1401ba418
lea rax, [rcx + rdx]
cmp rax, rdi
cmovb rax, rdi
mov rdi, rax
test rsi, rsi
je 0x1401ba45b
lea rdx, [rcx*4]
cmp rdx, 0x1000
jb 0x1401ba446
add rdx, 0x27
mov rcx, qword [rsi - 8]
sub rsi, rcx
lea rax, [rsi - 8]
cmp rax, 0x1f
ja 0x1401ba4bf
mov rsi, rcx
mov rcx, rsi
call fcn.140007ea0
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
movabs rax, 0x3fffffffffffffff
cmp rdi, rax
ja 0x1401ba559
lfence
lea rdi, [rdi*4]
mov rcx, rdi
call fcn.140002680
mov rsi, rax
mov qword [rbx], rax
mov qword [rbx + 8], rax
add rax, rdi
mov qword [rbx + 0x10], rax
mov r8, r15
mov rdx, r14
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
mov qword [rbx + 8], rax
mov r15b, 1
mov dword [rbp - 0x25], 9
inc r12d
xor esi, esi
mov edx, r12d
jmp 0x1401ba10d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rbp - 0x21]
call qword [0x14024f048]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x1401ba522
mov rdx, qword [rbp + 7]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401ba511
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401ba511
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ea0
mov qword [rbp - 9], rsi
mov qword [rbp - 1], rsi
mov qword [rbp + 7], rsi
movzx eax, r15b
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0xa0]
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.1400022f0
nop
call fcn.140002660
int3