Function at 0x41ba52
Capabilities:
Create pipe
Get common file path
Get hostname
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c88
call fcn.0040e160
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0xc6ef3720
mov dword [ebp - 0x28], 0x9e3779b9
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [0x43a9cc], 0x60b
jne 0x41badb
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x423c40
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
and dword [ebp - 4], 0
jmp 0x41bae8
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jae 0x41bd23
mov dword [ebp - 0x38], 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
shl eax, cl
mov dword [ebp - 0x1c], eax
cmp dword [0x43a9cc], 0xe
jne 0x41bb2c
and dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
lea eax, [ebp - 0x840]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 5
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
shr eax, cl
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov dword [0x439d0c], 0xfe156164
mov eax, dword [ebp - 0x10]
add dword [0x439d0c], 0x1ea9e9c
add dword [0x439d0c], eax
cmp dword [0x43a9cc], 0x36
jne 0x41bb9f
push 0
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.0041b7f2
and dword [0x439d0c], 0
mov eax, dword [ebp - 0x14]
add dword [0x439d0c], eax
push dword [0x439d0c]
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
call fcn.0041b806
cmp dword [0x43a9cc], 0x5ba
jne 0x41bbfa
and dword [ebp - 0xc54], 0
xor eax, eax
lea edi, [ebp - 0xc50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
cmp dword [0x43a9cc], 0x839
jne 0x41bc83
lea eax, [ebp - 0x105c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
and dword [ebp - 0x207c], 0
xor eax, eax
lea edi, [ebp - 0x2078]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x207c]
push eax
lea eax, [ebp - 0x1c64]
push eax
push 0
lea eax, [ebp - 0x1058]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
lea eax, [ebp - 0x2068]
push eax
push 0
push 0x423c80
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
push 0
lea eax, [ebp - 0x1c60]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 0x1c], eax
cmp dword [0x43a9cc], 0x78c
jne 0x41bcae
lea eax, [ebp - 0x2884]
push eax
lea eax, [ebp - 0x2880]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
cmp dword [0x43a9cc], 0x196
jne 0x41bcd7
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x439d10], 0xcbd61084
or dword [0x439d14], 0xffffffff
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x30], eax
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
call fcn.0041b818
jmp 0x41bae1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], ecx
cmp dword [0x43a9cc], 0x107
jne 0x41bd51
push 0
lea eax, [ebp - 0x2c88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameA]
pop edi
leave
ret 8