Function at 0x5998d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x694b68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x77e784]
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.005996a0
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 0x6c1fe5
call fcn.004753c0
push 0x104
mov dword [ebp - 4], 0
call fcn.0060b8f0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x58]
push eax
push esi
mov dword [ebp - 0x6c], 0x104
call fcn.00599b70
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.004717f0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x40]
push ebx
push edi
call fcn.00473f70
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 0x5999c0
mov ecx, dword [esi]
mov edi, dword [esi + 0x10]
add edi, ecx
cmp edx, 0x10
jb 0x5999cc
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.004717f0
push dword [ebp - 0x60]
lea ecx, [ebp - 0x28]
push edi
push esi
call fcn.00473f70
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 0x599a39
lea eax, [ebp - 0x5c]
push eax
push 0x20219
push 0
push ebx
push dword [ebp - 0x64]
call edi
test eax, eax
jne 0x599a6d
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 0x599a70
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x599a58
mov ecx, dword [ebp - 0x60]
sub edx, esi
push edx
push ebx
call fcn.004753c0
jmp 0x599a70
mov ebx, dword [ebp - 0x68]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call fcn.0060b8f9
mov edx, dword [ebp - 0x14]
add esp, 4
cmp edx, 8
jb 0x599abc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x599ab2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x599b66
push edx
push ecx
call fcn.0060b8e2
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 0x599b06
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x599afc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x599b66
push edx
push ecx
call fcn.0060b8e2
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 0x599b4a
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x599b40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x599b66
push edx
push ecx
call fcn.0060b8e2
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.0060bd4a
mov esp, ebp
pop ebp
ret
call fcn.0061777f
int3