Function at 0x10001312
Capabilities:
Create pipe
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x198
mov eax, esp
mov dword [eax + 4], 0xc3a
mov dword [eax], 0xfe2308
mov eax, dword [sym.imp.GDI32.dll_SetStretchBltMode]
call eax
sub esp, 8
mov dword [esp + 0xfc], 0xfb3
mov ecx, esp
lea edx, [esp + 0xfc]
mov dword [ecx + 4], edx
mov dword [ecx], 0xc6b042
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esp + 0xc0], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x5d3
mov dword [ecx], 0x8e953c
mov ecx, dword [sym.imp.GDI32.dll_SetTextCharacterExtra]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x480385
mov ecx, dword [sym.imp.KERNEL32.dll_PulseEvent]
mov dword [esp + 0xb8], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0x118]
lea esi, [esp + 0xc8]
lea edi, [esp + 0x100]
lea ebx, [esp + 0x158]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], edx
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ecx
jmp 0x100014bc
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x9c]
sub edx, 0xb
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
je 0x10001462
jmp 0x10001418
mov eax, dword [esp + 0x9c]
sub eax, 0x24
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], ecx
je 0x100016eb
jmp 0x10001706
mov eax, dword [esp + 0x9c]
add eax, 1
cmp eax, 0x6c
mov dword [esp + 0xa0], eax
je 0x100017ae
jmp 0x100014bc
mov eax, esp
mov dword [eax + 4], 0x764946
mov dword [eax], 0x53bad2
mov eax, dword [sym.imp.GDI32.dll_SelectObject]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x522
mov dword [ecx], 0x1026a47a
mov ecx, dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [esp + 0x84], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xb736e3
mov ecx, dword [sym.imp.GDI32.dll_EndPath]
mov dword [esp + 0x80], eax
call ecx
sub esp, 4
mov dword [esp + 0x7c], eax
jmp 0x10001442
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x114], 0xbc1
mov dword [esp + 0x110], 0x650
mov ecx, esp
lea edx, [esp + 0x110]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x114]
mov dword [ecx + 8], edx
mov dword [ecx + 4], 0xe96
mov dword [ecx], 0x43e811
mov ecx, dword [sym.imp.USER32.dll_GetScrollRange]
mov dword [esp + 0x9c], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0x4d9
mov dword [ecx], 0x540cea
mov ecx, dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
mov dword [esp + 0x78], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x3c
mov esi, dword [esp + 0xa4]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
call fcn.1018bd20
mov eax, esp
lea ecx, [esp + 0x158]
mov dword [eax + 4], ecx
mov dword [eax], 0xf850a6
mov eax, dword [sym.imp.USER32.dll_GetWindowInfo]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x576
mov dword [ecx], 0xd0e6b5
mov ecx, dword [sym.imp.GDI32.dll_GetNearestColor]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x60]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x5c], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x5c]
sub ecx, eax
mov eax, ecx
sub eax, 8
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], eax
je 0x1000165f
jmp 0x100015d2
mov eax, dword [esp + 0x58]
sub eax, 5
mov dword [esp + 0x50], eax
jne 0x100016ce
jmp 0x100015e5
xor eax, eax
mov ecx, 0xc
mov edx, 0xa68c22
mov esi, 0xde1de3
mov dword [esp + 0xf8], esi
mov dword [esp + 0xc4], edx
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
call fcn.1018bd20
mov eax, esp
lea ecx, [esp + 0x100]
mov dword [eax + 8], ecx
lea ecx, [esp + 0xc4]
mov dword [eax + 4], ecx
lea ecx, [esp + 0xf8]
mov dword [eax], ecx
mov dword [eax + 0xc], 0xb59
mov eax, dword [sym.imp.KERNEL32.dll_CreatePipe]
call eax
sub esp, 0x10
mov dword [esp + 0x44], eax
xor eax, eax
mov ecx, 0x2c
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
call fcn.1018bd20
mov eax, esp
lea ecx, [esp + 0xc8]
mov dword [eax + 4], ecx
mov dword [eax], 0x113bec
mov eax, dword [sym.imp.USER32.dll_GetTitleBarInfo]
call eax
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x118]
mov dword [ecx + 4], edx
mov dword [ecx], 0xdd30ca
mov ecx, dword [sym.imp.USER32.dll_EndPaint]
mov dword [esp + 0x38], eax
call ecx
sub esp, 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
add eax, 1
cmp eax, 0x14c
mov dword [esp + 0x60], eax
je 0x100013f1
jmp 0x100015a2
mov eax, esp
mov dword [eax], 0x9e8c47
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
call eax
sub esp, 4
mov dword [esp + 0x30], eax
jmp 0x10001462
mov eax, dword [esp + 0x88]
mov ecx, esp
mov dword [ecx + 0xc], 0x6c0
mov dword [ecx + 8], 0x1026a47e
mov dword [ecx + 4], 0x1026a482
mov dword [ecx], 0x3fd
mov ecx, dword [sym.imp.USER32.dll_CharPrevExA]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 0x20], 0x453
mov dword [ecx + 0x1c], 0x866
mov dword [ecx + 0x18], 0xf1a
mov dword [ecx + 0x14], 0x608
mov dword [ecx + 0x10], 0x608
mov dword [ecx + 0xc], 0xf1a
mov dword [ecx + 8], 0x866
mov dword [ecx + 4], 0x19
mov dword [ecx], 0xb74bd3
mov ecx, dword [sym.imp.GDI32.dll_ArcTo]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0x24
mov ecx, dword [esp + 0x2c]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], ecx
je 0x10001442
jmp 0x10001706
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret