Function at 0x140031370
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 [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor r14d, r14d
mov dword [rsp + 0x30], r14d
movabs rax, 0x5cf63e166a59a97a
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x20], rax
movabs rax, 0xb85a5c59849e108
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x28], rax
movabs rdi, 0x309749640f31dd3f
mov qword [rbp + 8], rdi
mov rax, qword [rbp + 8]
mov qword [rbp + 0x130], rax
movabs rbx, 0xb85a5c59849e164
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 0x140031445
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x110]
call fcn.1400300a0
nop
movabs rax, 0x75c508335b77926c
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movabs rax, 0x72e1d7a0f03da438
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x48], rax
movabs rax, 0x15aeb36ea496643f
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x50], rax
movabs rax, 0x22ec9527ce032861
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x58], rax
movabs rax, 0x3562f540c708176b
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x60], rax
movabs rcx, 0x4f3c006142490b28
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, 0x67cbdb1ae1ca0151
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x150], rax
movabs rax, 0x5689f27ba26f4916
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x158], rax
movabs rax, 0x3562f540c7081703
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 0x1400315b0
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xf0]
call fcn.1400300a0
nop
movabs rax, 0x30e520006e45bc5b
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 0x140031640
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xd0]
call fcn.1400300a0
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 [0x140112f80]
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 0x1400317ae
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 0x1400317ae
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.1400300a0
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14003fbe0
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14003179f
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003179a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f0f
call fcn.1400a9a50
movdqu xmmword [rbp + 0xa0], xmm7
mov byte [rbp + 0x90], 0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400317bd
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.14004bfc0
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 0x140031862
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003185d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f15
call fcn.1400a9a50
movdqu xmmword [rsp + 0x50], xmm7
mov byte [rsp + 0x40], 0
cmp qword [rbp + 0xc0], 0
je 0x140031d63
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x20]
call fcn.14002e700
movsd xmm0, qword [rax]
movsd qword [rsp + 0x70], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0x130], ecx
lea rax, [0x14012ae30]
mov qword [rbp + 0x138], rax
movaps xmm0, xmmword [rbp + 0x130]
movdqa xmmword [rbp + 0x90], xmm0
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x140031ee5
cmp eax, 1
je 0x140031d63
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
xor r8d, r8d
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x20]
call fcn.140041f90
test eax, eax
jne 0x140031f1b
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 0x140031918
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.14002e4d0
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 0x14003195d
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.14002e5b0
nop
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
je 0x140031cc1
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rax + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140077400
nop
cmp byte [rbp + 0x60], 0
je 0x140031c9e
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.140040920
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.14002d0f0
nop
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14002cf80
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x1400319fc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140042160
or edi, 4
mov dword [rsp + 0x30], edi
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x90]
call fcn.140042430
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.1400300a0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003ec00
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.140040e40
and edi, 0xfffffffb
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140031ace
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031ac9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f37
call fcn.1400a9a50
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140031b19
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f3d
call fcn.1400a9a50
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], 0xf
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140031b69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031b64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f43
call fcn.1400a9a50
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 0x140031f49
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.140052130
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.1400300a0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x30]
call fcn.14003ec00
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.140040e40
lea rax, [rsp + 0x40]
mov qword [rbp - 0x20], rax
lea rdx, str.Wallets
lea rcx, [rsp + 0x40]
call fcn.14003fc70
nop
mov rdx, rax
lea rcx, [0x14012b1b0]
call fcn.14003ec00
mov rbx, rax
lea rax, [rbp + 0x140]
mov qword [rsp + 0x70], rax
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x140]
call fcn.14003fc70
nop
mov rdx, rax
mov rcx, rbx
call fcn.14003ec00
lea rdx, [rbp + 0x30]
mov rcx, rax
call fcn.14003eb20
and edi, 0xfffffff7
mov dword [rsp + 0x30], edi
movzx edx, byte [rbp + 0x30]
lea rcx, [rbp + 0x38]
call fcn.140040e40
nop
lea rcx, [rbp + 0x40]
call fcn.140030f50
lea rcx, [rbp + 0x78]
call fcn.14002e3c0
mov rax, qword [rbp + 0x78]
cmp rax, qword [rbp + 0x130]
jne 0x140031990
mov rbx, qword [rbp + 0x138]
test rbx, rbx
je 0x140031cf7
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031cf7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031cf7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rbx, qword [rbp + 0x80]
test rbx, rbx
je 0x140031d2d
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140031d2d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140031d2d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
mov rcx, qword [rbp + 0x28]
test rcx, rcx
je 0x140031d63
mov eax, esi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140031d63
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 0x140031d63
mov rcx, qword [rbp + 0x28]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x140031da9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031da4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f31
call fcn.1400a9a50
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], 7
mov word [rbp + 0xb0], r14w
mov rdx, qword [rbp + 0xe8]
cmp rdx, 0xf
jbe 0x140031e04
inc rdx
mov rcx, qword [rbp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031dff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f4f
call fcn.1400a9a50
movdqu xmmword [rbp + 0xe0], xmm7
mov byte [rbp + 0xd0], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0xf
jbe 0x140031e54
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031e4f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031f55
call fcn.1400a9a50
movdqu xmmword [rbp + 0x100], xmm7
mov byte [rbp + 0xf0], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140031ea0
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031e9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031eee
call fcn.1400a9a50
movdqu xmmword [rbp + 0x120], xmm7
mov byte [rbp + 0x110], 0
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400a9a30
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 0x140031ef4
jmp 0x140031d63
call fcn.14008d658
nop
lea r8, [rbp + 0xb0]
lea rdx, [rbp + 0x90]
lea rcx, str.exists
call fcn.14002de50
nop
call fcn.14008d658
nop
call fcn.14008d658
nop
lea r8, [rbp + 0xb0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14002dde0
nop
call fcn.14008d658
nop
call fcn.14008d658
nop
call fcn.14008d658
nop
call fcn.14008d658
int3
call fcn.14002cb80
nop
call fcn.14008d658
nop
call fcn.14008d658
int3