Function at 0x407f38
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x433ccc
call fcn.0041c240
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x3c], eax
lea eax, [esi + 0x1b0]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x50], esi
mov edi, edx
mov dword [ebp - 0x34], eax
je 0x407f68
call fcn.0040aca3
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov dword [esi + 0x1ac], ebx
je 0x407f80
call fcn.0040acb1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], bx
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0040c4ad
pop ecx
push 0x10
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004180a0
add esp, 0xc
push 0x44
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.004180a0
add esp, 0xc
cmp byte [ebp + 0xc], bl
mov dword [ebp - 0x9c], 0x44
je 0x407fe6
cmp byte [esi + 0xb8], bl
jne 0x407fe6
cmp dword [esi + 0x1b8], ebx
je 0x407fe6
mov dword [ebp - 0x94], str.RC_Installs_DeskTop_Name
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x14]
cmp eax, ebx
mov dword [ebp - 0x38], ebx
je 0x408099
lea esi, [eax + 0x208]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00417034
mov dword [esp], 0x43926c
push esi
push eax
mov dword [ebp - 0x38], eax
call fcn.00417d8d
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x408032
mov edi, dword [edi + 4]
jmp 0x408035
add edi, 4
push edi
mov edi, dword [ebp - 0x38]
push esi
push edi
call fcn.0041882f
add esp, 0xc
push 0x439270
push esi
push edi
call fcn.0041882f
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x408060
mov eax, dword [eax + 4]
jmp 0x408063
add eax, 4
push eax
push esi
push edi
call fcn.0041882f
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
jae 0x40807a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push eax
push ebx
push ebx
push 1
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [ebp - 0x50]
jmp 0x4080cd
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4080a5
lea eax, [ebp - 0x2c]
cmp dword [edi + 0x18], 8
jb 0x4080b0
mov edi, dword [edi + 4]
jmp 0x4080b3
add edi, 4
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x9c]
push ecx
push eax
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, ebx
je 0x40816f
cmp dword [ebp - 0x48], ebx
je 0x4080e6
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0x4c], ebx
je 0x408161
lea edi, [esi + 0x1b0]
cmp edi, ebx
je 0x4080fc
mov eax, edi
call fcn.0040aca3
cmp edi, ebx
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x1ac], eax
je 0x408112
mov eax, edi
call fcn.0040acb1
xor edi, edi
push dword [ebp + 8]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, ebx
je 0x408129
mov eax, edi
call fcn.0040acb1
lea edi, [esi + 0x1b0]
cmp edi, ebx
je 0x40813a
mov eax, edi
call fcn.0040aca3
cmp edi, ebx
mov dword [esi + 0x1ac], ebx
je 0x40814d
mov eax, edi
call fcn.0040acb1
xor edi, edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x408161
mov eax, edi
call fcn.0040acb1
cmp dword [ebp - 0x38], ebx
je 0x40816f
push dword [ebp - 0x38]
call fcn.0041808d
pop ecx
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00401108
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x408186
call fcn.0040acb1
call fcn.0041c2c3
ret 0xc