Function at 0x140030d50
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 - 0x6f8]
sub rsp, 0x7f0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400dbbf0]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
xor r14d, r14d
mov dword [rsp + 0x38], r14d
movabs rax, 0xc8cdb9a9a02af474
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0xf3a69446f97b8faa
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rdi, 0xa4accedbc5428031
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x290], rax
movabs rbx, 0xf3a69446f97b8fc6
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x298], rax
movdqa xmm0, xmmword [rbp + 0x290]
xorps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x228], xmm1
lea rax, [rbp - 0x80]
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140030e30
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x218]
call fcn.14002fa10
nop
movabs rax, 0xe1fe8f8c9104cf62
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x8ac2e623910fca9a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x7b34a898d69a3ad
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x8980d0248658fcff
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0xeb72139f28057ced
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rcx, 0x76b3066a4aab49ca
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x38], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2a0], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2a8], rax
movabs rax, 0x75d622fdc835c6c3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2b0], rax
movabs rax, 0xfde5b778ea349d88
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2b8], rax
movabs rax, 0xeb72139f28057c85
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2c0], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2c8], rax
movdqa xmm0, xmmword [rbp + 0x2a0]
xorps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [rbp - 0x50]
xorps xmm1, xmmword [rbp + 0x2b0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [rbp - 0x40]
xorps xmm0, xmmword [rbp + 0x2c0]
movdqa xmmword [rbp - 0x40], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f8], xmm1
lea rax, [rbp - 0x60]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140030fb0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1e8]
call fcn.14002fa10
nop
movabs rax, 0xa4dea7bfa436e155
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x280], rax
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x288], rax
movdqa xmm0, xmmword [rbp + 0x280]
xorps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1c8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1d8], xmm1
lea rax, [rbp - 0x70]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x140031040
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1c8]
call fcn.14002fa10
nop
mov qword [rbp + 0x168], r14
mov dword [rbp + 0x160], 0x400
mov dword [rbp + 0x180], 0xf003f
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [0x1400c6c10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x38], 1
lea rdx, [rbp + 0x1e8]
cmp qword [rbp + 0x200], 0x10
cmovae rdx, qword [rbp + 0x1e8]
lea rax, [rbp + 0x168]
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 0x1400311b6
lea rdx, [rbp + 0x1c8]
cmp qword [rbp + 0x1e0], 0x10
cmovae rdx, qword [rbp + 0x1c8]
lea rax, [rbp + 0x160]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x180]
xor r8d, r8d
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400311b6
mov r8d, dword [rbp + 0x160]
dec r8d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rdx, [rbp + 0x2d0]
lea rcx, [rbp - 0x30]
call fcn.14002fa10
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.14003ebf0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1400311a5
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400311a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031982
call fcn.14009d0f0
movdqa xmm0, xmmword [0x1400c6c10]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x1400311c8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp + 0x188]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov qword [rbp + 0x50], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x188]
call fcn.140048490
mov edi, 3
mov dword [rsp + 0x38], edi
and edi, 0xfffffffd
mov dword [rsp + 0x38], edi
and edi, 0xfffffffe
mov dword [rsp + 0x38], edi
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140031256
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031251
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031988
call fcn.14009d0f0
movdqa xmm0, xmmword [0x1400c6c10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
cmp qword [rbp + 0x198], 0
je 0x1400317c3
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x110]
call fcn.14002e0c0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x10], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x50], ecx
lea rax, str._N_f_
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x240], xmm0
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x140031958
cmp eax, 1
setne al
test al, al
je 0x1400317c3
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x170]
call fcn.140041100
test eax, eax
jne 0x14003198e
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a8], xmm0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
movdqa xmmword [rsp + 0x50], xmm0
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140031323
lock inc dword [rcx + 8]
mov edi, dword [rsp + 0x38]
movdqa xmm6, xmmword [rbp + 0x170]
movdqa xmmword [rsp + 0x50], xmm6
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x1a8]
call fcn.14002dea0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x208], xmm0
lea rax, [rbp]
mov qword [rsp + 0x30], rax
movdqa xmmword [rbp], xmm0
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140031377
lock inc dword [rcx + 8]
movdqa xmm6, xmmword [rbp + 0x170]
mov edi, dword [rsp + 0x38]
movdqa xmmword [rbp], xmm6
lea rdx, [rbp]
lea rcx, [rbp + 0x208]
call fcn.14002df80
nop
mov rax, qword [rbp + 0x1a8]
cmp rax, qword [rbp + 0x208]
je 0x140031718
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x250]
call fcn.140069f20
nop
cmp byte [rbp + 0x270], 0
je 0x1400316fb
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x1b8]
call fcn.14003fdc0
or edi, 8
mov dword [rsp + 0x38], edi
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.14002cd90
nop
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.14002cc60
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14003141e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400412d0
or edi, 4
mov dword [rsp + 0x38], edi
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xf0]
call fcn.140041470
mov rbx, rax
mov qword [rbp + 0xc0], rax
lea rax, [rbp + 0x30]
mov qword [rbp + 0xc8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8d, 8
lea rdx, str.filename
lea rcx, [rbp + 0x30]
call fcn.14002fa10
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x1b8]
call fcn.14003da10
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.14003f6e0
and edi, 0xfffffffb
mov dword [rsp + 0x38], edi
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400314f3
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400314ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319a4
call fcn.14009d0f0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], send
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14003153e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031539
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319aa
call fcn.14009d0f0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], send
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140031594
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003158f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319b0
call fcn.14009d0f0
mov qword [rbp + 0x90], r14
mov qword [rbp + 0x98], 7
mov word [rbp + 0x80], r14w
lea rax, [rsp + 0x40]
mov qword [rbp + 0xd0], rax
cmp byte [rbp + 0x270], 0
je 0x1400319b6
mov byte [rsp + 0x40], 0
xor eax, eax
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.140049390
lea rax, [rsp + 0x40]
mov qword [rbp + 0xd8], rax
lea rax, [rbp + 0xa0]
mov qword [rbp + 0xe0], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
mov r8d, 7
lea rdx, str.content
lea rcx, [rbp + 0xa0]
call fcn.14002fa10
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1b8]
call fcn.14003da10
nop
movzx edx, byte [rax]
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov byte [rsp + 0x40], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov qword [rax + 8], rdx
mov qword [rsp + 0x48], rcx
movzx edx, byte [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14003f6e0
lea rax, [rbp + 0x140]
mov qword [rbp + 0xe8], rax
lea rdx, [0x1400df380]
lea rcx, [rbp + 0x140]
call fcn.14003ec80
nop
mov rdx, rax
lea rcx, [0x1400dbf60]
call fcn.14003da10
mov rbx, rax
lea rax, [rbp + 0x120]
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x120]
call fcn.14003ec80
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003da10
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.14003d930
and edi, 0xfffffff7
mov dword [rsp + 0x38], edi
movzx edx, byte [rbp + 0x1b8]
lea rcx, [rbp + 0x1c0]
call fcn.14003f6e0
nop
lea rcx, [rbp + 0x250]
call fcn.140030910
lea rcx, [rbp + 0x1a8]
call fcn.14002dd90
jmp 0x14003138d
mov rbx, qword [rbp + 0x210]
test rbx, rbx
je 0x14003174e
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003174e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003174e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rbp + 0x1b0]
test rbx, rbx
je 0x140031784
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031784
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031784
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x1400317c3
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400317c3
mov rbx, qword [rbp + 0x178]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x1400317c3
mov rcx, qword [rbp + 0x178]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 8
jb 0x140031809
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031804
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319bc
call fcn.14009d0f0
mov qword [rbp + 0x198], r14
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], r14w
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 0x10
jb 0x140031864
inc rdx
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003185f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319c2
call fcn.14009d0f0
movdqa xmm0, xmmword [0x1400c6c10]
movdqu xmmword [rbp + 0x1d8], xmm0
mov byte [rbp + 0x1c8], 0
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1400318bc
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400318b7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319c8
call fcn.14009d0f0
movdqa xmm0, xmmword [0x1400c6c10]
movdqu xmmword [rbp + 0x1f8], xmm0
mov byte [rbp + 0x1e8], 0
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x140031910
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003190b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031961
call fcn.14009d0f0
movdqa xmm0, xmmword [0x1400c6c10]
movdqu xmmword [rbp + 0x228], xmm0
mov byte [rbp + 0x218], 0
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14009d0d0
lea r11, [rsp + 0x7f0]
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]
mov rsp, r11
pop rbp
ret
test ecx, ecx
jne 0x140031967
jmp 0x1400317c3
call fcn.14007f2b8
nop
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x240]
lea rcx, str.exists
call fcn.14002d950
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
nop
lea r8, [rbp + 0x188]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002d8e0
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
int3
call fcn.14002c830
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
nop
call fcn.14007f2b8
int3