Function at 0x40ce60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5774cd
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x628f58]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x824], ebx
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x40d10f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
push str.SOFTWAREFoxit_SoftwareFoxit_PDF_Reader
lea ecx, [ebp - 0x818]
mov dword [ebp - 4], 0
call fcn.00403fb0
test al, al
jne 0x40cee1
push 0x28
push str.SOFTWAREFoxit_SoftwareFoxit_PDF_Reader
lea ecx, [ebp - 0x818]
call fcn.00404140
mov dword [ebp - 4], 1
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x40d119
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push str.InstallPath
lea ecx, [ebp - 0x814]
mov byte [ebp - 4], 2
call fcn.00403fb0
test al, al
jne 0x40cf2f
push 0xb
push str.InstallPath
lea ecx, [ebp - 0x814]
call fcn.00404140
lea eax, [ebp - 0x81c]
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x818]
push eax
push 0x20019
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x820], 0x800
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40cfe9
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x40d123
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x605dc0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00403fb0
test al, al
jne 0x40cfa0
push 0
push 0x605dc0
mov ecx, ebx
call fcn.00404140
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x814]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40cfc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40d0ef
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40d0ef
mov edi, dword [ebp - 0x814]
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x828]
push eax
push 0
push edi
push dword [ebp - 0x81c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x81c]
test eax, eax
je 0x40d059
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x40d12d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x605dc0
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00403fb0
test al, al
jne 0x40d0b5
push 0
push 0x605dc0
jmp 0x40d0ae
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00412c3c
mov ecx, eax
test ecx, ecx
je 0x40d137
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 6
push eax
mov ecx, ebx
call fcn.00403fb0
test al, al
jne 0x40d0b5
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d097
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.00404140
lea edx, [edi - 0x10]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d0d3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40d0ef
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.0054b34c
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
push 0x80004005
call fcn.00404450
int3