Function at 0x10022610
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x1002cd9a
call fcn.1002a16a
mov eax, dword [ebp + 8]
xor bl, bl
and dword [ebp - 0x70], 0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x5d], bl
test eax, eax
je 0x1002263e
and dword [eax], 0
test ecx, ecx
je 0x10022645
and dword [ecx], 0
test esi, esi
je 0x1002264c
and dword [esi], 0
test edx, edx
je 0x10022653
and dword [edx], 0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10022944
xor ecx, ecx
lea eax, [ebp - 0x64]
push eax
push ecx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x64], ecx
push eax
push ecx
push ecx
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002293b
cmp dword [ebp - 0x78], 1
jne 0x1002293b
mov eax, dword [ebp - 0x64]
xor ecx, ecx
and dword [ebp - 4], 0
shr eax, 1
inc eax
push 2
pop edx
mov dword [ebp - 0x64], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100232ad
mov edi, eax
pop ecx
test edi, edi
je 0x1002293b
push dword [ebp - 0x64]
push 0
push edi
call fcn.100232ad
mov eax, dword [ebp - 0x64]
add esp, 0xc
lea eax, [eax*2 - 2]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push edi
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10022929
cmp dword [ebp - 0x78], 1
jne 0x10022929
mov eax, dword [ebp - 0x64]
shr eax, 1
mov dword [ebp - 0x64], eax
cmp eax, 0x11
jb 0x10022929
push edi
lea ecx, [ebp - 0x44]
call fcn.100232ad
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmovae edx, dword [ebp - 0x44]
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x74]
push ecx
push eax
call fcn.100232ad
and dword [ebp - 0x68], 0
lea eax, [ebp - 0x6c]
and dword [ebp - 0x6c], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.10021ace
or eax, 0xffffffff
or esi, 0xffffffff
cmp dword [ebp - 0x68], 0
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
je 0x100227e8
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.100232ad
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmovae edx, dword [ebp - 0x2c]
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x74]
push ecx
push eax
call fcn.100232ad
add esp, 0x14
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
push eax
call fcn.100232ad
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
call fcn.100232ad
cmp dword [ebp - 0x6c], 0
je 0x10022850
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.100232ad
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
cmovae edx, dword [ebp - 0x2c]
push edx
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x84]
push ecx
push eax
call fcn.100232ad
add esp, 0x14
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
push eax
call fcn.100232ad
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.100232ad
cmp dword [ebp - 0x68], 0
je 0x1002285f
push dword [ebp - 0x68]
call fcn.1002a647
pop ecx
cmp dword [ebp - 0x6c], 0
je 0x1002286e
push dword [ebp - 0x6c]
call fcn.1002a647
pop ecx
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
jne 0x10022880
cmp esi, eax
je 0x10022921
cmp eax, eax
push str.adobe_reader
lea ecx, [ebp - 0x5c]
cmovne esi, eax
call fcn.100232ad
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x44]
call fcn.100232ad
cmp eax, 0xffffffff
je 0x10022919
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x100228b3
mov dword [ecx], 1
mov esi, dword [ebp - 0x80]
mov bl, 1
mov byte [ebp - 0x5d], bl
test esi, esi
je 0x10022919
push eax
push 0x1002ff30
lea ecx, [ebp - 0x44]
call fcn.100232ad
cmp eax, 0xffffffff
jne 0x100228d6
xor bl, bl
jmp 0x10022919
and dword [ebp - 0x1c], 0
add eax, 0xfffffffe
push 2
xor ecx, ecx
mov dword [ebp - 0x18], 7
push eax
lea eax, [ebp - 0x44]
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
call fcn.100232ad
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
pop ecx
shl eax, 0x10
lea ecx, [ebp - 0x2c]
mov dword [esi], eax
call fcn.100232ad
lea ecx, [ebp - 0x5c]
call fcn.100232ad
lea ecx, [ebp - 0x44]
call fcn.100232ad
push edi
call fcn.1002a647
pop ecx
jmp 0x1002293b
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
call fcn.1002a0b7
ret