Function at 0x140030320
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 [0x1400dabf0]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
xor r14d, r14d
mov dword [rsp + 0x38], r14d
movabs rax, 0xf77b020548ad8164
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x867766aa16e1b0ba
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rdi, 0x9b1a75772dc5f521
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x290], rax
movabs rbx, 0x867766aa16e1b0d6
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 0x140030400
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x218]
call fcn.14002efe0
nop
movabs rax, 0xde4834207983ba72
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0xff1314cf7e95f58a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0xbd1df1e50e791525
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0x6ad111182cfd0e7f
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0x113168b31add383d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rcx, 0x32e0a0b6002161fa
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, 0xcf7899914b25704b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2b0], rax
movabs rax, 0x1eb4764440916f08
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2b8], rax
movabs rax, 0x113168b31add3855
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 0x140030580
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1e8]
call fcn.14002efe0
nop
movabs rax, 0x9b681c134cb19445
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 0x140030610
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1c8]
call fcn.14002efe0
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 [0x1400c5c10]
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 0x140030786
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 0x140030786
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.14002efe0
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.14003e1c0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140030775
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030770
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f52
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x140030798
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.140047a60
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 0x140030826
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030821
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f58
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
cmp qword [rbp + 0x198], 0
je 0x140030d93
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x110]
call fcn.14002d670
movsd xmm0, qword [rax]
movsd qword [rbp - 0x10], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x50], ecx
lea rax, str.___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 0x140030f28
cmp eax, 1
setne al
test al, al
je 0x140030d93
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x170]
call fcn.1400406d0
test eax, eax
jne 0x140030f5e
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 0x1400308f3
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.14002d450
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 0x140030947
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.14002d530
nop
mov rax, qword [rbp + 0x1a8]
cmp rax, qword [rbp + 0x208]
je 0x140030ce8
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x250]
call fcn.1400694f0
nop
cmp byte [rbp + 0x270], 0
je 0x140030ccb
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x1b8]
call fcn.14003f390
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.14002c340
nop
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.14002c210
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400309ee
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400408a0
or edi, 4
mov dword [rsp + 0x38], edi
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xf0]
call fcn.140040a40
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.14002efe0
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x1b8]
call fcn.14003cfe0
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.14003ecb0
and edi, 0xfffffffb
mov dword [rsp + 0x38], edi
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140030ac3
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030abe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f74
call fcn.14009c6c0
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], send
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x140030b0e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030b09
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f7a
call fcn.14009c6c0
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], send
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x140030b64
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030b5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f80
call fcn.14009c6c0
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 0x140030f86
mov byte [rsp + 0x40], 0
xor eax, eax
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.140048960
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.14002efe0
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1b8]
call fcn.14003cfe0
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.14003ecb0
lea rax, [rbp + 0x140]
mov qword [rbp + 0xe8], rax
lea rdx, [0x1400de380]
lea rcx, [rbp + 0x140]
call fcn.14003e250
nop
mov rdx, rax
lea rcx, [0x1400daf60]
call fcn.14003cfe0
mov rbx, rax
lea rax, [rbp + 0x120]
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x120]
call fcn.14003e250
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003cfe0
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.14003cf00
and edi, 0xfffffff7
mov dword [rsp + 0x38], edi
movzx edx, byte [rbp + 0x1b8]
lea rcx, [rbp + 0x1c0]
call fcn.14003ecb0
nop
lea rcx, [rbp + 0x250]
call fcn.14002fee0
lea rcx, [rbp + 0x1a8]
call fcn.14002d340
jmp 0x14003095d
mov rbx, qword [rbp + 0x210]
test rbx, rbx
je 0x140030d1e
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140030d1e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140030d1e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rbp + 0x1b0]
test rbx, rbx
je 0x140030d54
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140030d54
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140030d54
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140030d93
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140030d93
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 0x140030d93
mov rcx, qword [rbp + 0x178]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 8
jb 0x140030dd9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030dd4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f8c
call fcn.14009c6c0
mov qword [rbp + 0x198], r14
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], r14w
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 0x10
jb 0x140030e34
inc rdx
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030e2f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f92
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rbp + 0x1d8], xmm0
mov byte [rbp + 0x1c8], 0
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x140030e8c
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030e87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f98
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rbp + 0x1f8], xmm0
mov byte [rbp + 0x1e8], 0
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x140030ee0
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030edb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030f31
call fcn.14009c6c0
movdqa xmm0, xmmword [0x1400c5c10]
movdqu xmmword [rbp + 0x228], xmm0
mov byte [rbp + 0x218], 0
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.14009c6a0
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 0x140030f37
jmp 0x140030d93
call fcn.14007e888
nop
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x240]
lea rcx, str.exists
call fcn.14002cf00
nop
call fcn.14007e888
nop
call fcn.14007e888
nop
lea r8, [rbp + 0x188]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002ce90
nop
call fcn.14007e888
nop
call fcn.14007e888
nop
call fcn.14007e888
int3
call fcn.14002bde0
nop
call fcn.14007e888
nop
call fcn.14007e888
nop
call fcn.14007e888
int3