Function at 0x5f9650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x642c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x6ccc30]
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 edx, dword [ebp + 8]
test edx, edx
jne 0x5f968c
xor al, al
jmp 0x5f998a
mov ecx, edx
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5f96b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.005d2810
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
mov edx, dword [ebp - 0x248]
lea edi, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
lea ebx, [ebp - 0x248]
cmovae ecx, edx
mov dword [ebp - 4], 0
cmovae edi, edx
cmovae ebx, edx
lea eax, [ecx + eax*2]
mov esi, eax
cmp edi, esi
je 0x5f9727
sub ebx, edi
nop dword [eax]
movzx eax, word [edi]
push eax
call fcn.005d2f70
mov word [ebx + edi], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x5f9710
lea eax, [ebp - 0x254]
mov dword [ebp - 0x254], 0
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x5f995f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0061e8c0
add esp, 0xc
mov dword [ebp - 0x24c], 0x206
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x254]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x5f995f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.005d49c0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
mov edx, dword [ebp - 0x230]
lea edi, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmovae ecx, edx
push fcn.005d2f70
cmovae edi, edx
mov byte [ebp - 4], 3
push edi
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x230]
cmovae ecx, edx
lea eax, [ebp - 0x260]
push ecx
push eax
call fcn.005f5c00
mov esi, dword [ebp - 0x230]
lea ecx, [ebp - 0x248]
mov edx, dword [ebp - 0x238]
lea ebx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
add esp, 0x14
cmp dword [ebp - 0x234], 8
cmovae ecx, dword [ebp - 0x248]
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x258], ecx
cmovae ebx, esi
mov dword [ebp - 0x260], ebx
cmp edx, eax
ja 0x5f991a
test edx, edx
jne 0x5f9864
xor eax, eax
jmp 0x5f991d
sub eax, edx
inc eax
lea edx, [ebx + eax*2]
mov eax, ebx
movzx ebx, word [ecx]
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x25c], ebx
nop dword [eax + eax]
sub edx, eax
movzx esi, bx
sar edx, 1
mov edi, 0
je 0x5f98b0
movzx ecx, word [eax]
cmp cx, si
je 0x5f98a8
cmp edx, 1
je 0x5f98aa
movzx ecx, word [eax + 2]
add eax, 2
dec edx
cmp cx, si
jne 0x5f9896
mov edi, eax
mov ecx, dword [ebp - 0x258]
mov eax, edi
test eax, eax
je 0x5f9914
movzx edx, word [eax]
mov edi, dword [ebp - 0x238]
movzx esi, bx
cmp dx, si
jb 0x5f98f0
mov ebx, eax
sub ebx, dword [ebp - 0x258]
cmp dx, si
ja 0x5f98ea
cmp edi, 1
je 0x5f9904
movzx edx, word [ecx + ebx + 2]
add ecx, 2
dec edi
movzx esi, word [ecx]
cmp dx, si
jae 0x5f98d2
mov ebx, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x258]
add eax, 2
mov edx, dword [ebp - 0x264]
jmp 0x5f9880
sub eax, dword [ebp - 0x260]
mov esi, dword [ebp - 0x230]
sar eax, 1
jmp 0x5f991d
mov esi, dword [ebp - 0x230]
or eax, 0xffffffff
cmp eax, 0xffffffff
setne bl
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x5f9940
inc eax
lea ecx, [ebp - 0x230]
push eax
push esi
call fcn.005d31d0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x5f9961
xor bl, bl
mov eax, dword [ebp - 0x234]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x5f9988
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.005d31d0
mov al, bl
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.005ce525
mov esp, ebp
pop ebp
ret