Function at 0x5ceb40
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68bd32
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x745694]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
call fcn.005c3b70
mov ecx, accept
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 0xb
jb 0x5ceedd
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x5cebad
mov ecx, dword [eax]
push 0xb
push str._tmp__d.tmp
push edx
push ecx
push eax
push dword [ebp - 0x438]
lea ecx, [ebp - 0x410]
call fcn.005b3710
cmp dword [ebp - 0x3fc], 0x10
lea esi, [ebp - 0x410]
cmovae esi, dword [ebp - 0x410]
call fcn.0066862d
push eax
lea eax, [ebp - 0x3f8]
push esi
push eax
call fcn.00517070
mov edx, dword [ebp - 0x3fc]
add esp, 0xc
cmp edx, 0x10
jb 0x5cec2c
mov ecx, dword [ebp - 0x410]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cec22
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ceee2
push edx
push ecx
call fcn.0065cc27
add esp, 8
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x400], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3fc], 0xf
mov byte [ebp - 0x410], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5cec60
sub ecx, edx
lea eax, [ebp - 0x3f8]
push ecx
push eax
lea ecx, [ebp - 0x410]
call fcn.004484a0
cmp dword [edi + 0x14], 0x10
mov eax, edi
mov byte [ebp - 4], 1
jb 0x5cec8a
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x410]
push eax
push 0
call fcn.005a5ba0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x428], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x418], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.005be590
mov edx, dword [ebp - 0x414]
add esp, 8
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x5ced39
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ced2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ceee7
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov edx, dword [ebp - 0x3fc]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x5ced92
mov ecx, dword [ebp - 0x410]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5ced88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ceee7
push edx
push ecx
call fcn.0065cc27
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5cee24
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005c07e0
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, 0x7450c8
push eax
call fcn.005a3660
mov edx, dword [ebp - 0x3fc]
cmp edx, 0x10
jb 0x5cee18
mov ecx, dword [ebp - 0x410]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5cee0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5ceeec
push edx
push ecx
call fcn.0065cc27
add esp, 8
mov byte [ebp - 0x429], 0
jmp 0x5ceea9
push 0
lea eax, [ebp - 0x438]
push eax
push 9
push str.test_data
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5cee4f
cmp dword [ebp - 0x438], 9
mov byte [ebp - 0x429], 1
je 0x5cee88
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.005c07e0
add esp, 8
lea eax, [ebp - 0x410]
mov ecx, 0x7450c8
push eax
call fcn.005a3660
lea ecx, [ebp - 0x410]
call fcn.00448860
mov byte [ebp - 0x429], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x434]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
test eax, eax
jne 0x5ceea9
push dword [ebp - 0x434]
call esi
mov eax, dword [ebp - 0x434]
test eax, eax
je 0x5ceebc
push eax
call fcn.006637b7
add esp, 4
mov al, byte [ebp - 0x429]
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.0065cc3a
mov esp, ebp
pop ebp
ret
call fcn.00446f60
call fcn.0066375b
call fcn.0066375b
call fcn.0066375b
int3