Function at 0x5b2a40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x63dfe1
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x634], eax
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
mov esi, dword [esp + 0x658]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x238]
push ecx
xor ebx, ebx
push ebx
push ebx
push str.EncLNFSW
push esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 0x410
call edi
test eax, eax
jne 0x5b2b09
lea eax, [esp + 0x234]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x5b2ac0
sub eax, edx
sar eax, 1
je 0x5b2b09
lea edx, [esp + 0x234]
push edx
mov dword [esp + 0x1c], 1
call fcn.005ae7f0
mov ecx, dword [esp + 0x20]
add esp, 4
lea eax, [esp + 0x234]
push eax
call fcn.005b1480
cmp eax, ebx
je 0x5b2ce0
xor eax, eax
jmp 0x5b2ce4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push str.EncLNFS
push esi
mov dword [esp + 0x2c], 0x208
call edi
test eax, eax
jne 0x5b2bcb
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5b2b34
sub eax, edx
je 0x5b2bcb
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], 1
call fcn.005ae7c0
add esp, 4
xor ecx, ecx
push ebx
lea edx, [esp + 0x30]
mov word [esp + 0x28], cx
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call fcn.00401960
mov dword [esp + 0x650], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x5b2b89
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.005b1480
cmp eax, ebx
je 0x5b2bb2
mov dword [esp + 0x650], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004011f0
xor eax, eax
jmp 0x5b2ce4
mov dword [esp + 0x650], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.004011f0
jmp 0x5b2ce0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
push ecx
push ebx
push ebx
push str.LocalNameForSave
push esi
mov dword [esp + 0x2c], 0x410
call edi
test eax, eax
jne 0x5b2ce0
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5b2bf6
sub eax, edx
je 0x5b2ce0
mov edi, 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], edi
call fcn.004024e0
mov dword [esp + 0x650], edi
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push 0x64edec
push eax
call fcn.00402f60
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005ae7c0
mov edx, dword [esp + 0x20]
mov eax, edx
add esp, 0x10
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x5b2c48
sub eax, edi
inc eax
push eax
push edx
push ebx
push ebx
push str.EncLNFS
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x24]
call fcn.00406ea0
mov byte [esp + 0x650], 2
mov eax, dword [esp + 0x20]
cmp eax, ebx
jne 0x5b2c84
lea eax, [esp + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.005b1480
cmp eax, ebx
je 0x5b2cbb
mov byte [esp + 0x650], 1
lea ecx, [esp + 0x20]
call fcn.004011f0
mov dword [esp + 0x650], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402550
xor eax, eax
jmp 0x5b2ce4
mov byte [esp + 0x650], 1
lea ecx, [esp + 0x20]
call fcn.004011f0
mov dword [esp + 0x650], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00402550
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x634]
xor ecx, esp
call fcn.005f85e7
add esp, 0x644
ret 4