Function at 0x40ea10
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xaa8
mov eax, dword [0x4ccecc]
xor eax, esp
mov dword [esp + 0xaa0], eax
mov eax, dword [esp + 0xab0]
push ebp
mov ebp, dword [esp + 0xab0]
push esi
push edi
mov dword [esp + 0x2c], eax
xor eax, eax
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
lea edi, [esp + 0x20]
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x60], 1
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], 0xc
call fcn.0040de30
add esp, 0x10
test eax, eax
je 0x40ebcd
push 0x44
lea edx, [esp + 0x5c]
push esi
push edx
call fcn.00455040
mov eax, dword [esp + 0x1c]
add esp, 0xc
push esi
push esi
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x68], 0x44
mov dword [esp + 0x94], 0x100
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x30], eax
cmp eax, esi
jne 0x40eb5b
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x14], esi
call edi
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x20], esi
call edi
mov edx, dword [esp + 0xc]
push edx
mov dword [esp + 0x18], esi
call edi
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x10], esi
call edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x20], esi
push ecx
jmp 0x40ebcb
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 3
push 1
push esi
lea edx, [esp + 0x30]
push edx
call edi
push eax
call edi
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x40ebe9
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
mov dword [esp + 0x14], esi
call edi
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x20], esi
call edi
mov eax, dword [esp + 0xc]
push eax
mov dword [esp + 0x18], esi
call edi
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x10], esi
call edi
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x24], esi
call edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], esi
push eax
call edi
mov eax, esi
mov ecx, dword [esp + 0xaac]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0044e200
add esp, 0xaa8
ret 8
push 0x7fe
lea edx, [esp + 0x2ae]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x2b4], cx
call fcn.00455040
add esp, 0xc
push 0x104
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x40ec2f
lea ecx, [esp + 0xa0]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [esp + 0x2c]
push edx
push ebp
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x2b4]
push str._sextract.exe_x__aou___s___o__s_
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x5c]
push eax
push esi
push esi
push 0x8000200
push 1
push esi
push esi
lea ecx, [esp + 0x2c8]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40ecd3
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x14], esi
call edi
mov ecx, dword [esp + 0x14]
push ecx
mov dword [esp + 0x20], esi
call edi
mov edx, dword [esp + 0xc]
push edx
mov dword [esp + 0x18], esi
call edi
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x10], esi
call edi
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x24], esi
call edi
mov edx, dword [esp + 0x30]
push edx
mov dword [esp + 0x1c], esi
call edi
mov eax, dword [esp + 0x24]
jmp 0x40ebca
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
mov dword [esp + 0x14], esi
call edi
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x10], esi
call edi
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x1c], esi
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov dword [esp + 0x24], esi
mov dword [esp + 0x34], 0x64
mov dword [esp + 0x28], esi
mov edx, dword [esp + 0x38]
push 5
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40ed29
sub dword [esp + 0x34], 1
js 0x40ed91
mov ecx, dword [ebx]
mov edx, dword [ebx + 8]
push esi
push esi
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call ebp
test eax, eax
je 0x40ed91
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
cmp eax, esi
je 0x40ed11
cmp dword [ebx], eax
jae 0x40ed71
mov ecx, dword [ebx + 8]
push ecx
call fcn.0044ec82
mov eax, dword [esp + 0x2c]
push eax
mov dword [ebx], eax
call fcn.0044ed5f
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.0040dd30
add esp, 0xc
test eax, eax
jne 0x40ed91
cmp dword [esp + 0x2c], esi
jne 0x40ed11
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x54]
push eax
push ecx
mov dword [esp + 0x5c], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x40edb0
push eax
call edi
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x40edbb
push eax
call edi
mov edx, dword [esp + 0x30]
push edx
call edi
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x40edcd
push eax
call edi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x40edd8
push eax
call edi
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40ede3
push eax
call edi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x40edee
push eax
call edi
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x40edf9
push eax
call edi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40ee04
push eax
call edi
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x40ee0f
push eax
call edi
mov eax, 1
jmp 0x40ebcf