Function at 0x10001327
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, 0x1a0
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 + 0x198], 0xfb3
mov ecx, esp
lea edx, [esp + 0x198]
mov dword [ecx + 4], edx
mov dword [ecx], 0xc6b042
mov ecx, dword [sym.imp.KERNEL32.dll_GetCommModemStatus]
mov dword [esp + 0xc4], 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 + 0xc0], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x480385
mov ecx, dword [sym.imp.KERNEL32.dll_PulseEvent]
mov dword [esp + 0xbc], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xc8]
lea esi, [esp + 0x108]
lea edi, [esp + 0x138]
lea ebx, [esp + 0x150]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ecx
jmp 0x1000161b
xor eax, eax
mov ecx, 0xc
mov edx, 0xa68c22
mov esi, 0xde1de3
mov dword [esp + 0x14c], esi
mov dword [esp + 0x148], edx
mov edx, dword [esp + 0xac]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], ecx
call fcn.10197410
mov eax, esp
lea ecx, [esp + 0x138]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x148]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x14c]
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 + 0x98], eax
jmp 0x1000159f
mov eax, dword [esp + 0x94]
mov ecx, esp
mov dword [ecx + 0xc], 0x6c0
mov dword [ecx + 8], 0x1027bc5a
mov dword [ecx + 4], 0x1027bc5e
mov dword [ecx], 0x3fd
mov ecx, dword [sym.imp.USER32.dll_CharPrevExA]
mov dword [esp + 0x90], 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 + 0x8c], eax
call ecx
sub esp, 0x24
mov ecx, dword [esp + 0x90]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x88], eax
mov dword [esp + 0x94], ecx
je 0x100017ad
jmp 0x1000148e
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], 0x1027bc56
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 0x100017ad
xor eax, eax
mov ecx, 0x2c
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
call fcn.10197410
mov eax, esp
lea ecx, [esp + 0x108]
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 + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0xdd30ca
mov ecx, dword [sym.imp.USER32.dll_EndPaint]
mov dword [esp + 0x70], eax
call ecx
sub esp, 8
mov dword [esp + 0x6c], eax
jmp 0x10001741
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x194], 0xbc1
mov dword [esp + 0x190], 0x650
mov ecx, esp
lea edx, [esp + 0x190]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0x194]
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 + 0x68], 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 + 0x64], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x3c
mov esi, dword [esp + 0xa8]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], edx
call fcn.10197410
mov eax, esp
lea ecx, [esp + 0x150]
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 + 0x54], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x4c]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x48], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
je 0x10001406
jmp 0x1000172e
mov eax, dword [esp + 0x44]
sub eax, 8
mov dword [esp + 0x3c], eax
je 0x1000159f
jmp 0x10001741
mov eax, dword [esp + 0x48]
add eax, 1
cmp eax, 0x14c
mov dword [esp + 0x4c], eax
jne 0x100016fe
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0x68]
sub edx, 0xb
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
je 0x10001542
jmp 0x10001774
mov eax, dword [esp + 0x68]
sub eax, 0x24
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x94], ecx
jne 0x1000148e
jmp 0x10001792
mov eax, esp
mov dword [eax], 0x9e8c47
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
call eax
sub esp, 4
mov dword [esp + 0x28], eax
jmp 0x10001542
mov eax, dword [esp + 0x68]
add eax, 1
cmp eax, 0x6c
mov dword [esp + 0xa4], eax
je 0x10001613
jmp 0x1000161b