Function at 0xeec487
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x1040
call fcn.00eed9c0
push ebx
push esi
mov esi, dword [esp + 0x1050]
xor ebx, ebx
cmp word [esi], bx
je 0xeec6eb
push esi
call fcn.00ef2b93
pop ecx
cmp eax, 0x7f6
jae 0xeec6eb
push edi
push 0x3c
pop edi
push edi
lea eax, [esp + 0x14]
push ebx
push eax
call fcn.00eee920
mov dl, byte [esp + 0x1064]
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1c0
test dl, dl
je 0xeec4e9
mov dword [esp + 0x14], 0x5c0
movzx ecx, word [esi]
lea edi, [esi + 2]
push ebp
push 0x22
pop ebp
cmp cx, bp
je 0xeec4fa
mov edi, esi
mov dword [esp + 0x24], edi
mov eax, ebx
test cx, cx
je 0xeec53b
mov ecx, esi
mov dword [esp + 0x10], 0x20
cmp word [ecx], bp
je 0xeec69f
mov ecx, dword [esp + 0x10]
cmp word [esi + eax*2], cx
je 0xeec6b8
cmp word [esi + eax*2 + 2], 0x2f
je 0xeec6b8
inc eax
lea ecx, [esi + eax*2]
cmp word [ecx], bx
jne 0xeec50f
mov eax, dword [esp + 0x28]
test eax, eax
je 0xeec548
cmp word [eax], bx
jne 0xeec55d
test dl, dl
jne 0xeec55d
cmp word [0xf1a602], bx
je 0xeec55d
mov dword [esp + 0x28], 0xf1a602
push edi
mov dword [esp + 0x34], 1
call fcn.00edb1f0
mov esi, eax
test esi, esi
je 0xeec588
push str..inf
push esi
call fcn.00ee1438
test eax, eax
jne 0xeec588
mov dword [esp + 0x20], 0xf03fec
push dword [esp + 0x24]
call fcn.00ed9f0f
test al, al
je 0xeec5b0
push 0x800
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x2c]
call fcn.00edaf74
lea eax, [esp + 0x50]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0xeec6e9
mov edi, dword [esp + 0x1054]
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [0xf185f8], bl
jne 0xeec5e9
cmp byte [esp + 0x105c], bl
jne 0xeec5e9
cmp byte [0xf2de21], bl
je 0xeec654
test edi, edi
je 0xeec5fe
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0xeec5fe
push ebx
push edi
call ebp
mov bl, 1
push 0x7d0
push dword [esp + 0x50]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [esp + 0x4c]
call fcn.00eec946
cmp byte [0xf2de21], 0
je 0xeec654
cmp byte [esp + 0x105c], 0
jne 0xeec654
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0xeec654
mov eax, dword [esp + 0x10]
cmp eax, dword [0xf2de24]
jbe 0xeec64d
mov dword [0xf2de24], eax
mov byte [0xf2de22], 1
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0xeec671
push 0xf0259c
push esi
call fcn.00ee1438
test eax, eax
je 0xeec6d5
cmp byte [0xf185f8], 0
mov al, byte [esp + 0x105c]
je 0xeec6dc
test al, al
jne 0xeec6dc
cmp byte [0xf2de21], al
jne 0xeec6dc
mov dword [0xf2de28], 0x1b58
jmp 0xeec6dc
cmp word [esi + eax*2], bp
je 0xeec6ab
inc eax
cmp word [esi + eax*2], bx
jne 0xeec699
jmp 0xeec518
mov ecx, dword [esp + 0x10]
mov word [esi + eax*2], cx
jmp 0xeec51c
mov ebp, dword [esp + 0x10]
cmp word [esi + eax*2], bp
jne 0xeec6c8
xor ecx, ecx
mov word [esi + eax*2], cx
inc eax
lea eax, [esi + eax*2]
mov dword [esp + 0x28], eax
jmp 0xeec53f
mov al, byte [esp + 0x105c]
test bl, bl
je 0xeec6e9
test al, al
je 0xeec6e9
push 1
push edi
call ebp
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1040
ret 0xc