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

Disassembly:
push ebp
mov ebp, esp
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 + 0xc8], 0xfb3
mov ecx, esp
lea edx, [esp + 0xc8]
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
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x158]
lea esi, [esp + 0x188]
lea edi, [esp + 0x110]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb0], esi
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], ecx
xor eax, eax
mov dword [esp + 0xa4], eax
jmp 0x100013ea
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xcc], 0xbc1
mov dword [esp + 0x150], 0x650
mov ecx, esp
lea edx, [esp + 0x150]
mov dword [ecx + 0xc], edx
lea edx, [esp + 0xcc]
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 + 0xa0], 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 + 0x9c], eax
call ecx
sub esp, 8
xor ecx, ecx
mov edx, 0x3c
mov esi, dword [esp + 0xac]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x3c
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
call fcn.1015b4f0
mov eax, esp
lea ecx, [esp + 0x110]
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 + 0x8c], eax
call ecx
sub esp, 8
xor ecx, ecx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
jmp 0x10001638
mov eax, esp
mov dword [eax], 0x9e8c47
mov eax, dword [sym.imp.KERNEL32.dll_ResetEvent]
call eax
sub esp, 4
mov dword [esp + 0x80], eax
jmp 0x1000169b
xor eax, eax
mov ecx, 0xc
mov edx, 0xa68c22
mov esi, 0xde1de3
mov dword [esp + 0x184], esi
mov dword [esp + 0x154], edx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0xc
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ecx
call fcn.1015b4f0
mov eax, esp
lea ecx, [esp + 0x188]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x154]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x184]
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 + 0x74], eax
jmp 0x100015c7
xor eax, eax
xor ecx, ecx
mov edx, dword [esp + 0xa0]
sub edx, 0xb
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
je 0x1000169b
jmp 0x100015a6
mov eax, dword [esp + 0xa0]
sub eax, 0x24
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x60], ecx
je 0x100014ea
jmp 0x100016f2
xor eax, eax
mov ecx, 0x2c
mov edx, dword [esp + 0xb4]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x2c
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
call fcn.1015b4f0
mov eax, esp
lea ecx, [esp + 0x158]
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 + 0xd0]
mov dword [ecx + 4], edx
mov dword [ecx], 0xdd30ca
mov ecx, dword [sym.imp.USER32.dll_EndPaint]
mov dword [esp + 0x54], eax
call ecx
sub esp, 8
mov dword [esp + 0x50], eax
jmp 0x1000167e
mov eax, dword [esp + 0x84]
mov ecx, 0xaaaaaaab
mov dword [esp + 0x4c], eax
mul ecx
shr edx, 3
imul eax, edx, 0xc
mov ecx, dword [esp + 0x4c]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
je 0x10001508
jmp 0x1000166b
mov eax, dword [esp + 0x48]
sub eax, 8
mov dword [esp + 0x40], eax
je 0x100015c7
jmp 0x1000167e
mov eax, dword [esp + 0x4c]
add eax, 1
cmp eax, 0x14c
mov dword [esp + 0x84], eax
je 0x10001584
jmp 0x10001638
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], 0x1021db58
mov ecx, dword [sym.imp.KERNEL32.dll_WinExec]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0xb736e3
mov ecx, dword [sym.imp.GDI32.dll_EndPath]
mov dword [esp + 0x38], eax
call ecx
sub esp, 4
mov dword [esp + 0x34], eax
jmp 0x1000178f
mov eax, dword [esp + 0x60]
mov ecx, esp
mov dword [ecx + 0xc], 0x6c0
mov dword [ecx + 8], 0x1021db5c
mov dword [ecx + 4], 0x1021db60
mov dword [ecx], 0x3fd
mov ecx, dword [sym.imp.USER32.dll_CharPrevExA]
mov dword [esp + 0x30], 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 + 0x2c], eax
call ecx
sub esp, 0x24
mov ecx, dword [esp + 0x30]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], ecx
jne 0x100016f2
mov eax, dword [esp + 0xa0]
add eax, 1
cmp eax, 0x6c
mov dword [esp + 0xa4], eax
jne 0x100013ea
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret