Function at 0x40d100
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57743d
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x629f58]
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.00412b7c
mov ecx, eax
test ecx, ecx
je 0x40d3af
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 0x40d181
push 0x28
push str.SOFTWAREFoxit_SoftwareFoxit_PDF_Reader
lea ecx, [ebp - 0x818]
call fcn.00404140
mov dword [ebp - 4], 1
call fcn.00412b7c
mov ecx, eax
test ecx, ecx
je 0x40d3b9
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 0x40d1cf
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 0x40d289
call fcn.00412b7c
mov ecx, eax
test ecx, ecx
je 0x40d3c3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x605db0
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00403fb0
test al, al
jne 0x40d240
push 0
push 0x605db0
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 0x40d264
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 0x40d38f
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x40d38f
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 0x40d2f9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00412b7c
mov ecx, eax
test ecx, ecx
je 0x40d3cd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x605db0
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00403fb0
test al, al
jne 0x40d355
push 0
push 0x605db0
jmp 0x40d34e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00412b7c
mov ecx, eax
test ecx, ecx
je 0x40d3d7
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 0x40d355
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40d337
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 0x40d373
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 0x40d38f
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.0054b283
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