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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414229
mov eax, dword fs:[0]
push eax
sub esp, 0xb80
mov eax, dword [0x41b048]
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 - 0xb30]
mov dword [ebp - 4], 2
push 0
push eax
mov byte [ebp - 0xb38], 1
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xb30]
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 0x40b8e3
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 - 0xb40], 0x208
lea eax, [ebp - 0xb3c]
mov dword [ebp - 0xb44], 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 0x40b71e
lea eax, [ebp - 0xb40]
push eax
lea eax, [ebp - 0x8b0]
push eax
lea eax, [ebp - 0xb44]
push eax
push 0
push 0
push dword [ebp - 0xb3c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0xb38]
xor edx, edx
push dword [ebp - 0xb3c]
test eax, eax
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0xb38], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [ebp + 0x20], 0
jne 0x40b9a0
push 0x410
lea eax, [ebp - 0x4a0]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0xb34]
mov dword [ebp - 0xb48], 0x20
push eax
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0xb34], 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 0x40b8e3
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 0x40b8e3
lea eax, [ebp - 0xb34]
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 0x40b8e3
lea eax, [ebp - 0xb48]
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 0x40b8e3
lea eax, [ebp - 0xb34]
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 0x40b8e3
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 0x40b8e3
lea eax, [ebp - 0xb34]
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 0x40b8e3
lea eax, [ebp - 0x8c0]
mov dword [ebp - 0xb8c], 0x44
push eax
lea eax, [ebp - 0xb8c]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0x1000000
push 0
push 0
push 0
lea eax, [ebp - 0x4a0]
movlpd qword [ebp - 0xb88], xmm0
push eax
lea eax, [ebp - 0x8b0]
movlpd qword [ebp - 0xb80], xmm0
push eax
movlpd qword [ebp - 0xb78], xmm0
movlpd qword [ebp - 0xb70], xmm0
movlpd qword [ebp - 0xb68], xmm0
movlpd qword [ebp - 0xb60], xmm0
movlpd qword [ebp - 0xb58], xmm0
movlpd qword [ebp - 0xb50], xmm0
movups xmmword [ebp - 0x8c0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40b983
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0xb38], 0
mov eax, dword [ebp + 0x1c]
mov byte [ebp - 4], 9
cmp eax, 8
jb 0x40b903
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], 0xa
cmp eax, 8
jb 0x40b930
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], 0xb
cmp eax, 8
jb 0x40b960
inc eax
lea ecx, [ebp + 0x3c]
push eax
push dword [ebp + 0x3c]
call fcn.00408080
mov edx, dword [ebp - 0xb38]
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.00411ce0
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 0x40b8ea
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.0040d3c0
add esp, 0xc
test al, al
jne 0x40bb2d
xorps xmm0, xmm0
mov dword [ebp - 0xb8c], 0x44
lea ecx, [ebp - 0xb34]
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
movlpd qword [ebp - 0xb60], xmm0
movlpd qword [ebp - 0xb58], xmm0
movlpd qword [ebp - 0xb50], xmm0
movups xmmword [ebp - 0x8c0], xmm0
call fcn.0040a0b0
lea eax, [ebp - 0x8c0]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xb8c]
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 0x40bad3
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xb34]
call fcn.004017f0
mov edx, dword [ebp - 0x8cc]
cmp edx, 8
jb 0x40b8e3
mov ecx, dword [ebp - 0x8e0]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 5
cmp edx, 0x1000
jb 0x40bac4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bac4
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
jmp 0x40b8e3
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 - 0xb34]
push eax
call fcn.0040ad90
push dword [ebp - 0xb34]
push str.Control
push str.AcroviewA20
call fcn.0040cea0
add esp, 0x18
mov byte [ebp - 0xb38], al
lea ecx, [ebp - 0xb34]
call fcn.004017f0
jmp 0x40bbf2
xor eax, eax
mov dword [ebp - 0x8b8], 0
mov dword [ebp - 0x8b4], 7
mov word [ebp - 0x8c8], ax
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x8e0]
push eax
lea eax, [ebp - 0x8c8]
push eax
call fcn.0040af20
add esp, 0xc
lea eax, [ebp - 0x8c8]
cmp dword [ebp - 0x8b4], 8
cmovae eax, dword [ebp - 0x8c8]
push 1
push 0
push eax
lea eax, [ebp - 0x8b0]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0xb38]
movzx ecx, dl
xor edx, edx
cmp eax, 0x20
cmovle ecx, edx
mov edx, dword [ebp - 0x8b4]
mov byte [ebp - 0xb38], cl
cmp edx, 8
jb 0x40bbf2
mov ecx, dword [ebp - 0x8c8]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x40bbe8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bbe8
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 - 0x8cc]
cmp edx, 8
jb 0x40b8ea
mov ecx, dword [ebp - 0x8e0]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 8
cmp edx, 0x1000
jb 0x40bc32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bc32
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
jmp 0x40b8ea