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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x413758
mov eax, dword fs:[0]
push eax
sub esp, 0x708
mov eax, dword [0x41b044]
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 - 0x6b8]
mov dword [ebp - 4], 1
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 0x40ad4b
mov byte [ebp - 0x6bc], 0
jmp 0x40b318
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 - 0x6d0], 0x208
lea eax, [ebp - 0x6c0]
mov dword [ebp - 0x6d4], 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 0x40ade2
lea eax, [ebp - 0x6d0]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x6d4]
push eax
push 0
push 0
push dword [ebp - 0x6c0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x6bc]
xor edx, edx
push dword [ebp - 0x6c0]
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 0x40af22
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x450]
push 0x415d40
push eax
call fcn.00408690
push 0x415d40
push eax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 4
push eax
call fcn.00408620
add esp, 0x18
mov esi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x40ae52
mov ecx, eax
call fcn.004072b0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp + 8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 6
cmp edx, 8
jb 0x40ae92
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40aee5
push edx
push ecx
call fcn.004114a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 7
cmp edx, 8
jb 0x40aef5
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40aeeb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40aeeb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0
push eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x40b318
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x438]
mov byte [ebp - 4], 8
push eax
sub esp, 0x18
lea eax, [ebp + 0x24]
mov ecx, esp
mov dword [ebp - 0x6cc], esp
push eax
call fcn.004096b0
sub esp, 0x18
mov byte [ebp - 4], 9
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004096b0
mov byte [ebp - 4], 8
call fcn.0040c820
add esp, 0x34
test al, al
jne 0x40b170
push 0x3c
lea eax, [ebp - 0x714]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x714], 0x3c
lea eax, [ebp - 0x420]
mov dword [ebp - 0x710], 0x540
mov dword [ebp - 0x704], eax
lea eax, [ebp - 0x714]
mov dword [ebp - 0x6f8], 5
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40b02b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x40b01e
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b014
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b014
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
xor eax, eax
mov byte [ebp - 0x6bc], al
jmp 0x40b2fd
lea ecx, [ebp - 0x6c4]
call fcn.00409530
push str._FileOpenUntitled__
lea ecx, [ebp - 0x6cc]
mov byte [ebp - 4], 0xd
call fcn.00409480
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
cmovae ecx, dword [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x6c8]
push eax
call fcn.00409be0
push 0x416338
push eax
lea eax, [ebp - 0x6d8]
mov byte [ebp - 4], 0xf
push eax
call fcn.00409be0
add esp, 0x18
push eax
lea ecx, [ebp - 0x6c4]
mov byte [ebp - 4], 0x10
call fcn.00409af0
mov ecx, dword [ebp - 0x6d8]
or edi, 0xffffffff
mov byte [ebp - 4], 0xf
add ecx, 0xfffffff0
mov eax, edi
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40b0c3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4153b8]
mov ecx, edi
call esi
or edi, 0xffffffff
mov ecx, dword [ebp - 0x6c8]
mov eax, edi
mov byte [ebp - 4], 0xe
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40b0f3
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4153b8]
mov ecx, edi
call esi
or edi, 0xffffffff
mov ecx, dword [ebp - 0x6cc]
mov eax, edi
mov byte [ebp - 4], 0xd
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40b123
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4153b8]
mov ecx, edi
call esi
or edi, 0xffffffff
mov esi, dword [ebp - 0x6c4]
push esi
push str.Control
push str.AcroviewR20
call fcn.0040bf00
add esp, 0xc
mov byte [ebp - 0x6bc], al
mov byte [ebp - 4], 8
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x40b2b5
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4153b8]
mov ecx, edi
call esi
jmp 0x40b2b5
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x450]
push 0x415d40
push eax
call fcn.00408690
push 0x415d40
push eax
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0x11
push eax
call fcn.00408620
add esp, 0x18
lea ecx, [ebp - 0x438]
push eax
call fcn.00409b70
mov edx, dword [ebp - 0x454]
mov byte [ebp - 4], 0x12
cmp edx, 8
jb 0x40b1ed
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b1e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b240
push edx
push ecx
call fcn.004114a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov edx, dword [ebp - 0x43c]
mov byte [ebp - 4], 0x13
cmp edx, 8
jb 0x40b250
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b246
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b246
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
cmp dword [ebp - 0x424], 8
push 1
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push 0
push eax
lea eax, [ebp - 0x420]
mov dword [ebp - 0x43c], 7
push eax
push str.open
push 0
mov byte [ebp - 4], 8
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 byte [ebp - 0x6bc], cl
mov edx, dword [ebp - 0x424]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x40b2fb
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b2f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b2f1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
xor eax, eax
mov word [ebp - 0x438], ax
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], 0
mov edx, dword [ebp + 0x1c]
mov byte [ebp - 4], 0x15
cmp edx, 8
jb 0x40b358
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b34e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b34e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
mov edx, dword [ebp + 0x38]
mov dword [ebp - 4], 0x16
cmp edx, 8
jb 0x40b3af
mov ecx, dword [ebp + 0x24]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b3a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b3a5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004114a6
add esp, 8
mov edx, dword [ebp - 0x6bc]
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.00411460
mov esp, ebp
pop ebp
ret