Function at 0x495a90
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x213c
call fcn.0049e430
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.0049e460
add esp, 0xc
cmp byte [esp + 0x2164], 0
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x20], 0x500
jne 0x495b1c
mov dword [esp + 0x20], 0x540
mov dword [esp + 0x2c], edi
test esi, esi
je 0x495b2a
mov dword [esp + 0x28], esi
jmp 0x495b45
push 0x50
push edi
lea esi, [esp + 0x60]
call fcn.00494cd0
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.0044db30
cmp eax, edi
jne 0x495b7c
push edi
lea ecx, [esp + 0x114c]
push str.._s
push ecx
call fcn.0049deb5
lea edx, [esp + 0x1154]
add esp, 0xc
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], 1
call fcn.0043ca60
test eax, eax
je 0x495c70
push ebp
call fcn.00464fe0
cmp word [eax], 0
jne 0x495ba8
cmp dword [esp + 0x10], 0
je 0x495c70
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x495d44
push str.ShellExecuteExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x495d44
lea eax, [esp + 0x948]
push eax
push ebp
push edi
call fcn.0044daf0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x495c0a
push 0x1000000
lea ecx, [esp + 0xac]
push ecx
push eax
call fcn.0046d7e0
lea edx, [esp + 0xa8]
mov dword [esp + 0x28], edx
test ebx, ebx
je 0x495c2c
push 0x1000000
lea eax, [esp + 0x14c]
push eax
push ebx
call fcn.0046d7e0
lea ecx, [esp + 0x148]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x495c3a
cmp dword [esp + 0x10], eax
je 0x495c51
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1948]
push edx
push ecx
push eax
call fcn.0044daf0
mov dword [esp + 0x30], eax
lea edx, [esp + 0x1c]
push edx
mov byte [0x4dbd54], 1
call esi
test eax, eax
jne 0x495c9d
cmp dword [esp + 0x28], eax
je 0x495c9d
lea eax, [esp + 0x1c]
push eax
jmp 0x495c93
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea ecx, [esp + 0x1c]
push ecx
mov byte [0x4dbd54], 1
call esi
test eax, eax
jne 0x495c9d
cmp dword [esp + 0x28], eax
je 0x495c9d
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], 0
call esi
mov byte [0x4dbd54], 0
test eax, eax
je 0x495d44
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
je 0x495d44
cmp byte [esp + 0x2164], 0
jne 0x495d40
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x495cfa
mov eax, dword [0x4f9e78]
mov edx, dword [esp + 0x3c]
mov dword [eax*4 + 0x4f9e38], ecx
mov dword [eax*4 + 0x4f9df8], edx
inc eax
and eax, 0x8000000f
jns 0x495cf3
dec eax
or eax, 0xfffffff0
inc eax
mov dword [0x4f9e78], eax
jmp 0x495d36
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor esi, esi
mov eax, dword [esi + 0x4f9df8]
cmp eax, dword [esp + 0x3c]
jne 0x495d2a
mov ecx, dword [esi + 0x4f9e38]
push 0
push ecx
call edi
cmp eax, 0x102
jne 0x495d2a
mov edx, dword [esi + 0x4f9e38]
mov dword [esp + 0x54], edx
add esi, 4
cmp esi, 0x40
jl 0x495d02
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x495d40
mov dword [eax], ecx
mov al, 1
jmp 0x495d46
xor al, al
mov ecx, dword [esp + 0x2148]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049dea6
add esp, 0x213c
ret 0x20