Function at 0x5bcac0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6d15c8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x7f3784]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x60], eax
call fcn.005bc890
add esp, 4
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
push 0x7175c0
call fcn.0049f3b0
push 0x104
mov dword [ebp - 4], 0
call fcn.0063bac9
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x58]
push eax
push esi
mov dword [ebp - 0x6c], 0x104
call fcn.005bcd60
mov ebx, dword [ebp - 0x48]
lea edx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x44], 0x10
lea edi, [ebp - 0x58]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
cmovae edx, dword [ebp - 0x58]
add ebx, edx
cmp dword [ebp - 0x44], 0x10
cmovae edi, dword [ebp - 0x58]
xor eax, eax
mov word [ebp - 0x40], ax
mov eax, ebx
sub eax, edi
push eax
call fcn.00491e40
push dword [ebp - 0x60]
lea ecx, [ebp - 0x40]
push ebx
push edi
call fcn.0049e180
mov esi, dword [ebp + 0xc]
lea ebx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
mov ecx, esi
mov byte [ebp - 4], 1
cmovae ebx, dword [ebp - 0x40]
mov edx, dword [esi + 0x14]
cmp edx, 0x10
jb 0x5bcbb0
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
add edi, ecx
cmp edx, 0x10
jb 0x5bcbbc
mov esi, dword [esi]
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov eax, edi
mov dword [ebp - 0x14], 7
sub eax, esi
push eax
call fcn.00491e40
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
push edi
push esi
call fcn.0049e180
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x5c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x64]
mov byte [ebp - 4], 2
call edi
test eax, eax
je 0x5bcc29
lea eax, [ebp - 0x5c]
push eax
push 0x20219
push 0
push ebx
push dword [ebp - 0x64]
call edi
test eax, eax
jne 0x5bcc5d
mov ebx, dword [ebp - 0x68]
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0
push 0
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x5bcc60
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5bcc48
mov ecx, dword [ebp - 0x60]
sub edx, esi
push edx
push ebx
call fcn.0049f3b0
jmp 0x5bcc60
mov ebx, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0063bad2
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x5bccac
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5bcca2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bcd56
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x5bccf6
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5bccec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bcd56
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x5bcd3a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5bcd30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5bcd56
push edx
push ecx
call fcn.0063bb18
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0063bad7
mov esp, ebp
pop ebp
ret
call fcn.0065a824
int3