Function at 0x1002f842
Capabilities:
Accept command line arguments
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10066f60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1002f87f
push 1
push 0x21db
push 0x5305
call fcn.1002faf0
add esp, 0xc
jmp 0x1002fae1
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x40], 9
mov byte [ebp - 0xd], 0
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x1002f8a3
push 0xf25
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002f8ee
push 0x18b
push 0x91b
push 0x1fae
push 0
push 0x1b8f
push 0xd7
push 0x102e
push 0xf6f
push 0x20e1
push 0x2237
push 0xfee
push 0xa63
call dword [sym.imp.GDI32.dll_MaskBlt]
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x1002facb
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], 0xfffffffb
mov dword [ebp - 0x14], 0xffffffe2
jmp 0x1002f91a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff6
jne 0x1002fa90
push 1
lea ecx, [ebp - 0x50]
call fcn.100132fd
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
jmp 0x1002f942
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x1002f95b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
call fcn.10013375
mov dword [eax], 4
jmp 0x1002f93b
mov dword [ebp - 0x18], 0
jmp 0x1002f96b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x1002f97e
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x5c], 0xfffffff8
jmp 0x1002f964
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp - 0x14], 0
jne 0x1002fa26
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], eax
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
mov esi, eax
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
mov esi, dword [esi]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
cmp esi, dword [eax]
jl 0x1002f9d0
mov dword [ebp - 0x20], 1
jmp 0x1002f9d4
and dword [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jle 0x1002f9ee
mov dword [ebp - 0x3c], 1
jmp 0x1002f9f2
and dword [ebp - 0x3c], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], eax
jle 0x1002fa0d
mov dword [ebp - 0x24], 1
jmp 0x1002fa11
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x1002fa26
mov dword [ebp - 0x28], 1
jmp 0x1002fa2a
and dword [ebp - 0x28], 0
push 0
lea ecx, [ebp - 0x50]
call fcn.10013375
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x1002fa44
mov dword [ebp - 0x2c], 1
jmp 0x1002fa48
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x2c], eax
jge 0x1002fa59
mov dword [ebp - 0x30], 1
jmp 0x1002fa5d
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0xe327
jl 0x1002fa6f
mov dword [ebp - 0x34], 1
jmp 0x1002fa73
and dword [ebp - 0x34], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x34]
mov dword [ebp + eax - 0x5c], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10013359
jmp 0x1002f913
mov dword [ebp - 0x14], 0
jmp 0x1002faa0
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x13
jne 0x1002fabf
mov byte [ebp - 0xf], 0
movzx eax, byte [ebp - 0xf]
test eax, eax
je 0x1002fabd
push 0xeeb
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
jmp 0x1002fa99
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x1002fae1
mov byte [ebp - 0x10], 0
movzx eax, byte [ebp - 0x10]
test eax, eax
je 0x1002fae1
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret