Function at 0x495c30
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x213c
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x2138], eax
mov eax, dword [esp + 0x214c]
mov ecx, dword [esp + 0x2150]
mov edx, dword [esp + 0x2158]
push ebx
mov ebx, dword [esp + 0x214c]
push ebp
mov ebp, dword [esp + 0x214c]
push esi
mov esi, dword [esp + 0x2168]
push edi
mov edi, dword [esp + 0x2150]
push 0x3c
mov dword [esp + 0x18], eax
lea eax, [esp + 0x20]
push 0
push eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], edx
call fcn.0049e680
add esp, 0xc
cmp byte [esp + 0x2164], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0x500
jne 0x495cbc
mov dword [esp + 0x20], 0x540
mov dword [esp + 0x2c], edi
test esi, esi
je 0x495cca
mov dword [esp + 0x28], esi
jmp 0x495ce5
push 0x50
push edi
lea esi, [esp + 0x60]
call fcn.00494e80
movzx ecx, al
neg ecx
sbb ecx, ecx
mov edx, esi
and ecx, edx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x14]
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
call fcn.0044d530
cmp eax, edi
jne 0x495d1c
push edi
lea ecx, [esp + 0x114c]
push str.._s
push ecx
call fcn.0049e0d5
lea edx, [esp + 0x1154]
add esp, 0xc
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 1
call fcn.0043c9b0
test eax, eax
je 0x495e10
push ebp
call fcn.00464b20
cmp word [eax], 0
jne 0x495d48
cmp dword [esp + 0x10], 0
je 0x495e10
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x495ee4
push str.ShellExecuteExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x495ee4
lea eax, [esp + 0x948]
push eax
push ebp
push edi
call fcn.0044d4f0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x495daa
push 0x1000000
lea ecx, [esp + 0xac]
push ecx
push eax
call fcn.0046d330
lea edx, [esp + 0xa8]
mov dword [esp + 0x28], edx
test ebx, ebx
je 0x495dcc
push 0x1000000
lea eax, [esp + 0x14c]
push eax
push ebx
call fcn.0046d330
lea ecx, [esp + 0x148]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x495dda
cmp dword [esp + 0x10], eax
je 0x495df1
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1948]
push edx
push ecx
push eax
call fcn.0044d4f0
mov dword [esp + 0x30], eax
lea edx, [esp + 0x1c]
push edx
mov byte [0x4dbd54], 1
call esi
test eax, eax
jne 0x495e3d
cmp dword [esp + 0x28], eax
je 0x495e3d
lea eax, [esp + 0x1c]
push eax
jmp 0x495e33
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [esp + 0x1c]
push ecx
mov byte [0x4dbd54], 1
call esi
test eax, eax
jne 0x495e3d
cmp dword [esp + 0x28], eax
je 0x495e3d
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], 0
call esi
mov byte [0x4dbd54], 0
test eax, eax
je 0x495ee4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x495ee4
cmp byte [esp + 0x2164], 0
jne 0x495ee0
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x495e9a
mov eax, dword [0x4f9ea8]
mov edx, dword [esp + 0x3c]
mov dword [eax*4 + 0x4f9e68], ecx
mov dword [eax*4 + 0x4f9e28], edx
inc eax
and eax, 0x8000000f
jns 0x495e93
dec eax
or eax, 0xfffffff0
inc eax
mov dword [0x4f9ea8], eax
jmp 0x495ed6
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov eax, dword [esi + 0x4f9e28]
cmp eax, dword [esp + 0x3c]
jne 0x495eca
mov ecx, dword [esi + 0x4f9e68]
push 0
push ecx
call edi
cmp eax, 0x102
jne 0x495eca
mov edx, dword [esi + 0x4f9e68]
mov dword [esp + 0x54], edx
add esi, 4
cmp esi, 0x40
jl 0x495ea2
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x495ee0
mov dword [eax], ecx
mov al, 1
jmp 0x495ee6
xor al, al
mov ecx, dword [esp + 0x2148]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x213c
ret 0x20