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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4126a4
mov eax, dword fs:[0]
push eax
sub esp, 0xb64
mov eax, dword [0x419038]
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.MSVCR120.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 0x40ae8d
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x8b0], ax
lea eax, [ebp - 0x8ae]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xb2c], 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 0x40ab76
lea eax, [ebp - 0xb2c]
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 0x40acdf
xor eax, eax
push 0x40e
push eax
mov word [ebp - 0x4a0], ax
lea eax, [ebp - 0x49e]
push eax
call sub.MSVCR120.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.MSVCR120.dll_wcscpy_s]
add esp, 0x18
test eax, eax
jne 0x40ae8d
mov esi, dword [sym.imp.MSVCR120.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 0x40ae8d
lea eax, [ebp - 0xb08]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40ae8d
lea eax, [ebp - 0xb0c]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call esi
add esp, 0xc
test eax, eax
jne 0x40ae8d
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 0x40ae8d
push 0x44
push eax
lea eax, [ebp - 0xb70]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xb70], 0x44
lea eax, [ebp - 0xb28]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xb28], xmm0
push eax
lea eax, [ebp - 0xb70]
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 0x40ae87
push dword [ebp - 0xb28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb24]
call esi
mov eax, dword [ebp - 0xb04]
jmp 0x40ae95
push 0x44
lea eax, [ebp - 0xb70]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0xb70], 0x44
lea eax, [ebp - 0xb28]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xb28], xmm0
push eax
lea eax, [ebp - 0xb70]
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 0x40ae87
push dword [ebp - 0xb28]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xb24]
call esi
call fcn.00402020
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x40ad6d
push 0x80004005
call fcn.00401ee0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0xb08], eax
push str._FileOpenUntitled__
lea ecx, [ebp - 0xb14]
mov byte [ebp - 4], 1
call fcn.00409d40
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0xb04]
push eax
call fcn.0040a200
push 0x4151f0
push eax
lea eax, [ebp - 0xb0c]
mov byte [ebp - 4], 3
push eax
call fcn.0040a200
add esp, 0x18
push eax
lea ecx, [ebp - 0xb08]
mov byte [ebp - 4], 4
call fcn.0040a130
mov edx, dword [ebp - 0xb0c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 3
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40adff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb04]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ae22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xb14]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40ae45
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.AcroviewA18
call fcn.0040bb00
add esi, 0xfffffff0
mov dword [ebp - 0xb04], eax
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [esi + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x40ae95
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xb04]
jmp 0x40ae95
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
mov dword [ebp - 0xb04], eax
cmp dword [ebp + 0x1c], 8
jb 0x40aeac
push dword [ebp + 8]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xb04]
add esp, 4
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.00410c15
mov esp, ebp
pop ebp
ret