Function at 0x100230f9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x80
mov eax, 0x1002e0a4
call fcn.1002b2f9
mov ecx, dword [ebp + 8]
xor bl, bl
and dword [ebp - 0x70], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], esi
mov byte [ebp - 0x5d], bl
test ecx, ecx
je 0x1002312d
and dword [ecx], 0
test eax, eax
je 0x10023134
and dword [eax], 0
test esi, esi
je 0x1002313b
and dword [esi], 0
test edx, edx
je 0x10023142
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 0x100234a3
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 0x1002349a
cmp dword [ebp - 0x78], 1
jne 0x1002349a
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.1002830a
mov esi, eax
mov dword [ebp - 0x88], esi
pop ecx
test esi, esi
je 0x1002349a
push dword [ebp - 0x64]
push 0
push esi
call fcn.1002830a
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 esi
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 0x10023488
cmp dword [ebp - 0x78], 1
jne 0x10023488
mov eax, dword [ebp - 0x64]
shr eax, 1
mov dword [ebp - 0x64], eax
cmp eax, 0x11
jb 0x10023488
push esi
lea ecx, [ebp - 0x44]
call fcn.1002830a
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.1002830a
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov edi, eax
cmovae ecx, dword [ebp - 0x44]
push ecx
call fcn.1002830a
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x7c]
push eax
call fcn.1002830a
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
push edi
push dword [eax]
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.1002830a
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.10022546
or eax, 0xffffffff
or esi, 0xffffffff
cmp dword [ebp - 0x68], 0
pop ecx
pop ecx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], esi
je 0x10023312
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.1002830a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.1002830a
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
call fcn.1002830a
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x74]
push eax
call fcn.1002830a
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
push edi
push dword [eax]
lea eax, [ebp - 0x8c]
push esi
push eax
call fcn.1002830a
add esp, 0x14
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
push eax
call fcn.1002830a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
call fcn.10003198
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x6c], 0
je 0x10023390
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.1002830a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.1002830a
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
call fcn.1002830a
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x8c]
push eax
call fcn.1002830a
push dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
push edi
push dword [eax]
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1002830a
add esp, 0x14
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
push eax
call fcn.1002830a
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.10003198
cmp dword [ebp - 0x68], 0
je 0x1002339f
push dword [ebp - 0x68]
call fcn.1002b561
pop ecx
cmp dword [ebp - 0x6c], 0
je 0x100233ae
push dword [ebp - 0x6c]
call fcn.1002b561
pop ecx
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
jne 0x100233c0
cmp esi, eax
je 0x1002347a
cmp eax, eax
push str.adobe_reader
lea ecx, [ebp - 0x5c]
cmovne esi, eax
call fcn.1002830a
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x44]
call fcn.1002830a
cmp eax, 0xffffffff
je 0x10023472
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x100233f7
mov dword [ecx], 1
mov esi, dword [ebp - 0x84]
mov bl, 1
mov byte [ebp - 0x5d], bl
test esi, esi
je 0x10023472
push eax
push 0x10031020
lea ecx, [ebp - 0x44]
call fcn.1002830a
cmp eax, 0xffffffff
jne 0x1002341d
xor bl, bl
jmp 0x10023472
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.1002830a
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]
shl eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
pop ecx
cmp eax, 8
jb 0x10023472
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x2c]
call fcn.1002830a
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.10003198
lea ecx, [ebp - 0x44]
call fcn.10003198
mov esi, dword [ebp - 0x88]
push esi
call fcn.1002b561
pop ecx
jmp 0x1002349a
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
call fcn.1002b246
ret