Function at 0x1400315d0
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, 0x7791878c9536455e
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rax
movabs rax, 0x33593b33b3470dec
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
movabs rdi, 0x1bf0f0fef05e311b
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x130], rax
movabs rbx, 0x33593b33b3470d80
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 0x1400316a5
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x110]
call fcn.140030300
nop
movabs rax, 0x5ea2b1a9a4187e48
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0x4a3d4956db3348dc
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0x1dab58489659a9bb
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0x3bd79e957139540d
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
movabs rax, 0x5f9be17acff2ad27
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x60], rax
movabs rcx, 0xddf8b13f32e92264
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, 0x6fce303cd305ccd5
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x150], rax
movabs rax, 0x4fb2f9c91d55357a
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x158], rax
movabs rax, 0x5f9be17acff2ad4f
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 0x140031810
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.140030300
nop
movabs rax, 0x1b82999a912a507f
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 0x1400318a0
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.140030300
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 [0x140115010]
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 0x140031a0e
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 0x140031a0e
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.140030300
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14003fea0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400319ff
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400319fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003216f
call fcn.1400ac9a0
movdqu xmmword [rbp + 0xa0], xmm7
mov byte [rbp + 0x90], 0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140031a1d
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.14004c390
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 0x140031ac2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031abd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032175
call fcn.1400ac9a0
movdqu xmmword [rsp + 0x50], xmm7
mov byte [rsp + 0x40], 0
cmp qword [rbp + 0xc0], 0
je 0x140031fc3
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 0x140032145
cmp eax, 1
je 0x140031fc3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x20]
call fcn.140042250
test eax, eax
jne 0x14003217b
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 0x140031b78
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 0x140031bbd
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 0x140031f21
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1400797a0
nop
cmp byte [rbp + 0x60], 0
je 0x140031efe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140040be0
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 0x140031c5c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140042420
or edi, 4
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x90]
call fcn.1400426f0
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.140030300
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003eec0
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.140041100
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140031d2e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031d29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032197
call fcn.1400ac9a0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], send
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140031d79
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031d74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003219d
call fcn.1400ac9a0
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140031dc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031dc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400321a3
call fcn.1400ac9a0
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 0x1400321a9
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.140052500
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.140030300
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003eec0
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.140041100
lea rax, [rsp + 0x40]
mov qword [rbp - 0x20], rax
lea rdx, [0x140134c60]
lea rcx, [rsp + 0x40]
call fcn.14003ff30
nop
mov rdx, rax
lea rcx, [0x14012e1c0]
call fcn.14003eec0
mov rbx, rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x140]
call fcn.14003ff30
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003eec0
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14003ede0
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
movzx edx, byte [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140041100
nop
lea rcx, [rbp + 0x40]
call fcn.1400311b0
lea rcx, [rbp + 0x78]
call fcn.14002e660
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
jne 0x140031bf0
mov rbx, qword [rbp + 0x138]
test rbx, rbx
je 0x140031f57
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031f57
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031f57
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rbp + 0x80]
test rbx, rbx
je 0x140031f8d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031f8d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031f8d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140031fc3
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140031fc3
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 0x140031fc3
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x140032009
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032004
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032191
call fcn.1400ac9a0
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r14w
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140032064
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003205f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400321af
call fcn.1400ac9a0
movdqu xmmword [rbp + 0xe0], xmm7
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x1400320b4
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400320af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400321b5
call fcn.1400ac9a0
movdqu xmmword [rbp + 0x100], xmm7
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140032100
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400320fb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003214e
call fcn.1400ac9a0
movdqu xmmword [rbp + 0x120], xmm7
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400ac980
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 0x140032154
jmp 0x140031fc3
call fcn.14008fb78
nop
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x90]
lea rcx, str.exists
call fcn.14002e0f0
nop
call fcn.14008fb78
nop
call fcn.14008fb78
nop
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002e080
nop
call fcn.14008fb78
nop
call fcn.14008fb78
nop
call fcn.14008fb78
nop
call fcn.14008fb78
int3
call fcn.14002ce20
nop
call fcn.14008fb78
nop
call fcn.14008fb78
int3