Function at 0x1400314b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5a8]
sub rsp, 0x6a0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14012dc00]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
movabs rax, 0xedf8968ea4bf3872
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rax
movabs rax, 0xd76e9991b725586c
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
movabs rdi, 0x8199e1fcc1d74c37
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x130], rax
movabs rbx, 0xd76e9991b7255800
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x138], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
lea rax, [rbp + 0x20]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], r14b
jne 0x140031585
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x110]
call fcn.140045330
nop
movabs rax, 0xc4cba0ab95910364
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0xae0aebf4df511d5c
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0x72b21b4ac0a34007
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0x3e0643a77b01828d
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
movabs rax, 0x808ba278c3ad50e3
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x60], rax
movabs rcx, 0x2c7d214d51b6f6c4
mov qword [rbp + 8], rcx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x68], rax
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x140], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x148], rax
movabs rax, 0xd7733e85ff2569
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x150], rax
movabs rax, 0x4a6324fb176de3fa
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x158], rax
movabs rax, 0x808ba278c3ad508b
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x160], rax
mov qword [rbp + 8], rcx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x168], rax
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x140]
movdqa xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [rbp + 0x50]
xorps xmm1, xmmword [rbp + 0x150]
movdqa xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [rbp + 0x60]
xorps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rbp + 0x60], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
lea rax, [rbp + 0x40]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400316f0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.140045330
nop
movabs rax, 0x81eb8898a0a32d53
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x130], rax
mov qword [rbp + 8], rbx
mov rax, qword [rbp + 8]
mov qword [rbp + 0x138], rax
movdqa xmm0, xmmword [rbp + 0x20]
xorps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
lea rax, [rbp + 0x20]
mov r8, rsi
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140031780
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.140045330
nop
mov qword [rbp + 8], r14
mov dword [rbp + 0x10], 0x400
mov dword [rbp + 0x70], 0xf003f
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm7, xmmword [0x1401151a0]
movdqu xmmword [rsp + 0x50], xmm7
mov byte [rsp + 0x40], 0
mov dword [rsp + 0x30], 1
lea rdx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0xf
cmova rdx, qword [rbp + 0xf0]
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400318ee
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x170]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400318ee
mov r8d, dword [rbp + 0x10]
dec r8d
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x90]
call fcn.140045330
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14003fd80
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400318df
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400318da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003204f
call fcn.1400acb90
movdqu xmmword [rbp + 0xa0], xmm7
mov byte [rbp + 0x90], 0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400318fd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0xb0]
mov qword [rbp + 8], rax
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rax, qword [rsp + 0x40]
mov qword [rbp + 0x130], rax
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0x138], rax
movaps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x130], xmm0
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xb0]
call fcn.14004c340
mov edi, 3
mov dword [rsp + 0x30], edi
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400319a2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003199d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032055
call fcn.1400acb90
movdqu xmmword [rsp + 0x50], xmm7
mov byte [rsp + 0x40], 0
cmp qword [rbp + 0xc0], 0
je 0x140031ea3
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x20]
call fcn.14002e9a0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x130], ecx
lea rax, [0x14012de30]
mov qword [rbp + 0x138], rax
movaps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x90], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140032025
cmp eax, 1
je 0x140031ea3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x20]
call fcn.140042100
test eax, eax
jne 0x14003205b
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
lea rax, [rbp + 0x30]
mov qword [rbp + 8], rax
movdqa xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140031a58
lock inc dword [rcx + 8]
mov edi, dword [rsp + 0x30]
movdqa xmm6, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x30], xmm6
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x78]
call fcn.14002e770
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
lea rax, [rbp + 0x30]
mov qword [rbp + 8], rax
movdqa xmmword [rbp + 0x30], xmm0
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140031a9d
lock inc dword [rcx + 8]
movdqa xmm6, xmmword [rbp + 0x20]
mov edi, dword [rsp + 0x30]
movdqa xmmword [rbp + 0x30], xmm6
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x130]
call fcn.14002e850
nop
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
je 0x140031e01
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140079830
nop
cmp byte [rbp + 0x60], 0
je 0x140031dde
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140040a90
or edi, 8
mov dword [rsp + 0x30], edi
lea rax, [rbp + 0x90]
mov qword [rbp + 8], rax
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.14002d390
nop
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14002d220
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140031b3c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.1400422d0
or edi, 4
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x90]
call fcn.1400425a0
mov rbx, rax
mov qword [rbp + 0x70], rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 8
lea rdx, str.filename
lea rcx, [rsp + 0x40]
call fcn.140045330
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003eda0
nop
movzx edx, byte [rax]
movzx ecx, byte [rbx]
mov byte [rax], cl
mov byte [rbx], dl
lea rcx, [rbx + 8]
mov rdx, qword [rax + 8]
mov r8, qword [rcx]
mov qword [rax + 8], r8
mov qword [rcx], rdx
movzx edx, byte [rbx]
call fcn.140040fb0
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140031c0e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032077
call fcn.1400acb90
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], send
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140031c59
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c54
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003207d
call fcn.1400acb90
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140031ca9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031ca4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032083
call fcn.1400acb90
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r14w
lea rax, [rsp + 0x60]
mov qword [rbp - 0x10], rax
cmp byte [rbp + 0x60], 0
je 0x140032089
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400524f0
nop
lea rax, [rsp + 0x60]
mov qword [rbp - 8], rax
lea rax, [rsp + 0x40]
mov qword [rbp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov r8d, 7
lea rdx, str.content
lea rcx, [rsp + 0x40]
call fcn.140045330
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003eda0
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x60]
mov byte [rax], cl
mov byte [rsp + 0x60], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x68]
mov qword [rax + 8], rdx
mov qword [rsp + 0x68], rcx
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x68]
call fcn.140040fb0
lea rax, [rsp + 0x40]
mov qword [rbp - 0x20], rax
lea rdx, [0x140134c00]
lea rcx, [rsp + 0x40]
call fcn.14003fe50
nop
mov rdx, rax
lea rcx, [0x14012e140]
call fcn.14003eda0
mov rbx, rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x140]
call fcn.14003fe50
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003eda0
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14003ecc0
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
movzx edx, byte [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140040fb0
nop
lea rcx, [rbp + 0x40]
call fcn.140031090
lea rcx, [rbp + 0x78]
call fcn.14002e660
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
jne 0x140031ad0
mov rbx, qword [rbp + 0x138]
test rbx, rbx
je 0x140031e37
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031e37
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031e37
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rbp + 0x80]
test rbx, rbx
je 0x140031e6d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031e6d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031e6d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140031ea3
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140031ea3
mov rbx, qword [rbp + 0x28]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140031ea3
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x140031ee9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031ee4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032071
call fcn.1400acb90
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r14w
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140031f44
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031f3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003208f
call fcn.1400acb90
movdqu xmmword [rbp + 0xe0], xmm7
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x140031f94
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031f8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032095
call fcn.1400acb90
movdqu xmmword [rbp + 0x100], xmm7
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140031fe0
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003202e
call fcn.1400acb90
movdqu xmmword [rbp + 0x120], xmm7
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400acb70
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
test ecx, ecx
jne 0x140032034
jmp 0x140031ea3
call fcn.14008fc0c
nop
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x90]
lea rcx, str.exists
call fcn.14002e0f0
nop
call fcn.14008fc0c
nop
call fcn.14008fc0c
nop
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002e080
nop
call fcn.14008fc0c
nop
call fcn.14008fc0c
nop
call fcn.14008fc0c
nop
call fcn.14008fc0c
int3
call fcn.14002ce20
nop
call fcn.14008fc0c
nop
call fcn.14008fc0c
int3