Function at 0x5c5780
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68b53b
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x746694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0
call fcn.005c40e0
mov ecx, accept
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 9
jb 0x5c5a5b
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5c57e1
mov ecx, dword [eax]
push edx
push ecx
push 9
push str..pipe_
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.005b3730
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005be920
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 0x10
jb 0x5c583a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c5830
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c5a60
push edx
push ecx
call fcn.0065d157
add esp, 8
mov edi, dword [ebp - 0x50]
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x5c5878
push 0
lea eax, [ebp - 0x48]
push eax
push 0x12
push str.__quit_application
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x100001
call fcn.005c3970
push eax
call fcn.005c5360
mov esi, eax
add esp, 8
test esi, esi
je 0x5c598b
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5c5a2b
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x5c5997
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5c598b
cmp eax, 0x102
je 0x5c595a
cmp eax, 0xffffffff
je 0x5c5910
push 0x21
push str.WaitForSingleObject_unknown_error
mov ecx, 0x7460c8
call fcn.004484a0
push 0x100001
call fcn.005c3970
push eax
call fcn.005c5360
add esp, 8
test eax, eax
sete byte [ebp - 0x41]
mov al, byte [ebp - 0x41]
jmp 0x5c5a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c0b70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x40]
push str.WaitForSingleObject_failed:
push eax
call fcn.005a1e50
add esp, 0x14
mov ecx, 0x7460c8
push eax
call fcn.005a3660
lea ecx, [ebp - 0x40]
call fcn.00448860
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00448860
jmp 0x5c58ef
push 0x1d
push str.WaitForSingleObject_timed_out
mov ecx, 0x7460c8
call fcn.004484a0
push 0x100001
call fcn.005c3970
push eax
call fcn.005c5360
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0x41], al
jmp 0x5c5a30
mov byte [ebp - 0x41], 1
mov al, byte [ebp - 0x41]
jmp 0x5c5a30
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005c0b70
add esp, 8
push 0x19
push str.TerminateProcess_failed:
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.005a5ba0
mov ecx, 0x7460c8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.005a3660
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x5c5a1f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5c5a15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5c5a65
push edx
push ecx
call fcn.0065d157
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00448860
xor al, al
jmp 0x5c5a2d
mov al, 1
mov byte [ebp - 0x41], al
test edi, edi
je 0x5c5a40
push edi
call fcn.00663ce7
mov al, byte [ebp - 0x41]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0065d16a
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.00663c8b
call fcn.00663c8b
int3