Function at 0x4a3be0
Capabilities:
Create pipe
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x519dab
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x124], eax
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14c]
mov edi, dword [esp + 0x148]
push 0
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
mov dword [esp + 0x2c], eax
push edx
lea eax, [esp + 0x28]
mov ebp, 1
push eax
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4a3c86
call fcn.0042fd50
cmp dword [eax], ebp
jl 0x4a3c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CNetServerConn::ConsolCommand.._CreatePipe_Fail_err__d__n
push 0
call fcn.00430060
add esp, 0xc
xor eax, eax
jmp 0x4a3e1c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push eax
push edx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x4a3cd2
call fcn.0042fd50
cmp dword [eax], ebp
jl 0x4a3c7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CNetServerConn::ConsolCommand.._DuplicateHandle_Fail_err__d__n
push 0
call fcn.00430060
add esp, 0xc
xor eax, eax
jmp 0x4a3e1c
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x20]
push edi
push ecx
call fcn.004a3200
test eax, eax
jne 0x4a3d10
call fcn.0042fd50
cmp dword [eax], ebp
jl 0x4a3c7f
mov edx, dword [edi]
push edx
push str.CNetServerConn::ConsolCommand.._DuplicateHandle_Fail_sCmd__s__n
push 0
call fcn.00430060
add esp, 0xc
xor eax, eax
jmp 0x4a3e1c
mov eax, dword [esp + 0x20]
push eax
call esi
push 9
call fcn.004d37a6
mov esi, eax
add esi, 8
mov dword [esi - 8], ebp
mov byte [esi], 0
mov dword [esp + 0x18], esi
mov dword [esi - 4], 0
push 0xff
lea ecx, [esp + 0x3c]
push 0
push ecx
mov dword [esp + 0x150], 0
call fcn.004f5b00
mov ecx, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_ReadFile]
add esp, 0x10
push 0
lea edx, [esp + 0x14]
push edx
push 0xfe
lea eax, [esp + 0x40]
push eax
push ecx
call ebp
cmp dword [esp + 0x10], 0
je 0x4a3dfb
lea esp, [esp]
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4a3d87
sub eax, edx
mov edi, eax
push edi
lea ecx, [esp + 0x18]
call fcn.0040fcd0
test eax, eax
mov esi, dword [esp + 0x14]
je 0x4a3dc8
test esi, esi
je 0x4a3daf
mov eax, dword [esi - 4]
jmp 0x4a3db1
xor eax, eax
lea edx, [esp + 0x34]
push edx
lea ecx, [edi + 1]
push ecx
add eax, esi
push eax
call fcn.004f299b
add esp, 0xc
add dword [esi - 4], edi
push 0xff
lea edx, [esp + 0x38]
push 0
push edx
call fcn.004f5b00
mov edx, dword [esp + 0x24]
add esp, 0xc
push 0
lea eax, [esp + 0x14]
push eax
push 0xfe
lea ecx, [esp + 0x40]
push ecx
push edx
call ebp
cmp dword [esp + 0x10], 0
jne 0x4a3d80
mov ecx, dword [esp + 0x24]
push 0xffffffffffffffff
push esi
call fcn.0040efb0
test esi, esi
je 0x4a3e17
add esi, 0xfffffff8
push esi
call fcn.004d37ab
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x134
ret 8