Function at 0x140031140
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 [0x1400fec00]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
movabs rax, 0x28fdb71a3325092e
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rax
movabs rax, 0x8ef95065fd0580a4
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
movabs rdi, 0x449cc068564d7d6b
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x130], rax
movabs rbx, 0x8ef95065fd0580c8
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 0x140031215
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x110]
call fcn.14002fe70
nop
movabs rax, 0x1ce813f020b3238
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0xf79d22009571c594
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0x44ac74e23c5018bb
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0x6a53ded784fc3a55
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
movabs rax, 0xfe5342f4e0ca6477
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x60], rax
movabs rcx, 0x2f84115175733c2c
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, 0x36c91c96790c7dd5
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x150], rax
movabs rax, 0x1e36b98be8905b22
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x158], rax
movabs rax, 0xfe5342f4e0ca641f
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 0x140031380
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.14002fe70
nop
movabs rax, 0x44eea90c37391c0f
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 0x140031410
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.14002fe70
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 [0x1400e52e0]
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 0x14003157e
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 0x14003157e
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.14002fe70
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14003f900
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14003156f
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003156a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031cdf
call fcn.1400b3f70
movdqu xmmword [rbp + 0xa0], xmm7
mov byte [rbp + 0x90], 0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14003158d
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.14004bec0
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 0x140031632
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003162d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031ce5
call fcn.1400b3f70
movdqu xmmword [rsp + 0x50], xmm7
mov byte [rsp + 0x40], 0
cmp qword [rbp + 0xc0], 0
je 0x140031b33
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x20]
call fcn.14002e510
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x130], ecx
lea rax, [0x1400fedc0]
mov qword [rbp + 0x138], rax
movaps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x90], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140031cb5
cmp eax, 1
je 0x140031b33
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x20]
call fcn.140041e30
test eax, eax
jne 0x140031ceb
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 0x1400316e8
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.14002e2e0
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 0x14003172d
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.14002e3c0
nop
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
je 0x140031a91
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.1400817c0
nop
cmp byte [rbp + 0x60], 0
je 0x140031a6e
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140040780
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.14002cf00
nop
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14002cd90
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400317cc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140042000
or edi, 4
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x90]
call fcn.1400422d0
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.14002fe70
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003e980
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.140040ce0
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14003189e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031899
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d07
call fcn.1400b3f70
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], send
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x1400318e9
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400318e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d0d
call fcn.1400b3f70
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], send
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140031939
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031934
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d13
call fcn.1400b3f70
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 0x140031d19
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.140052030
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.14002fe70
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003e980
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.140040ce0
lea rax, [rsp + 0x40]
mov qword [rbp - 0x20], rax
lea rdx, [0x140106360]
lea rcx, [rsp + 0x40]
call fcn.14003f990
nop
mov rdx, rax
lea rcx, [0x1400ff140]
call fcn.14003e980
mov rbx, rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x140]
call fcn.14003f990
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003e980
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14003e8a0
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
movzx edx, byte [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140040ce0
nop
lea rcx, [rbp + 0x40]
call fcn.140030d20
lea rcx, [rbp + 0x78]
call fcn.14002e1d0
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
jne 0x140031760
mov rbx, qword [rbp + 0x138]
test rbx, rbx
je 0x140031ac7
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031ac7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031ac7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rbp + 0x80]
test rbx, rbx
je 0x140031afd
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031afd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031afd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140031b33
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140031b33
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 0x140031b33
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x140031b79
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d01
call fcn.1400b3f70
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r14w
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140031bd4
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031bcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d1f
call fcn.1400b3f70
movdqu xmmword [rbp + 0xe0], xmm7
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x140031c24
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031d25
call fcn.1400b3f70
movdqu xmmword [rbp + 0x100], xmm7
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140031c70
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031c6b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031cbe
call fcn.1400b3f70
movdqu xmmword [rbp + 0x120], xmm7
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400b3f50
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 0x140031cc4
jmp 0x140031b33
call fcn.140097c38
nop
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x90]
lea rcx, str.exists
call fcn.14002dc60
nop
call fcn.140097c38
nop
call fcn.140097c38
nop
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002dbf0
nop
call fcn.140097c38
nop
call fcn.140097c38
nop
call fcn.140097c38
nop
call fcn.140097c38
int3
call fcn.14002c990
nop
call fcn.140097c38
nop
call fcn.140097c38
int3