Function at 0x40a0dd
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x436a64
call fcn.0041edd0
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 0x40a10d
call fcn.0040d198
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
mov dword [esi + 0x1ac], ebx
je 0x40a125
call fcn.0040d1a6
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.0040ebe9
pop ecx
push 0x10
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0041b0d0
add esp, 0xc
push 0x44
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.0041b0d0
add esp, 0xc
cmp byte [ebp + 0xc], bl
mov dword [ebp - 0x9c], 0x44
je 0x40a18b
cmp byte [esi + 0xb8], bl
jne 0x40a18b
cmp dword [esi + 0x1b8], ebx
je 0x40a18b
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 0x40a23e
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.00419bd8
mov dword [esp], 0x43c534
push esi
push eax
mov dword [ebp - 0x38], eax
call fcn.0041a931
add esp, 0xc
cmp dword [edi + 0x18], 8
jb 0x40a1d7
mov edi, dword [edi + 4]
jmp 0x40a1da
add edi, 4
push edi
mov edi, dword [ebp - 0x38]
push esi
push edi
call fcn.0041bfbc
add esp, 0xc
push 0x43c538
push esi
push edi
call fcn.0041bfbc
mov eax, dword [ebp - 0x3c]
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x40a205
mov eax, dword [eax + 4]
jmp 0x40a208
add eax, 4
push eax
push esi
push edi
call fcn.0041bfbc
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], 8
jae 0x40a21f
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 0x40a272
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x40a24a
lea eax, [ebp - 0x2c]
cmp dword [edi + 0x18], 8
jb 0x40a255
mov edi, dword [edi + 4]
jmp 0x40a258
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 0x40a314
cmp dword [ebp - 0x48], ebx
je 0x40a28b
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x48], ebx
cmp dword [ebp - 0x4c], ebx
je 0x40a306
lea edi, [esi + 0x1b0]
cmp edi, ebx
je 0x40a2a1
mov eax, edi
call fcn.0040d198
cmp edi, ebx
mov eax, dword [ebp - 0x44]
mov dword [esi + 0x1ac], eax
je 0x40a2b7
mov eax, edi
call fcn.0040d1a6
xor edi, edi
push dword [ebp + 8]
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp edi, ebx
je 0x40a2ce
mov eax, edi
call fcn.0040d1a6
lea edi, [esi + 0x1b0]
cmp edi, ebx
je 0x40a2df
mov eax, edi
call fcn.0040d198
cmp edi, ebx
mov dword [esi + 0x1ac], ebx
je 0x40a2f2
mov eax, edi
call fcn.0040d1a6
xor edi, edi
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x40a306
mov eax, edi
call fcn.0040d1a6
cmp dword [ebp - 0x38], ebx
je 0x40a314
push dword [ebp - 0x38]
call fcn.0041ac2d
pop ecx
push ebx
push 1
lea esi, [ebp - 0x30]
call fcn.0040193c
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x40a32b
call fcn.0040d1a6
call fcn.0041ee53
ret 0xc