Function at 0x1001fc73
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x78
mov eax, 0x10028de7
call fcn.10026615
mov eax, dword [ebp + 8]
xor bl, bl
and dword [ebp - 0x70], 0
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], esi
mov byte [ebp - 0x5d], bl
test eax, eax
je 0x1001fca4
and dword [eax], 0
test edx, edx
je 0x1001fcab
and dword [edx], 0
test esi, esi
je 0x1001fcb2
and dword [esi], 0
test ecx, ecx
je 0x1001fcb9
and dword [ecx], 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 0x1001fff8
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x64]
push eax
xor ecx, ecx
lea eax, [ebp - 0x78]
push ecx
push eax
push ecx
push ecx
push dword [ebp - 0x70]
mov dword [ebp - 0x64], ecx
call esi
test eax, eax
jne 0x1001ffef
cmp dword [ebp - 0x78], 1
jne 0x1001ffef
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.10007116
mov edi, eax
pop ecx
test edi, edi
je 0x1001ffef
push dword [ebp - 0x64]
push 0
push edi
call fcn.10007116
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 esi
test eax, eax
jne 0x1001ffdd
cmp dword [ebp - 0x78], 1
jne 0x1001ffdd
mov eax, dword [ebp - 0x64]
shr eax, 1
mov dword [ebp - 0x64], eax
cmp eax, 0x11
jb 0x1001ffdd
push edi
lea ecx, [ebp - 0x44]
call fcn.10007116
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
cmovae edx, dword [ebp - 0x44]
mov esi, dword [sym.imp.MSVCR120.dll_towlower]
push esi
lea eax, [ecx + eax*2]
mov byte [ebp - 4], 1
push edx
push eax
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x68]
push ecx
push eax
call fcn.10007116
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x74]
and dword [ebp - 0x74], 0
add esp, 0x14
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.1001f1ab
or dword [ebp - 0x7c], 0xffffffff
or eax, 0xffffffff
cmp dword [ebp - 0x6c], 0
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
je 0x1001fe58
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.10007116
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
cmovae edx, dword [ebp - 0x2c]
push esi
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 - 0x68]
push ecx
push eax
call fcn.10007116
add esp, 0x14
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
call fcn.10007116
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 1
call fcn.10007116
mov esi, dword [ebp - 0x74]
test esi, esi
je 0x1001fecc
push esi
lea ecx, [ebp - 0x2c]
call fcn.10007116
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.MSVCR120.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 - 0x74]
push ecx
push eax
call fcn.10007116
add esp, 0x14
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x2c]
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push eax
call fcn.10007116
push 0
push 1
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 1
call fcn.10007116
cmp dword [ebp - 0x6c], 0
je 0x1001fedb
push dword [ebp - 0x6c]
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
test esi, esi
je 0x1001fee6
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
mov esi, dword [ebp - 0x68]
mov eax, dword [ebp - 0x7c]
cmp esi, 0xffffffff
jne 0x1001fefb
cmp eax, esi
je 0x1001ffd1
cmp esi, esi
cmove esi, eax
mov dword [ebp - 0x18], 7
and dword [ebp - 0x1c], 0
xor eax, eax
push str.adobe_reader
mov word [ebp - 0x2c], ax
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
push eax
push str.adobe_reader
lea ecx, [ebp - 0x2c]
call fcn.10007116
push dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push esi
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 4], 4
call fcn.10007116
mov dword [ebp - 0x68], eax
cmp eax, 0xffffffff
je 0x1001ffc5
mov ecx, dword [ebp - 0x84]
test ecx, ecx
je 0x1001ff5d
mov dword [ecx], 1
mov esi, dword [ebp - 0x80]
mov bl, 1
mov byte [ebp - 0x5d], bl
test esi, esi
je 0x1001ffc5
push 0x1002bc44
call dword [sym.imp.MSVCR120.dll_wcslen]
pop ecx
push eax
push dword [ebp - 0x68]
lea ecx, [ebp - 0x44]
push 0x1002bc44
call fcn.10007116
cmp eax, 0xffffffff
jne 0x1001ff8f
xor bl, bl
jmp 0x1001ffc5
push 2
add eax, 0xfffffffe
lea ecx, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.10007116
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.MSVCR120.dll__wtol]
pop ecx
push 0
shl eax, 0x10
lea ecx, [ebp - 0x5c]
push 1
mov dword [esi], eax
call fcn.10007116
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10007116
push 0
push 1
lea ecx, [ebp - 0x44]
call fcn.10007116
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x1001ffef
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
call fcn.10026567
ret