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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4142dc
mov eax, dword fs:[0]
push eax
sub esp, 0x6f0
mov eax, dword [0x41b048]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6a8], 0
push 0x250
lea eax, [ebp - 0x6a0]
mov dword [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0x6a4], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x6a0]
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 0x40bcd3
mov byte [ebp - 0x6a4], 0
jmp 0x40c1b8
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 - 0x6b0], 0x208
lea eax, [ebp - 0x6ac]
mov dword [ebp - 0x6b4], 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 0x40bd6a
lea eax, [ebp - 0x6b0]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x6b4]
push eax
push 0
push 0
push dword [ebp - 0x6ac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x6a4]
xor edx, edx
push dword [ebp - 0x6ac]
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0x6a4], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x20], 0
jne 0x40beed
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 - 0x6a8], 1
call fcn.0040d9b0
push 1
push 0x415d80
lea ecx, [ebp - 0x438]
call fcn.00407e20
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 fcn.00407e20
push 1
push 0x415d80
lea ecx, [ebp - 0x438]
call fcn.00407e20
xor ecx, ecx
mov dword [ebp - 0x6a8], 3
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x450], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [ebp + 8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x450]
push eax
movq qword [ebp - 0x440], xmm0
call fcn.00404d90
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x40be76
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x40be6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40be6c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411d21
add esp, 8
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x40bec4
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x40beb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40beb6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411d21
add esp, 8
mov byte [ebp - 4], 2
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40c1b8
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.0040d3c0
add esp, 0xc
test al, al
jne 0x40c0ad
xorps xmm0, xmm0
mov dword [ebp - 0x6c4], 0
lea eax, [ebp - 0x420]
movlpd qword [ebp - 0x6f4], xmm0
mov dword [ebp - 0x6ec], eax
lea eax, [ebp - 0x6fc]
push eax
movlpd qword [ebp - 0x6e8], xmm0
movlpd qword [ebp - 0x6dc], xmm0
movlpd qword [ebp - 0x6d4], xmm0
movlpd qword [ebp - 0x6cc], xmm0
mov dword [ebp - 0x6fc], 0x3c
mov dword [ebp - 0x6f8], 0x540
mov dword [ebp - 0x6e0], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40bff5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x40bfe9
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x40bfdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bfdf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411d21
add esp, 8
mov byte [ebp - 0x6a4], 0
jmp 0x40c1b8
lea ecx, [ebp - 0x6a8]
call fcn.0040a0b0
push str._FileOpenUntitled__
lea ecx, [ebp - 0x6c0]
mov byte [ebp - 4], 8
call fcn.0040a000
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 - 0x6bc]
push eax
call fcn.0040a790
push 0x4165ac
push eax
lea eax, [ebp - 0x6b8]
mov byte [ebp - 4], 0xa
push eax
call fcn.0040a790
add esp, 0x18
push eax
lea ecx, [ebp - 0x6a8]
mov byte [ebp - 4], 0xb
call fcn.0040a710
lea ecx, [ebp - 0x6b8]
call fcn.004017f0
lea ecx, [ebp - 0x6bc]
call fcn.004017f0
lea ecx, [ebp - 0x6c0]
mov byte [ebp - 4], 8
call fcn.004017f0
push dword [ebp - 0x6a8]
push str.Control
push str.AcroviewR20
call fcn.0040cea0
add esp, 0xc
mov byte [ebp - 0x6a4], al
lea ecx, [ebp - 0x6a8]
call fcn.004017f0
jmp 0x40c172
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0040af20
add esp, 0xc
lea eax, [ebp - 0x438]
cmp dword [ebp - 0x424], 8
cmovae eax, dword [ebp - 0x438]
push 1
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x6a4]
movzx ecx, dl
xor edx, edx
cmp eax, 0x20
cmovle ecx, edx
mov edx, dword [ebp - 0x424]
mov byte [ebp - 0x6a4], cl
cmp edx, 8
jb 0x40c172
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xd
cmp edx, 0x1000
jb 0x40c168
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c168
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411d21
add esp, 8
mov edx, dword [ebp - 0x43c]
cmp edx, 8
jb 0x40c1b8
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 0xe
cmp edx, 0x1000
jb 0x40c1ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c1ae
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00411d21
add esp, 8
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x40c1d1
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00408080
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], 0x10
cmp eax, 8
jb 0x40c1fe
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.00408080
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], 0x11
cmp eax, 8
jb 0x40c22e
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.00408080
mov edx, dword [ebp - 0x6a4]
mov al, dl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00411ce0
mov esp, ebp
pop ebp
ret