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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x412464
mov eax, dword fs:[0]
push eax
sub esp, 0xb68
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
push 0x250
lea eax, [ebp - 0xb00]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0xb04], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb00]
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 0x40a3e4
push eax
call dword [sym.imp.kernel32.dll_FindClose]
push 0x410
lea eax, [ebp - 0x8b0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb14], 0x208
lea eax, [ebp - 0xb10]
mov dword [ebp - 0xb18], 0
mov ecx, 0x20
lea edi, [ebp - 0x90]
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsAcrobat.exe
push eax
push 1
push 0
lea eax, [ebp - 0x90]
push eax
rep movsd dword es:[edi], dword [esi]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40a0ee
lea eax, [ebp - 0xb14]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0xb18]
push eax
push 0
push 0
push dword [ebp - 0xb10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xb04]
xor edx, edx
push dword [ebp - 0xb10]
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0xb04], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x20], 0
jne 0x40a24e
push 0x410
lea eax, [ebp - 0x4a0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0xb08]
mov dword [ebp - 0xb0c], 0x20
push eax
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0xb08], 0x22
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0x18
test eax, eax
jne 0x40a3e4
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40a3e4
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40a3e4
lea eax, [ebp - 0xb0c]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40a3e4
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40a3e4
push 0x44
push eax
lea eax, [ebp - 0xb74]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb74], 0x44
lea eax, [ebp - 0xb30]
xorps xmm0, xmm0
movups xmmword [ebp - 0xb30], xmm0
push eax
lea eax, [ebp - 0xb74]
push eax
push 0
push 0
push 0x1000000
push 0
push 0
push 0
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x8b0]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x40a3de
push dword [ebp - 0xb30]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0xb2c]
call esi
mov eax, dword [ebp - 0xb04]
jmp 0x40a3ec
push 0x44
lea eax, [ebp - 0xb74]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0xb74], 0x44
lea eax, [ebp - 0xb30]
xorps xmm0, xmm0
movups xmmword [ebp - 0xb30], xmm0
push eax
lea eax, [ebp - 0xb74]
push eax
push 0
push 0
push 0x1000000
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x8b0]
push eax
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x40a3de
push dword [ebp - 0xb30]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [ebp - 0xb2c]
call esi
call main
mov ecx, eax
test ecx, ecx
je 0x40a450
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb08], eax
push str._FileOpenUntitled__
lea ecx, [ebp - 0xb20]
mov byte [ebp - 4], 5
call main
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 6
cmovae ecx, dword [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0xb1c]
push eax
call main
push 0x4151c8
push eax
lea eax, [ebp - 0xb0c]
mov byte [ebp - 4], 7
push eax
call main
add esp, 0x18
push eax
lea ecx, [ebp - 0xb08]
mov byte [ebp - 4], 8
call main
mov edx, dword [ebp - 0xb0c]
or edi, 0xffffffff
mov byte [ebp - 4], 7
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a35c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb1c]
mov eax, edi
mov byte [ebp - 4], 6
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a37d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb20]
mov eax, edi
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a39e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0xb08]
push esi
push str.Control
push str.AcroviewA19
call main
add esp, 0xc
mov dword [ebp - 0xb04], eax
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40a3ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb04]
jmp 0x40a3ec
call dword [sym.imp.kernel32.dll_GetLastError]
xor al, al
mov dword [ebp - 0xb04], eax
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 4], 9
cmp edx, 8
jb 0x40a435
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a425
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a425
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call main
mov eax, dword [ebp - 0xb04]
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