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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3470
call fcn.004110a0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0xc6ef3720
mov dword [ebp - 0x28], 0x9e3779b9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x20], edx
cmp dword [0x43b74c], 0x60b
jne 0x41cf48
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x424c58
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
mov dword [ebp - 4], 0
jmp 0x41cf5a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jae 0x41d189
mov dword [ebp - 0x38], 4
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
shl edx, cl
mov dword [ebp - 0x1c], edx
cmp dword [0x43b74c], 0xe
jne 0x41cfa1
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeaps]
push 0
lea ecx, [ebp - 0x840]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 5
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
shr edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x14], eax
mov dword [0x43aa8c], 0xfe156164
mov eax, dword [ebp - 0x10]
add dword [0x43aa8c], 0x1ea9e9c
add dword [0x43aa8c], eax
cmp dword [0x43b74c], 0x36
jne 0x41d014
push 0
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetSystemTimeAdjustment]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.0041cc20
mov dword [0x43aa8c], 0
mov eax, dword [ebp - 0x14]
add dword [0x43aa8c], eax
mov eax, dword [0x43aa8c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.0041cc40
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
cmp dword [0x43b74c], 0x839
jne 0x41d0e5
lea eax, [ebp - 0x1444]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
mov dword [ebp - 0x2464], 0
xor ecx, ecx
mov dword [ebp - 0x2460], ecx
mov dword [ebp - 0x245c], ecx
mov dword [ebp - 0x2458], ecx
mov dword [ebp - 0x2454], ecx
lea edx, [ebp - 0x2464]
push edx
lea eax, [ebp - 0x204c]
push eax
push 0
lea ecx, [ebp - 0x1440]
push ecx
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 edx, [ebp - 0x2450]
push edx
push 0
push 0x424c78
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
push 0
lea eax, [ebp - 0x2048]
push eax
push 0
call sub.KERNEL32.dll_VerLanguageNameW
mov ecx, dword [ebp - 0xc]
shl ecx, 4
mov dword [ebp - 0x1c], ecx
cmp dword [0x43b74c], 0x78c
jne 0x41d110
lea edx, [ebp - 0x2c6c]
push edx
lea eax, [ebp - 0x2c68]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov eax, dword [ebp - 8]
add dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ecx
cmp dword [0x43b74c], 0x196
jne 0x41d139
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x43aa90], 0xcbd61084
mov dword [0x43aa94], 0xffffffff
mov edx, dword [ebp - 0xc]
shr edx, 5
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.0041cc60
jmp 0x41cf51
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
cmp dword [0x43b74c], 0x107
jne 0x41d1b7
push 0
lea eax, [ebp - 0x3470]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetAtomNameW]
mov esp, ebp
pop ebp
ret 8