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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x415067
mov eax, dword fs:[0]
push eax
sub esp, 0x708
mov eax, dword [0x41d048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c0], 0
push 0x250
lea eax, [ebp - 0x6b8]
mov dword [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0x6bc], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x6b8]
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
jne 0x40c2a3
mov byte [ebp - 0x6bc], 0
jmp 0x40c7c9
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 - 0x6c8], 0x208
lea eax, [ebp - 0x6c4]
mov dword [ebp - 0x6cc], 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 0x40c33a
lea eax, [ebp - 0x6c8]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x6cc]
push eax
push 0
push 0
push dword [ebp - 0x6c4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x6bc]
xor edx, edx
push dword [ebp - 0x6c4]
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0x6bc], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x20], 0
jne 0x40c4bd
xor eax, eax
mov byte [ebp - 4], 3
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 - 0x6c0], 1
call fcn.0040e4b0
push 1
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040dec0
add esp, 0xc
test al, al
jne 0x40c67d
xorps xmm0, xmm0
mov dword [ebp - 0x6dc], 0
lea eax, [ebp - 0x420]
movlpd qword [ebp - 0x70c], xmm0
mov dword [ebp - 0x704], eax
lea eax, [ebp - 0x714]
push eax
movlpd qword [ebp - 0x700], xmm0
movlpd qword [ebp - 0x6f4], xmm0
movlpd qword [ebp - 0x6ec], xmm0
movlpd qword [ebp - 0x6e4], xmm0
mov dword [ebp - 0x714], 0x3c
mov dword [ebp - 0x710], 0x540
mov dword [ebp - 0x6f8], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40c5c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x40c5b9
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x40c5af
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c5af
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 byte [ebp - 0x6bc], 0
jmp 0x40c7c9
lea ecx, [ebp - 0x6c0]
call fcn.0040a620
push str._FileOpenUntitled__
lea ecx, [ebp - 0x6d8]
mov byte [ebp - 4], 8
call fcn.0040a570
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
cmovae ecx, dword [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x6d4]
push eax
call fcn.0040ad00
push 0x417724
push eax
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040ad00
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c0]
mov byte [ebp - 4], 0xb
call fcn.0040ac80
lea ecx, [ebp - 0x6d0]
call fcn.004017f0
lea ecx, [ebp - 0x6d4]
call fcn.004017f0
lea ecx, [ebp - 0x6d8]
mov byte [ebp - 4], 8
call fcn.004017f0
push dword [ebp - 0x6c0]
push str.Control
push str.AcroviewR21
call fcn.0040d9a0
add esp, 0xc
mov byte [ebp - 0x6bc], al
lea ecx, [ebp - 0x6c0]
call fcn.004017f0
jmp 0x40c783
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push str.opentool
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xc
call fcn.0040a8e0
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0040b490
add esp, 0x10
mov eax, dword [ebp - 0x454]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x40c6f5
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.004085f0
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push 1
cmovae eax, dword [ebp - 0x438]
push 0
push eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 0xc
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x6bc]
movzx ecx, dl
xor edx, edx
cmp eax, 0x20
cmovle ecx, edx
mov edx, dword [ebp - 0x424]
mov byte [ebp - 0x6bc], cl
cmp edx, 8
jb 0x40c783
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xf
cmp edx, 0x1000
jb 0x40c779
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c779
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 - 0x43c]
cmp edx, 8
jb 0x40c7c9
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0x10
cmp edx, 0x1000
jb 0x40c7bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c7bf
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