Function at 0x4096af
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x435f35
call fcn.0041e3a7
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 0x4096df
call fcn.0040c644
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov dword [esi + 0x1ac], ebx
je 0x4096f7
call fcn.0040c652
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.0040e0aa
pop ecx
push 0x10
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0041a5f0
add esp, 0xc
push 0x44
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.0041a5f0
add esp, 0xc
cmp byte [ebp + 0xc], bl
mov dword [ebp - 0x9c], 0x44
je 0x40975d
cmp byte [esi + 0xb8], bl
jne 0x40975d
cmp dword [esi + 0x1b8], ebx
je 0x40975d
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 0x409810
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.00419196
mov dword [esp], 0x43b828
push esi
push eax
mov dword [ebp - 0x38], eax
call fcn.00419eef
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x4097a9
mov edi, dword [edi + 4]
jmp 0x4097ac
add edi, 4
push edi
mov edi, dword [ebp - 0x38]
push esi
push edi
call fcn.0041a73e
add esp, 0xc
push 0x43b82c
push esi
push edi
call fcn.0041a73e
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x4097d7
mov eax, dword [eax + 4]
jmp 0x4097da
add eax, 4
push eax
push esi
push edi
call fcn.0041a73e
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
jae 0x4097f1
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 0x409844
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40981c
lea eax, [ebp - 0x2c]
cmp dword [edi + 0x18], 8
jb 0x409827
mov edi, dword [edi + 4]
jmp 0x40982a
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 0x4098e6
cmp dword [ebp - 0x48], ebx
je 0x40985d
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0x4c], ebx
je 0x4098d8
lea edi, [esi + 0x1b0]
cmp edi, ebx
je 0x409873
mov eax, edi
call fcn.0040c644
cmp edi, ebx
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x1ac], eax
je 0x409889
mov eax, edi
call fcn.0040c652
xor edi, edi
push dword [ebp + 8]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, ebx
je 0x4098a0
mov eax, edi
call fcn.0040c652
lea edi, [esi + 0x1b0]
cmp edi, ebx
je 0x4098b1
mov eax, edi
call fcn.0040c644
cmp edi, ebx
mov dword [esi + 0x1ac], ebx
je 0x4098c4
mov eax, edi
call fcn.0040c652
xor edi, edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x4098d8
mov eax, edi
call fcn.0040c652
cmp dword [ebp - 0x38], ebx
je 0x4098e6
push dword [ebp - 0x38]
call fcn.0041a1ed
pop ecx
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.00401197
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x4098fd
call fcn.0040c652
call fcn.0041e42a
ret 0xc