Function at 0x100224e4
Capabilities:
Connect pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100696a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10022550
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
movzx eax, byte [eax]
test eax, eax
je 0x10022541
mov byte [ebp - 0xe], 0
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x1002253f
push 0xc92
push 0
push 0
push 0
push 0
push 0x1bf5
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1002254b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x1002291f
lea eax, [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x100225d8
mov dword [ebp - 0x20], 1
mov dword [ebp - 0xc0], 0xe8384627
mov dword [ebp - 0x34], 0
jmp 0x10022596
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x100225ac
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xd0], 0xffffffff
jmp 0x1002258f
mov dword [ebp - 0x20], 0
jmp 0x100225bc
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jg 0x100225d3
mov eax, dword [ebp - 0x20]
cmp dword [ebp + eax*4 - 0xd0], 0
je 0x100225d1
jmp 0x100225d3
jmp 0x100225b5
jmp 0x1002291f
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x80], 0x23d3
cmp dword [ebp - 0x80], 0x490
jge 0x10022849
lea eax, [ebp - 0x38]
push eax
push 0x1000b178
call fcn.1004e0eb
pop ecx
pop ecx
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x6c], 0
je 0x10022849
lea eax, [ebp - 0x18]
push eax
push 0x1000b178
call fcn.1004e0eb
pop ecx
pop ecx
and dword [ebp - 0x84], 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
lea ecx, [ebp - 0xa0]
call fcn.1002e42e
and dword [ebp - 4], 0
mov dword [ebp - 0x28], 1
jmp 0x10022661
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jg 0x10022686
push dword [ebp - 0x28]
lea ecx, [ebp - 0xa0]
call fcn.1000f22e
push eax
push 0x1000b178
call fcn.1004e0eb
pop ecx
pop ecx
jmp 0x1002265a
mov byte [ebp - 0xd], 0
lea eax, [ebp - 0xd]
push eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
lea ecx, [ebp - 0xbc]
call fcn.1002e689
mov byte [ebp - 4], 1
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x18]
inc eax
push eax
lea ecx, [ebp - 0xac]
call fcn.1002e42e
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 1
jmp 0x100226ce
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jg 0x100227d6
push dword [ebp - 0x1c]
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1002e70a
mov ecx, eax
call fcn.1002e74e
movzx eax, al
test eax, eax
je 0x100226ff
jmp 0x100226c7
lea ecx, [ebp - 0x90]
call fcn.1002e421
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
lea eax, [ebp - 0xe0]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1002e70a
mov ecx, eax
call fcn.1002e74e
movzx eax, al
test eax, eax
jne 0x10022779
push 1
push dword [ebp - 0x24]
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xbc]
call fcn.1002e70a
mov ecx, eax
call fcn.1002e729
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x90]
call fcn.1002e551
push dword [ebp - 0x24]
lea ecx, [ebp - 0xa0]
call fcn.1000f22e
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
jmp 0x10022714
and dword [ebp - 0x2c], 0
jmp 0x10022786
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x90]
call fcn.1002e548
cmp dword [ebp - 0x2c], eax
jae 0x100227c2
lea ecx, [ebp - 0x90]
call fcn.1002e548
mov esi, eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x90]
call fcn.1000f22e
push dword [eax]
lea ecx, [ebp - 0xac]
call fcn.1000f22e
mov dword [eax], esi
jmp 0x1002277f
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.1000f279
jmp 0x100226c7
mov dword [ebp - 0x30], 1
jmp 0x100227e6
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jg 0x1002280c
push dword [ebp - 0x30]
lea ecx, [ebp - 0xac]
call fcn.1000f22e
push dword [eax]
push 0x1000b18c
call fcn.1004e306
pop ecx
pop ecx
jmp 0x100227df
push 0x1000b0e5
call fcn.1004e4c6
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.1000f279
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
call fcn.1002e6ea
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.1000f279
jmp 0x10022608
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x2d9ee1c0
je 0x10022878
mov dword [ebp - 0x3c], 1
jmp 0x1002287c
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10022893
mov eax, 0x8e9646b8
test eax, eax
jne 0x10022893
and dword [ebp - 0x58], 0
jmp 0x1002289a
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x3c], eax
je 0x100228c3
mov dword [ebp - 0x44], 1
jmp 0x100228c7
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
cmp dword [ebp - 0x44], eax
jl 0x100228da
mov dword [ebp - 0x4c], 1
jmp 0x100228de
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x4c]
test eax, eax
je 0x100228fc
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x100228fc
mov dword [ebp - 0x48], 1
jmp 0x10022900
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, dword [ebp - 0x48]
jne 0x10022913
mov dword [ebp - 0x50], 1
jmp 0x10022917
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret