Function at 0x4899c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5749b6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5edd38]
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 0x4899fc
xor al, al
jmp 0x489caa
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 0x489a20
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00408f30
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 0x489a97
sub ebx, edi
nop dword [eax]
movzx eax, word [edi]
push eax
call fcn.0040b320
mov word [edi + ebx], ax
add esp, 4
add edi, 2
cmp edi, esi
jne 0x489a80
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 0x489c7f
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0053f340
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 0x489c7f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040e610
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.0040b320
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 - 0x25c]
push ecx
push eax
call fcn.004859b0
mov edi, dword [ebp - 0x21c]
lea ebx, [ebp - 0x248]
mov ecx, dword [ebp - 0x230]
lea edx, [ebp - 0x230]
mov esi, dword [ebp - 0x238]
add esp, 0x14
cmp dword [ebp - 0x234], 8
mov eax, dword [ebp - 0x220]
cmovae ebx, dword [ebp - 0x248]
cmp edi, 8
cmovae edx, ecx
mov dword [ebp - 0x25c], edx
cmp esi, eax
ja 0x489bf9
test esi, esi
jne 0x489bc9
xor eax, eax
jmp 0x489bfc
sub eax, esi
inc eax
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x258], ecx
sub ecx, eax
sar ecx, 1
je 0x489bed
movzx edx, word [ebx]
cmp word [eax], dx
je 0x489c3a
add eax, 2
sub ecx, 1
jne 0x489be0
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x230]
or eax, 0xffffffff
cmp eax, 0xffffffff
setne bl
mov byte [ebp - 4], 4
cmp edi, 8
jb 0x489c1b
lea eax, [edi + 1]
push eax
push ecx
lea ecx, [ebp - 0x230]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x489c81
mov edx, ebx
test esi, esi
je 0x489c55
mov edi, eax
sub edi, ebx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x489c6b
add edx, 2
sub esi, 1
jne 0x489c44
sub eax, dword [ebp - 0x25c]
mov edi, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x230]
sar eax, 1
jmp 0x489bfc
mov esi, dword [ebp - 0x238]
add eax, 2
mov ecx, dword [ebp - 0x258]
jmp 0x489bd7
xor bl, bl
mov eax, dword [ebp - 0x234]
mov dword [ebp - 4], 5
cmp eax, 8
jb 0x489ca8
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.0040a2e0
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.00401682
mov esp, ebp
pop ebp
ret