Function at 0x516b20
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Encode data using xor
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x6205c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [0x6e7b6c]
push esi
push edi
mov dword [esp + 8], eax
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], 0x71
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0x7c
mov byte [esp + 0x1c], 0x61
mov byte [esp + 0x1d], 0x79
mov byte [esp + 0x1e], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x84], 0
test ecx, ecx
jle 0x516b93
mov dl, byte [esp + eax + 0x18]
xor dl, 0x12
mov byte [esp + eax + 0x18], dl
inc eax
cmp eax, ecx
jl 0x516b83
lea ecx, [esp + 0x18]
lea edx, [esp + 8]
push ecx
push 0x6bc090
push edx
call fcn.005f368b
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x54]
mov edx, dword [esp + 0x14]
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0x48]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x32
push eax
mov eax, dword [0x6ec7a0]
push ecx
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x516c20
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.005165f0
add esp, 4
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x84], 0xffffffff
call fcn.005fa859
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
add esp, 0x80
ret
mov edx, dword [0x6e7b6c]
mov dword [esp + 0xc], edx
mov cl, 0x21
mov al, 0x20
mov dl, 0x25
mov byte [esp + 0x23], cl
mov byte [esp + 0x25], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2d], cl
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x20], 0x2b
mov byte [esp + 0x21], 0x26
mov byte [esp + 0x22], dl
mov byte [esp + 0x24], 0x24
mov byte [esp + 0x26], 0x22
mov byte [esp + 0x27], 0x27
mov byte [esp + 0x28], dl
mov byte [esp + 0x29], 0x23
mov byte [esp + 0x2a], 0x2b
mov byte [esp + 0x2c], 0x2a
mov byte [esp + 0x2e], 0x26
mov byte [esp + 0x2f], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x84], 1
test ecx, ecx
jle 0x516ca4
mov dl, byte [esp + eax + 0x20]
xor dl, 0x12
mov byte [esp + eax + 0x20], dl
inc eax
cmp eax, ecx
jl 0x516c94
lea eax, [esp + 0x20]
lea ecx, [esp + 0xc]
push eax
push 0x6bc090
push ecx
call fcn.005f368b
mov esi, 0x6348d4
add esp, 0xc
mov dword [esp + 0x10], esi
mov edx, dword [esp + 0xc]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x84], 2
push ecx
push edx
lea edx, [esp + 0x50]
push 0x28
push edx
lea ecx, [esp + 0x20]
call fcn.0044b2e0
mov al, 0x4e
mov cl, 0x51
mov dl, 0x77
mov byte [esp + 0x38], al
mov byte [esp + 0x39], cl
mov byte [esp + 0x40], al
mov byte [esp + 0x41], cl
mov byte [esp + 0x46], al
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x30], 0x41
mov byte [esp + 0x31], 0x7d
mov byte [esp + 0x32], 0x74
mov byte [esp + 0x33], 0x66
mov byte [esp + 0x34], 0x65
mov byte [esp + 0x35], 0x73
mov byte [esp + 0x36], 0x60
mov byte [esp + 0x37], dl
mov byte [esp + 0x3a], 0x7e
mov byte [esp + 0x3b], 0x73
mov byte [esp + 0x3c], 0x61
mov byte [esp + 0x3d], 0x61
mov byte [esp + 0x3e], dl
mov byte [esp + 0x3f], 0x61
mov byte [esp + 0x42], 0x5e
mov byte [esp + 0x43], 0x41
mov byte [esp + 0x44], 0x5b
mov byte [esp + 0x45], 0x56
mov byte [esp + 0x47], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x516d87
mov dl, byte [esp + eax + 0x30]
xor dl, 0x12
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, ecx
jl 0x516d77
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x48]
lea ecx, [esp + 0x30]
push eax
push ecx
push 0x6d6b5c
push edx
call fcn.005f368b
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], esi
mov byte [esp + 0x84], 0
call fcn.005fa859
lea ecx, [esp + 8]
mov dword [esp + 0x84], 0xffffffff
call fcn.005fa859
mov ecx, dword [esp + 0x7c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x80
ret