Function at 0x14002c230
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1b0
mov r13, r9
mov r12, r8
mov rdi, rdx
mov r15, rcx
xor eax, eax
mov rbx, 0xffffffffffffffff
mov r14d, dword [rbp + 0x100]
cmp r14d, ebx
jne 0x14002c4d2
xor r14d, r14d
mov qword [rbp - 0x40], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x48], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x58], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x80], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x38], r14
lea rdi, [0x14007a7c4]
test r13, r13
cmovne rdi, r13
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x78], r14
lea rbx, [0x14007a7c4]
test r12, r12
cmovne rbx, r12
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x78]
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp - 0x30]
call fcn.14001f610
mov rsi, rax
mov qword [rbp - 0x70], r14
mov rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x68], r14
mov rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x68]
mov rdi, qword [rbp + 0xe8]
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.14001f610
nop
mov rbx, 0xffffffffffffffff
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r14
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
xor edx, edx
mov rcx, r15
call fcn.140014980
mov r14d, eax
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
xor eax, eax
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, r12
mov rcx, rdi
call fcn.14001d250
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14002ccda
xor r12d, r12d
mov dword [rbp + 0x100], r12d
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14002ccd0
lea ecx, [rax + 2]
call fcn.140059d40
mov qword [rbp - 0x68], rax
mov word [rax], r12w
mov ecx, dword [rbp + 0x100]
shr rcx, 1
add rcx, 2
mov eax, 2
mul rcx
cmovo rax, rbx
mov rcx, rax
call fcn.14004bfc4
mov rsi, rax
lea rax, [rbp + 0x100]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov rdx, r13
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [rbp + 0x100]
shr eax, 1
mov dword [rbp + 0x100], eax
cmp eax, 2
jbe 0x14002ccc7
dec eax
mov word [rsi + rax*2], r12w
mov eax, dword [rbp + 0x100]
mov word [rsi + rax*2], r12w
cmp word [rsi], r12w
je 0x14002ccc7
nop dword [rax]
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x40], rax
mov word [rax], r12w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r12
lea rdx, [rbp + 0x40]
mov rcx, rsi
call fcn.14001e010
mov rbx, qword [rbp - 0x68]
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x68], rax
mov rcx, rbx
call fcn.140059d2c
xor r9d, r9d
lea r8, [rbp + 0x40]
mov rdx, r15
lea rcx, [rbp - 0x78]
call fcn.140018960
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14002c6ce
mov r8d, 0x10
lea rdx, str.File_not_found:
call fcn.14005bdfc
test eax, eax
jne 0x14002c6ca
lea r8d, [rax + 0xa]
lea rdx, str.autocheck
mov rcx, rsi
call fcn.14005bdfc
test eax, eax
jne 0x14002c6ca
mov rcx, rsi
call fcn.140059d48
mov rbx, rax
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea rcx, [rsi + 0x14]
lea rdx, [rbp + 0x40]
call fcn.14001e010
xor r9d, r9d
lea r8, [rbp + 0x40]
mov rdx, r15
lea rcx, [rbp + 0x60]
call fcn.140018960
mov rdx, qword [rax]
mov rdi, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x78], rax
mov rcx, rdi
call fcn.140059d2c
mov rcx, qword [rbp + 0x60]
call fcn.140059d2c
nop
mov rcx, rbx
call fcn.140059d2c
mov rdi, qword [rbp + 0xe8]
mov rcx, qword [rbp - 0x78]
cmp word [rcx], 0
je 0x14002cc23
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x70], rax
mov word [rax], r12w
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x28], rax
mov word [rax], r12w
mov ecx, 2
call fcn.140059d40
mov qword [rbp - 0x30], rax
mov word [rax], r12w
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x70]
mov rdx, qword [rbp - 0x78]
mov rcx, r15
call fcn.1400185f0
mov dword [rbp - 0x38], eax
mov qword [rbp - 0x80], r12
mov rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x58], r12
lea r12, [0x14007a7c4]
test r13, r13
cmovne r12, r13
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], 0
lea r13, [0x14007a7c4]
mov rax, qword [rbp + 0xf0]
test rax, rax
cmovne r13, rax
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x48], 0
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x48], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x40], 0
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x40], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x40]
mov rdx, rdi
lea rcx, [rbp + 0x68]
call fcn.14001f610
nop
lea rcx, [rbp + 0x88]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
mov r8, rbx
mov rdx, rax
mov rcx, r15
call fcn.140014330
movzx ebx, al
mov rcx, qword [rbp + 0x68]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
test bl, bl
je 0x14002cbf8
cmp r14d, 0xffffffff
jne 0x14002cab7
xor r14d, r14d
mov qword [rbp - 0x80], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x20], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x18], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x10], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 8], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 8], r14
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x10], r14
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x10], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 8]
lea r8, [rbp - 0x10]
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.14001f610
mov rbx, rax
mov qword [rbp - 0x18], r14
mov rcx, r12
call fcn.140059d48
mov qword [rbp - 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], r14
mov rcx, r13
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x60]
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.14001f610
nop
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0x80], edx
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], 1
mov qword [rsp + 0x58], r14
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, edx
xor edx, edx
mov rcx, r15
call fcn.140014980
mov r14d, eax
mov rcx, qword [rbp + 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x80]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
xor ebx, ebx
mov qword [rbp - 0x80], rbx
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x80], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov rdi, qword [rbp + 0x88]
mov qword [rbp + 0x38], rbx
mov rcx, r12
call fcn.140059d48
mov qword [rbp + 0x38], rax
xor ecx, ecx
call fcn.140059d2c
nop
xor r12d, r12d
mov qword [rbp + 0x30], r12
mov rcx, r13
call fcn.140059d48
mov qword [rbp + 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0xe8]
lea rcx, [rbp + 0x90]
call fcn.14001f610
mov rbx, rax
mov qword [rbp + 0x28], r12
mov rcx, rsi
call fcn.140059d48
mov qword [rbp + 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
movzx ecx, byte [rbp + 0x108]
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], ecx
mov qword [rsp + 0x58], rdi
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 5]
mov r8d, r14d
mov edx, dword [rbp - 0x38]
mov rcx, r15
call fcn.140014980
nop
mov rcx, qword [rbp + 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x90]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x80]
call fcn.140059d2c
jmp 0x14002cbfb
xor r12d, r12d
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
mov rcx, qword [rbp - 0x78]
mov r13, qword [rbp + 0xf8]
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0x48]
test rbx, rbx
je 0x14002cc9d
mov rdi, qword [rbp + 0x50]
cmp rbx, rdi
je 0x14002cc55
nop dword [rax + rax]
mov rcx, qword [rbx]
call fcn.140059d2c
add rbx, 8
cmp rbx, rdi
jne 0x14002cc40
mov rbx, qword [rbp + 0x48]
mov rax, qword [rbp + 0x58]
sub rax, rbx
sar rax, 3
lea rdx, [rax*8]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14002cc89
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ccf8
mov rcx, rbx
call fcn.14004bd8c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r12
mov rcx, qword [rbp + 0x40]
call fcn.140059d2c
xor edx, edx
lea rcx, [rsi + 2]
call fcn.14004eb30
lea rsi, [rax + 2]
cmp word [rsi], 0
je 0x14002ccc7
mov rdi, qword [rbp + 0xe8]
jmp 0x14002c5c0
mov rcx, qword [rbp - 0x68]
call fcn.140059d2c
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, r14d
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14005a178
nop
int3