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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x692323
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x74e694]
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.005c8ae0
mov ecx, accept
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 9
jb 0x5ca55b
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5ca2e1
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.005b5360
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c34c0
mov edx, dword [ebp - 0x14]
add esp, 8
cmp edx, 0x10
jb 0x5ca33a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca330
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca560
push edx
push ecx
call fcn.00663ac7
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 0x5ca378
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.005c8370
push eax
call fcn.005c9e60
mov esi, eax
add esp, 8
test esi, esi
je 0x5ca48b
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5ca52b
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x5ca497
push 0x2710
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5ca48b
cmp eax, 0x102
je 0x5ca45a
cmp eax, 0xffffffff
je 0x5ca410
push 0x21
push str.WaitForSingleObject_unknown_error
mov ecx, 0x74e0c8
call fcn.004484a0
push 0x100001
call fcn.005c8370
push eax
call fcn.005c9e60
add esp, 8
test eax, eax
sete byte [ebp - 0x41]
mov al, byte [ebp - 0x41]
jmp 0x5ca530
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005c5710
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, 0x74e0c8
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 0x5ca3ef
push 0x1d
push str.WaitForSingleObject_timed_out
mov ecx, 0x74e0c8
call fcn.004484a0
push 0x100001
call fcn.005c8370
push eax
call fcn.005c9e60
add esp, 8
test eax, eax
sete al
mov byte [ebp - 0x41], al
jmp 0x5ca530
mov byte [ebp - 0x41], 1
mov al, byte [ebp - 0x41]
jmp 0x5ca530
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005c5710
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, 0x74e0c8
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 0x5ca51f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ca515
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ca565
push edx
push ecx
call fcn.00663ac7
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00448860
xor al, al
jmp 0x5ca52d
mov al, 1
mov byte [ebp - 0x41], al
test edi, edi
je 0x5ca540
push edi
call fcn.0066a657
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.00663ada
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.0066a5fb
call fcn.0066a5fb
int3