Function at 0x140031b60
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 [0x1400f3c00]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
xor r14d, r14d
mov dword [rsp + 0x38], r14d
movabs rax, 0x60277458f28cec02
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
movabs rax, 0x191bc7aba08a137c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
movabs rdi, 0xc46032a97e49847
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x290], rax
movabs rbx, 0x191bc7aba08a1310
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x298], rax
movdqa xmm0, xmmword [rbp + 0x290]
pxor 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 word [rax + rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x140031c40
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x218]
call fcn.140030810
nop
movabs rax, 0x4914427dc3a2d714
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x60], rax
movabs rax, 0x607fb5cec8fe564c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x58], rax
movabs rax, 0x52e6a8001fcb6d27
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x50], rax
movabs rax, 0xba3688998924b85d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x48], rax
movabs rax, 0xf79bbcc6a30634c3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x40], rax
movabs rcx, 0x3dbf05274a3c5314
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, 0x2083c0745a970849
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2b0], rax
movabs rax, 0xce53efc5e548d92a
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2b8], rax
movabs rax, 0xf79bbcc6a30634ab
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]
pxor xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [rbp - 0x50]
pxor xmm1, xmmword [rbp + 0x2b0]
movdqa xmmword [rbp - 0x50], xmm1
movdqa xmm0, xmmword [rbp - 0x40]
pxor 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
inc r8
cmp byte [rax + r8], 0
jne 0x140031dc0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x1e8]
call fcn.140030810
nop
movabs rax, 0xc346a4ef690f923
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]
pxor 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 0x140031e51
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x1c8]
call fcn.140030810
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 [0x1400dcbf0]
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 0x140031fc7
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 0x140031fc7
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.140030810
nop
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.140040030
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140031fb6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031fb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032793
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbf0]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rcx, qword [rbp + 0x168]
test rcx, rcx
je 0x140031fd9
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.140049d10
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 0x140032067
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032062
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032799
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbf0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
cmp qword [rbp + 0x198], 0
je 0x1400325d4
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x110]
call fcn.14002eec0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x10], xmm0
mov ecx, dword [rax + 8]
mov dword [rsp + 0x50], ecx
lea rax, [0x1400f3cd0]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x240], xmm0
mov eax, dword [rbp - 0x10]
test eax, eax
je 0x140032769
cmp eax, 1
setne al
test al, al
je 0x1400325d4
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x170], xmm0
xor r8d, r8d
lea rdx, [rbp + 0x188]
lea rcx, [rbp + 0x170]
call fcn.140042530
test eax, eax
jne 0x14003279f
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 0x140032134
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.14002eca0
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 0x140032188
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.14002ed80
nop
mov rax, qword [rbp + 0x1a8]
cmp rax, qword [rbp + 0x208]
je 0x140032529
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x250]
call fcn.1400762e0
nop
cmp byte [rbp + 0x270], 0
je 0x14003250c
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x100], xmm0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x1b8]
call fcn.140041390
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.14002db90
nop
lea rdx, [rbp + 0x60]
mov rcx, rax
call fcn.14002da20
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x14003222f
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1400426f0
or edi, 4
mov dword [rsp + 0x38], edi
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0xf0]
call fcn.140042890
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.140030810
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x1b8]
call fcn.14003f020
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.140040cb0
and edi, 0xfffffffb
mov dword [rsp + 0x38], edi
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x140032304
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400322ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327b5
call fcn.1400a9c00
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], send
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14003234f
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003234a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327bb
call fcn.1400a9c00
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], send
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400323a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400323a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327c1
call fcn.1400a9c00
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 0x1400327c7
mov byte [rsp + 0x40], 0
xor eax, eax
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x250]
lea rcx, [rsp + 0x40]
call fcn.14004ae60
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.140030810
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1b8]
call fcn.14003f020
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.140040cb0
lea rax, [rbp + 0x140]
mov qword [rbp + 0xe8], rax
lea rdx, [0x1400f7a70]
lea rcx, [rbp + 0x140]
call fcn.1400400c0
nop
mov rdx, rax
lea rcx, [0x1400f3f70]
call fcn.14003f020
mov rbx, rax
lea rax, [rbp + 0x120]
mov qword [rbp - 0x10], rax
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x120]
call fcn.1400400c0
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003f020
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call fcn.14003ef40
and edi, 0xfffffff7
mov dword [rsp + 0x38], edi
movzx edx, byte [rbp + 0x1b8]
lea rcx, [rbp + 0x1c0]
call fcn.140040cb0
nop
lea rcx, [rbp + 0x250]
call fcn.140031710
lea rcx, [rbp + 0x1a8]
call fcn.14002eb90
jmp 0x14003219e
mov rbx, qword [rbp + 0x210]
test rbx, rbx
je 0x14003255f
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003255f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003255f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rbx, qword [rbp + 0x1b0]
test rbx, rbx
je 0x140032595
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140032595
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140032595
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + htons]
nop
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x1400325d4
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400325d4
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 0x1400325d4
mov rcx, qword [rbp + 0x178]
mov rax, qword [rcx]
call qword [rax + htons]
nop
mov rdx, qword [rbp + 0x1a0]
cmp rdx, 8
jb 0x14003261a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x188]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032615
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327cd
call fcn.1400a9c00
mov qword [rbp + 0x198], r14
mov qword [rbp + 0x1a0], 7
mov word [rbp + 0x188], r14w
mov rdx, qword [rbp + 0x1e0]
cmp rdx, 0x10
jb 0x140032675
inc rdx
mov rcx, qword [rbp + 0x1c8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327d3
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbf0]
movdqu xmmword [rbp + 0x1d8], xmm0
mov byte [rbp + 0x1c8], 0
mov rdx, qword [rbp + 0x200]
cmp rdx, 0x10
jb 0x1400326cd
inc rdx
mov rcx, qword [rbp + 0x1e8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400326c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400327d9
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbf0]
movdqu xmmword [rbp + 0x1f8], xmm0
mov byte [rbp + 0x1e8], 0
mov rdx, qword [rbp + 0x230]
cmp rdx, 0x10
jb 0x140032721
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003271c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140032772
call fcn.1400a9c00
movdqa xmm0, xmmword [0x1400dcbf0]
movdqu xmmword [rbp + 0x228], xmm0
mov byte [rbp + 0x218], 0
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.1400a9be0
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 0x140032778
jmp 0x1400325d4
call fcn.1400892f0
nop
lea r8, [rbp + 0x188]
lea rdx, [rbp + 0x240]
lea rcx, str.exists
call fcn.14002e750
nop
call fcn.1400892f0
nop
call fcn.1400892f0
nop
lea r8, [rbp + 0x188]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002e6e0
nop
call fcn.1400892f0
nop
call fcn.1400892f0
nop
call fcn.1400892f0
int3
call fcn.14002d590
nop
call fcn.1400892f0
nop
call fcn.1400892f0
nop
call fcn.1400892f0
int3