Function at 0x140121c90
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov qword [rsp + 0x50], 0xfffffffffffffffe
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp - 0x20], rax
mov r15, r9
mov r12, r8
mov qword [rsp + 0x48], r8
mov r13, rdx
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
test rdx, rdx
je 0x14012212e
test r8, r8
je 0x14012212e
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor r14d, r14d
mov qword [rsp + 0x78], r14
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov rax, qword [rcx + 0x70]
mov edx, eax
test eax, eax
je 0x140121d27
lea rcx, [rsp + 0x68]
call fcn.140125330
mov rax, qword [rdi + 0x70]
mov edx, eax
test eax, eax
je 0x140121d36
lea rcx, [rbp - 0x80]
call fcn.1400b99b0
cmp qword [rdi + 0x70], 0
jne 0x140121d46
lea rcx, [rdi + 0x48]
call fcn.1401c2930
mov rax, qword [rdi + 0x68]
mov rcx, qword [rax]
mov qword [rdi + 0x80], rcx
add rcx, 0x28
mov rsi, qword [rsp + 0x70]
je 0x140121f99
xorps xmm6, xmm6
mov r14, qword [rbp - 0x78]
nop word [rax + rax]
mov ebx, dword [rcx + 4]
mov dword [rsp + 0x38], ebx
movsd qword [rsp + 0x60], xmm6
test r15, r15
je 0x140121dde
mov rdx, qword [r15 + 0xe8]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140121db7
cmp dword [rax + 0x1c], ebx
jae 0x140121da1
mov rax, qword [rax + 0x10]
jmp 0x140121da7
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140121d96
cmp rcx, rdx
je 0x140121db7
cmp ebx, dword [rcx + 0x1c]
jae 0x140121dba
mov rcx, rdx
cmp rcx, rdx
je 0x140121dde
movsxd rax, dword [rcx + 0x20]
test eax, eax
js 0x140121dde
mov rcx, rax
mov rax, qword [r15 + 0x110]
movsd xmm2, qword [rax + rcx*8]
movsd qword [rsp + 0x60], xmm2
jmp 0x140121e4d
mov r8d, ebx
lea rdx, str.Param_u
lea rcx, [rbp - 0x60]
call fcn.140126330
mov dword [rsp + 0x58], 8
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov rcx, qword [r13 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x140121e47
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x140121f2d
lea r8, [rsp + 0x60]
mov edx, ebx
call fcn.140111ed0
test al, al
je 0x140121f2d
movsd xmm2, qword [rsp + 0x60]
lea rax, [rdi + 0x88]
cmp r12, rax
jne 0x140121eee
movsd qword [rsp + 0x58], xmm6
cmp dword [rbp + 0x70], 0
jne 0x140121e91
mov rax, qword [rdi]
lea r8, [rsp + 0x58]
mov edx, ebx
mov rcx, rdi
call qword [rax + 0x20]
test al, al
je 0x140121e91
movsd xmm0, qword [rsp + 0x58]
ucomisd xmm0, qword [rsp + 0x60]
jp 0x140121e91
je 0x140121f2d
cmp qword [rsp + 0x78], rsi
je 0x140121ea5
mov dword [rsi], ebx
add rsi, 4
mov qword [rsp + 0x70], rsi
jmp 0x140121ebc
lea r8, [rsp + 0x38]
mov rdx, rsi
lea rcx, [rsp + 0x68]
call fcn.1400491f0
mov rsi, qword [rsp + 0x70]
cmp qword [rbp - 0x70], r14
je 0x140121ed7
movsd xmm0, qword [rsp + 0x60]
movsd qword [r14], xmm0
add r14, 8
mov qword [rbp - 0x78], r14
jmp 0x140121f2d
lea r8, [rsp + 0x60]
mov rdx, r14
lea rcx, [rbp - 0x80]
call fcn.1401156d0
mov r14, qword [rbp - 0x78]
jmp 0x140121f2d
mov rdx, qword [0x1403039c0]
mov rcx, rdx
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x140121f23
cmp dword [rax + 0x1c], ebx
jae 0x140121f0d
mov rax, qword [rax + 0x10]
jmp 0x140121f13
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140121f02
cmp rcx, rdx
je 0x140121f23
cmp ebx, dword [rcx + 0x1c]
jae 0x140121f2d
mov edx, ebx
mov rcx, r12
call fcn.140125f90
mov rax, qword [rdi + 0x80]
mov rcx, qword [rax + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140121f64
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
jne 0x140121f7f
cmp rax, qword [rcx + 0x10]
jne 0x140121f7f
mov qword [rdi + 0x80], rcx
mov rax, rcx
mov rcx, qword [rcx + 8]
cmp byte [rcx + 0x19], 0
je 0x140121f48
jmp 0x140121f7f
mov rdx, qword [rcx]
cmp byte [rdx + 0x19], 0
jne 0x140121f7f
nop dword [rax]
mov rcx, rdx
mov rax, qword [rdx]
mov rdx, rax
cmp byte [rax + 0x19], 0
je 0x140121f70
mov qword [rdi + 0x80], rcx
cmp rcx, qword [rdi + 0x68]
je 0x140121f96
add rcx, 0x28
jne 0x140121d70
xor r14d, r14d
sub rsi, qword [rsp + 0x68]
mov qword [rsp + 0x60], rsi
cmp rsi, 4
setb r12b
mov sil, 1
mov ebx, r14d
movzx r15d, byte [rbp + 0x78]
mov r13, qword [rsp + 0x48]
nop dword [rax + rax]
mov dword [rsp + 0x58], r14d
mov r14b, 1
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call fcn.140126170
test eax, eax
je 0x14012204b
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14012204b
mov ecx, eax
call fcn.140146e5c
mov rdi, rax
test rax, rax
je 0x140122046
lea r9, [rsp + 0x58]
mov r8, rax
mov edx, ebx
mov rcx, qword [rsp + 0x40]
call fcn.140126170
test eax, eax
je 0x140122039
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r15b
mov r9d, dword [rsp + 0x58]
mov r8, rdi
mov edx, ebx
mov rcx, qword [rsp + 0x30]
call fcn.140120920
test al, al
jne 0x140122036
xor sil, sil
jmp 0x140122039
xor r14b, r14b
mov rcx, rdi
call fcn.140146bac
test r14b, r14b
je 0x140122098
mov rdi, qword [rsp + 0x30]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov edx, ebx
mov rcx, r13
call fcn.140126170
test eax, eax
je 0x140122098
cmp dword [rsp + 0x58], 0
jbe 0x140122098
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], r15b
xor r9d, r9d
lea r8, [0x140230540]
mov edx, ebx
mov rcx, rdi
call fcn.140120920
movzx esi, sil
test al, al
mov r14d, 0
cmove esi, r14d
jmp 0x14012209b
xor r14d, r14d
inc ebx
mov rdi, qword [rsp + 0x30]
cmp ebx, 1
jle 0x140121fc0
mov rax, qword [rsp + 0x60]
sar rax, 2
mov rbx, qword [rbp - 0x80]
test rax, rax
mov r13, qword [rsp + 0x68]
je 0x1401220dd
mov byte [rsp + 0x28], r15b
mov dword [rsp + 0x20], r14d
mov r9d, eax
mov r8, rbx
mov rdx, r13
mov rcx, rdi
call fcn.140120270
mov qword [rsp + 0x70], r13
mov qword [rbp - 0x78], rbx
test sil, sil
je 0x140122114
lea rax, [rdi + 0x88]
cmp qword [rsp + 0x48], rax
jne 0x140122114
mov rcx, qword [rdi + 0x270]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
mov rcx, qword [rdi + 0x250]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop
lea rcx, [rbp - 0x80]
call fcn.1400161e0
nop
lea rcx, [rsp + 0x68]
call fcn.1400164d0
movzx eax, sil
jmp 0x140122130
mov al, 1
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140146480
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret