Function at 0x4714e0
Capabilities:
Encode data using xor
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5111bc
mov eax, dword fs:[0]
push eax
sub esp, 0x528
mov eax, dword [0x55300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x504], edx
mov dword [ebp - 0x518], ecx
mov esi, dword [ebp + 8]
push 0
push str..pipe5485E7A4_E975_40DC_86A4_D11465CB0F3D
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x471be7
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push str..pipe5485E7A4_E975_40DC_86A4_D11465CB0F3D
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x514], edi
cmp edi, 0xffffffff
je 0x471be7
mov dword [ebp - 0x478], 0
push 0x400
push ecx
lea ecx, [ebp - 0x474]
mov dword [ebp - 4], 0
call fcn.004103c0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x478], 3
movq qword [ebp - 0x484], xmm0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x4e8], eax
mov dword [ebp - 0x448], 3
movq qword [ebp - 0x454], xmm0
mov dword [ebp - 0x44c], 0
mov ecx, dword [ebp - 0x518]
mov byte [ebp - 4], 2
cmp dword [ecx + 0x14], 0x10
jb 0x4715f9
mov ecx, dword [ecx]
push eax
push ecx
push str.exefile
lea ecx, [ebp - 0x454]
call fcn.00472120
mov eax, dword [ebp - 0x504]
cmp dword [eax + 0x14], 0x10
jb 0x471619
mov eax, dword [eax]
push dword [ebp - 0x4e8]
lea ecx, [ebp - 0x454]
push eax
push str.param
call fcn.00472120
cmp dword [esi + 0x14], 0x10
jb 0x471638
mov esi, dword [esi]
push dword [ebp - 0x4e8]
lea ecx, [ebp - 0x454]
push esi
push str.currentdir
call fcn.00472120
mov eax, str.normal
inc eax
cmp byte [eax], 0
jne 0x471654
mov esi, dword [ebp - 0x4e8]
lea ecx, [ebp - 0x454]
sub eax, str.normal
mov dword [ebp - 0x504], 0x100005
mov dword [ebp - 0x50c], eax
lea eax, [ebp - 0x424]
push esi
push eax
lea eax, [ebp - 0x510]
mov dword [ebp - 0x510], str.normal
push eax
mov dword [ebp - 0x418], 0x102
call fcn.00472000
mov eax, str.Execute
inc eax
cmp byte [eax], 0
jne 0x4716a8
sub eax, str.Execute
mov dword [ebp - 0x504], 0x100005
mov dword [ebp - 0x50c], eax
lea ecx, [ebp - 0x484]
push esi
lea eax, [ebp - 0x454]
mov dword [ebp - 0x510], str.Execute
push eax
lea eax, [ebp - 0x510]
push eax
call fcn.00472000
xorps xmm0, xmm0
mov dword [ebp - 0x4f0], 0
push 1
movups xmmword [ebp - 0x500], xmm0
mov dword [ebp - 0x4ec], 0x100
call fcn.00482265
push dword [ebp - 0x4ec]
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], eax
call fcn.004c03e0
mov ecx, dword [ebp - 0x4ec]
add esp, 8
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], eax
add eax, ecx
mov dword [ebp - 0x4f0], eax
push 0x100
lea eax, [ebp - 0x500]
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x534], eax
call fcn.004103c0
lea eax, [ebp - 0x534]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x484]
call fcn.004721d0
mov edx, dword [ebp - 0x4f4]
lea eax, [edx + 1]
cmp eax, dword [ebp - 0x4f0]
jb 0x4717cc
mov ecx, dword [ebp - 0x4f8]
sub edx, ecx
mov eax, dword [ebp - 0x4ec]
add eax, eax
mov dword [ebp - 0x504], edx
lea esi, [edx + 1]
cmp eax, esi
cmovae esi, eax
push esi
push ecx
call fcn.004d21b4
mov edx, dword [ebp - 0x504]
add esp, 8
mov dword [ebp - 0x4f8], eax
add edx, eax
add eax, esi
mov dword [ebp - 0x4ec], esi
mov dword [ebp - 0x4f0], eax
lea eax, [edx + 1]
mov dword [ebp - 0x4f4], eax
mov byte [edx], 0
mov edx, dword [ebp - 0x4f8]
mov ecx, edx
dec dword [ebp - 0x4f4]
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x400], 0xf
mov byte [ebp - 0x414], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x471804
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x414]
call fcn.00406070
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x42c]
mov eax, dword [ebp - 0x404]
cmp dword [ebp - 0x400], 0x10
mov dword [ebp - 0x4e8], eax
lea eax, [ebp - 0x414]
cmovae eax, dword [ebp - 0x414]
push 0xa
push str.N1xU1mUxmp
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
call fcn.00406070
mov ecx, dword [ebp - 0x42c]
xor edx, edx
xor esi, esi
cmp dword [ebp - 0x4e8], edx
jle 0x4718c8
mov edi, dword [ebp - 0x418]
nop dword [eax]
cmp edi, 0x10
lea eax, [ebp - 0x42c]
mov edi, dword [ebp - 0x504]
cmovae eax, ecx
mov al, byte [eax + edx]
xor byte [esi + edi], al
lea eax, [edx + 1]
mov edi, dword [ebp - 0x418]
xor edx, edx
div dword [ebp - 0x41c]
inc esi
cmp esi, dword [ebp - 0x4e8]
jl 0x471890
mov edi, dword [ebp - 0x514]
mov eax, dword [ebp - 0x418]
cmp eax, 0x10
jb 0x4718fe
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4718f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471c05
push edx
push ecx
call fcn.00481e07
add esp, 8
push 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4e8]
cmp dword [ebp - 0x400], 0x10
lea eax, [ebp - 0x414]
push ecx
push dword [ebp - 0x404]
cmovae eax, dword [ebp - 0x414]
push eax
push edi
mov dword [ebp - 0x4e8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x471b5a
push 0x3e8
lea eax, [ebp - 0x3fc]
push 0
push eax
call fcn.004b62b0
add esp, 0xc
lea eax, [ebp - 0x4e8]
push 0
push eax
push 0x3e8
lea eax, [ebp - 0x3fc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x471b5a
sub esp, 8
lea ecx, [ebp - 0x444]
call fcn.00471d60
push 0x100
mov byte [ebp - 4], 7
lea eax, [ebp - 0x3fc]
push ecx
lea ecx, [ebp - 0x4e4]
mov dword [ebp - 0x508], eax
mov dword [ebp - 0x504], eax
mov dword [ebp - 0x438], 0
call fcn.004103c0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x488], 0
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x4e4]
call fcn.00473e60
test al, al
je 0x471a23
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
mov dword [ebp - 0x428], eax
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x444], xmm0
mov dword [eax + 0xc], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0
jmp 0x471a47
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x488]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x428], eax
lea ecx, [ebp - 0x4e4]
call fcn.0040e460
cmp dword [ebp - 0x438], 0
je 0x471b41
push ecx
lea ecx, [ebp - 0x444]
call fcn.00471f50
test eax, eax
je 0x471b41
push ecx
lea ecx, [ebp - 0x444]
call fcn.00471e40
mov eax, dword [eax + 0xc]
shr eax, 0xa
test al, 1
je 0x471b41
push ecx
lea ecx, [ebp - 0x444]
call fcn.00471e40
cmp dword [eax], 0
jne 0x471b41
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x434]
call fcn.0040e460
mov edx, dword [ebp - 0x400]
cmp edx, 0x10
jb 0x471aee
mov ecx, dword [ebp - 0x414]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471ae4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471c0a
push edx
push ecx
call fcn.00481e07
add esp, 8
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x400], 0xf
mov byte [ebp - 0x414], 0
call fcn.0040e460
push dword [ebp - 0x4f8]
call fcn.004bffbc
push 1
push dword [ebp - 0x4fc]
call fcn.00481e07
add esp, 0xc
lea ecx, [ebp - 0x474]
call fcn.0040e460
mov al, 1
jmp 0x471be9
lea ecx, [ebp - 0x434]
call fcn.0040e460
jmp 0x471b5a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x400]
cmp edx, 0x10
jb 0x471b9b
mov ecx, dword [ebp - 0x414]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x471b91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471c0f
push edx
push ecx
call fcn.00481e07
add esp, 8
lea ecx, [ebp - 0x530]
mov dword [ebp - 0x404], 0
mov dword [ebp - 0x400], 0xf
mov byte [ebp - 0x414], 0
call fcn.0040e460
push dword [ebp - 0x4f8]
call fcn.004bffbc
push 1
push dword [ebp - 0x4fc]
call fcn.00481e07
add esp, 0xc
lea ecx, [ebp - 0x474]
call fcn.0040e460
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00482225
mov esp, ebp
pop ebp
ret
call fcn.004c022b
call fcn.004c022b
call fcn.004c022b
int3