Function at 0x40c9a9
Capabilities:
Create process on windows

Disassembly:
push 0x84
mov eax, 0x4c383d
call fcn.0048652b
mov eax, dword [ebp + 8]
mov ebx, ecx
push 7
mov dword [ebp - 0x90], eax
pop eax
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], cx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
push 0x1c
cdq
pop edi
idiv edi
mov dword [ebp - 0x88], esi
test eax, eax
je 0x40cc02
mov dword [ebp - 0x84], esi
jmp 0x40ca12
xor esi, esi
mov eax, dword [ebp - 0x84]
push 0xffffffffffffffff
add eax, ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408b5a
mov edi, dword [sym.imp.MSVCR100.dll_wcslen]
mov esi, 0x4e0d2c
push esi
call edi
pop ecx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d92d
cmp eax, 0xffffffff
je 0x40cbdc
push esi
call edi
pop ecx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d92d
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
call fcn.004089b5
mov ebx, eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004089fe
push 1
xor edi, edi
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00408e84
mov esi, 0x4e0d2c
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0040d92d
inc eax
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
call fcn.004089b5
mov ebx, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004089fe
push 1
lea esi, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.00408e84
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x40cad4
lea eax, [ebp - 0x48]
push 0x4e1098
push eax
call sub.MSVCR100.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
jne 0x40cb35
mov eax, dword [ebp - 0x90]
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x40caf6
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x80]
push eax
call sym.Uninstall.exe_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_KpBase::s2ws_char_const__
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00409091
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004089fe
push 1
xor edi, edi
lea esi, [ebp - 0x64]
call fcn.00408e84
lea esi, [ebp - 0x80]
jmp 0x40cbaa
mov esi, 0x4e1058
cmp dword [str.CSIDL_PERSONAL], edi
je 0x40cbb7
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x40cb4e
lea eax, [ebp - 0x48]
push eax
push dword [esi]
call sub.MSVCR100.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x40cb65
add esi, 8
cmp dword [esi], edi
jne 0x40cb42
jmp 0x40cbb7
mov esi, dword [esi + 4]
cmp esi, 0xffffffff
je 0x40cbb7
lea eax, [ebp - 0x64]
push esi
push eax
call sym.Uninstall.exe_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_KpBase::GetSystemPathW_unsigned_long_int_
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00409091
add esp, 0x10
mov ebx, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004089fe
push 1
xor edi, edi
lea esi, [ebp - 0x80]
call fcn.00408e84
lea esi, [ebp - 0x64]
push 1
xor edi, edi
mov byte [ebp - 4], 1
call fcn.00408e84
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40cbc3
lea eax, [ebp - 0x2c]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push 0x4e109c
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, dword [ebp - 0x8c]
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
sub eax, ecx
push 0x1c
cdq
pop esi
idiv esi
inc dword [ebp - 0x88]
add dword [ebp - 0x84], 0x1c
cmp dword [ebp - 0x88], eax
jb 0x40ca10
push 1
xor edi, edi
lea esi, [ebp - 0x2c]
call fcn.00408e84
push 1
lea esi, [ebp - 0x48]
call fcn.00408e84
call fcn.004865ae
ret 4