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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414fb4
mov eax, dword fs:[0]
push eax
sub esp, 0xb98
mov eax, dword [0x41d048]
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 - 0xb48]
mov dword [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0xb50], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb48]
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 0x40be73
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 - 0xb58], 0x208
lea eax, [ebp - 0xb54]
mov dword [ebp - 0xb5c], 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 0x40bcae
lea eax, [ebp - 0xb58]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0xb5c]
push eax
push 0
push 0
push dword [ebp - 0xb54]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xb50]
xor edx, edx
push dword [ebp - 0xb54]
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0xb50], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x20], 0
jne 0x40bf30
push 0x410
lea eax, [ebp - 0x4a0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0xb4c]
mov dword [ebp - 0xb60], 0x20
push eax
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0xb4c], 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 0x40be73
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40be73
lea eax, [ebp - 0xb4c]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40be73
lea eax, [ebp - 0xb60]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40be73
lea eax, [ebp - 0xb4c]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40be73
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 dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40be73
lea eax, [ebp - 0xb4c]
push eax
lea eax, [ebp - 0x4a0]
push 0x208
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
add esp, 0xc
test eax, eax
jne 0x40be73
lea eax, [ebp - 0x8c0]
mov dword [ebp - 0xba4], 0x44
push eax
lea eax, [ebp - 0xba4]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x1000000
push 0
push 0
push 0
lea eax, [ebp - 0x4a0]
movlpd qword [ebp - 0xba0], xmm0
push eax
lea eax, [ebp - 0x8b0]
movlpd qword [ebp - 0xb98], xmm0
push eax
movlpd qword [ebp - 0xb90], xmm0
movlpd qword [ebp - 0xb88], xmm0
movlpd qword [ebp - 0xb80], xmm0
movlpd qword [ebp - 0xb78], xmm0
movlpd qword [ebp - 0xb70], xmm0
movlpd qword [ebp - 0xb68], xmm0
movups xmmword [ebp - 0x8c0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40bf13
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0xb50], 0
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x40be93
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.004085f0
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov eax, dword [ebp + 0x38]
mov byte [ebp - 4], 0xc
cmp eax, 8
jb 0x40bec0
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.004085f0
xor eax, eax
mov dword [ebp + 0x34], 0
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 4], 0xd
cmp eax, 8
jb 0x40bef0
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.004085f0
mov edx, dword [ebp - 0xb50]
mov al, dl
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.004129c0
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40be7a
xor eax, eax
mov dword [ebp - 0x8d0], 0
mov dword [ebp - 0x8cc], 7
mov word [ebp - 0x8e0], ax
lea eax, [ebp - 0x8e0]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040dec0
add esp, 0xc
test al, al
jne 0x40c0bd
xorps xmm0, xmm0
mov dword [ebp - 0xba4], 0x44
lea ecx, [ebp - 0xb4c]
movlpd qword [ebp - 0xba0], xmm0
movlpd qword [ebp - 0xb98], xmm0
movlpd qword [ebp - 0xb90], xmm0
movlpd qword [ebp - 0xb88], xmm0
movlpd qword [ebp - 0xb80], xmm0
movlpd qword [ebp - 0xb78], xmm0
movlpd qword [ebp - 0xb70], xmm0
movlpd qword [ebp - 0xb68], xmm0
movups xmmword [ebp - 0x8c0], xmm0
call fcn.0040a620
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xba4]
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
jne 0x40c063
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb4c]
call fcn.004017f0
mov edx, dword [ebp - 0x8cc]
cmp edx, 8
jb 0x40be73
mov ecx, dword [ebp - 0x8e0]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x40c054
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c054
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
jmp 0x40be73
push dword [ebp - 0x8c0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x8bc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xb4c]
push eax
call fcn.0040b300
push dword [ebp - 0xb4c]
push str.Control
push str.AcroviewA21
call fcn.0040d9a0
add esp, 0x18
mov byte [ebp - 0xb50], al
lea ecx, [ebp - 0xb4c]
call fcn.004017f0
jmp 0x40c1c3
xor eax, eax
mov dword [ebp - 0x8b8], 0
mov dword [ebp - 0x8b4], 7
mov word [ebp - 0x8c8], ax
push str.opentool
lea ecx, [ebp - 0x8f8]
mov byte [ebp - 4], 6
call fcn.0040a8e0
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x8f8]
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8c8]
push eax
call fcn.0040b490
add esp, 0x10
mov eax, dword [ebp - 0x8e4]
mov byte [ebp - 4], 8
cmp eax, 8
jb 0x40c135
inc eax
lea ecx, [ebp - 0x8f8]
push eax
push dword [ebp - 0x8f8]
call fcn.004085f0
cmp dword [ebp - 0x8b4], 8
lea eax, [ebp - 0x8c8]
push 1
cmovae eax, dword [ebp - 0x8c8]
push 0
push eax
lea eax, [ebp - 0x8b0]
mov byte [ebp - 4], 6
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0xb50]
movzx ecx, dl
xor edx, edx
cmp eax, 0x20
cmovle ecx, edx
mov edx, dword [ebp - 0x8b4]
mov byte [ebp - 0xb50], cl
cmp edx, 8
jb 0x40c1c3
mov ecx, dword [ebp - 0x8c8]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 9
cmp edx, 0x1000
jb 0x40c1b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c1b9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
mov edx, dword [ebp - 0x8cc]
cmp edx, 8
jb 0x40be7a
mov ecx, dword [ebp - 0x8e0]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xa
cmp edx, 0x1000
jb 0x40c203
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c203
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00412a01
add esp, 8
jmp 0x40be7a