Function at 0x40a460
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4124e6
mov eax, dword fs:[0]
push eax
sub esp, 0x6ec
mov eax, dword [0x41a044]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x690], 0
push 0x250
lea eax, [ebp - 0x688]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x68c], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x688]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x40a719
push eax
call dword [sym.imp.kernel32.dll_FindClose]
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x698], 0x208
lea eax, [ebp - 0x694]
mov dword [ebp - 0x69c], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAcroRd32.exe
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a574
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x69c]
push eax
push 0
push 0
push dword [ebp - 0x694]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x68c]
xor edx, edx
push dword [ebp - 0x694]
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0x68c], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x20], 0
jne 0x40a6c5
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x438], ax
lea ecx, [ebp - 0x438]
mov eax, dword [ebp + 0x18]
inc eax
mov dword [ebp - 0x428], 0
push eax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x690], 1
call main
push 1
push 0x414bf0
lea ecx, [ebp - 0x438]
call main
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x438]
push eax
call main
push 1
push 0x414bf0
lea ecx, [ebp - 0x438]
call main
xor ecx, ecx
mov dword [ebp - 0x690], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x6bc], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x6ac], xmm0
mov word [eax], cx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.004070a0
movups xmm0, xmmword [ebp - 0x6bc]
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [ebp - 0x6ac]
movq qword [ebp + 0x18], xmm0
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40a695
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a68b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a68b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
add esp, 8
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x68c]
jmp 0x40a721
push 0x3c
lea eax, [ebp - 0x6f8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x6f8], 0x3c
lea eax, [ebp - 0x420]
mov dword [ebp - 0x6f4], 0x540
mov dword [ebp - 0x6e8], eax
lea eax, [ebp - 0x6f8]
mov dword [ebp - 0x6dc], 5
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40a766
call dword [sym.imp.kernel32.dll_GetLastError]
xor al, al
mov dword [ebp - 0x68c], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 4], 0xb
cmp edx, 8
jb 0x40a89c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a88c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a88c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call main
mov ecx, eax
test ecx, ecx
je 0x40a8b7
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x690], eax
push str._FileOpenUntitled__
lea ecx, [ebp - 0x6a8]
mov byte [ebp - 4], 7
call main
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
cmovae ecx, dword [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x6a4]
push eax
call main
push 0x4151c8
push eax
lea eax, [ebp - 0x6a0]
mov byte [ebp - 4], 9
push eax
call main
add esp, 0x18
push eax
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 0xa
call main
mov edx, dword [ebp - 0x6a0]
or edi, 0xffffffff
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a803
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6a4]
mov eax, edi
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a824
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x6a8]
mov eax, edi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a845
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x690]
push esi
push str.Control
push str.AcroviewR19
call main
add esp, 0xc
mov dword [ebp - 0x68c], eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40a721
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x68c]
jmp 0x40a721
push edx
push ecx
call main
mov eax, dword [ebp - 0x68c]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041032a
mov esp, ebp
pop ebp
ret
push 0x80004005
call main
int3