Function at 0x6e041263
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x80
mov eax, 0x6e04dfe8
call fcn.6e0493da
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 0x6e041297
and dword [ecx], 0
test eax, eax
je 0x6e04129e
and dword [eax], 0
test esi, esi
je 0x6e0412a5
and dword [esi], 0
test edx, edx
je 0x6e0412ac
and dword [edx], 0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x6e04160d
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 0x6e041604
cmp dword [ebp - 0x78], 1
jne 0x6e041604
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.6e018049
mov esi, eax
mov dword [ebp - 0x88], esi
pop ecx
test esi, esi
je 0x6e041604
push dword [ebp - 0x64]
push 0
push esi
call fcn.6e018049
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 0x6e0415f2
cmp dword [ebp - 0x78], 1
jne 0x6e0415f2
mov eax, dword [ebp - 0x64]
shr eax, 1
mov dword [ebp - 0x64], eax
cmp eax, 0x11
jb 0x6e0415f2
push esi
lea ecx, [ebp - 0x44]
call fcn.6e018049
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.6e018049
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov edi, eax
cmovae ecx, dword [ebp - 0x44]
push ecx
call fcn.6e018049
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x7c]
push eax
call fcn.6e018049
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.6e018049
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.6e040737
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 0x6e04147c
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
call fcn.6e018049
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.6e018049
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
call fcn.6e018049
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x74]
push eax
call fcn.6e018049
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.6e018049
add esp, 0x14
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
push eax
call fcn.6e018049
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
call fcn.6e010925
mov esi, dword [ebp - 0x7c]
cmp dword [ebp - 0x6c], 0
je 0x6e0414fa
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x2c]
call fcn.6e018049
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.6e02f19c
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov edi, eax
cmovae ecx, dword [ebp - 0x2c]
push ecx
call fcn.6e018049
pop ecx
pop ecx
mov esi, eax
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x8c]
push eax
call fcn.6e018049
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.6e018049
add esp, 0x14
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push 0xffffffffffffffff
push eax
call fcn.6e018049
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov esi, eax
call fcn.6e010925
cmp dword [ebp - 0x68], 0
je 0x6e041509
push dword [ebp - 0x68]
call fcn.6e04977e
pop ecx
cmp dword [ebp - 0x6c], 0
je 0x6e041518
push dword [ebp - 0x6c]
call fcn.6e04977e
pop ecx
mov eax, dword [ebp - 0x74]
cmp eax, 0xffffffff
jne 0x6e04152a
cmp esi, eax
je 0x6e0415e4
cmp eax, eax
push str.adobe_reader
lea ecx, [ebp - 0x5c]
cmovne esi, eax
call fcn.6e018049
push esi
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x44]
call fcn.6e018049
cmp eax, 0xffffffff
je 0x6e0415dc
mov ecx, dword [ebp - 0x80]
test ecx, ecx
je 0x6e041561
mov dword [ecx], 1
mov esi, dword [ebp - 0x84]
mov bl, 1
mov byte [ebp - 0x5d], bl
test esi, esi
je 0x6e0415dc
push eax
push 0x6e059da0
lea ecx, [ebp - 0x44]
call fcn.6e018049
cmp eax, 0xffffffff
jne 0x6e041587
xor bl, bl
jmp 0x6e0415dc
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.6e018049
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 0x6e0415dc
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x2c]
call fcn.6e018049
pop ecx
pop ecx
lea ecx, [ebp - 0x5c]
call fcn.6e010925
lea ecx, [ebp - 0x44]
call fcn.6e010925
mov esi, dword [ebp - 0x88]
push esi
call fcn.6e04977e
pop ecx
jmp 0x6e041604
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
call fcn.6e049327
ret