Function at 0x41eb00
Capabilities:
Delete file
Get socket status
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
mov eax, dword [0x456d10]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [0x458e64]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x530], eax
mov eax, dword [ebp + 0x14]
lea ecx, [esi + 1]
mov dword [ebp - 0x534], edi
mov dword [ebp - 0x524], eax
mov dword [ebp - 0x520], 0
mov byte [ebp - 0x519], 0xc
jmp 0x41eb50
mov al, byte [esi]
inc esi
test al, al
jne 0x41eb50
sub esi, ecx
mov ecx, dword [0x458f6c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41eb62
push edi
push dword [0x458e58]
lea eax, [ebp - 0x108]
sub ecx, edx
push str._s_s
push eax
mov dword [ebp - 0x52c], ecx
xor ebx, ebx
call fcn.00404cf0
add esp, 0x10
lea eax, [ebp - 0x108]
push ebx
push 0x8000000
push 3
push ebx
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41ebed
inc ebx
cmp ebx, 0xa
jae 0x41ee59
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x8000000
push 3
push 0
push 1
push accept
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x41ebb2
push 0x201
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp dword [0x458de0], 6
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x528], eax
jne 0x41ec60
push 0x4550c8
push dword [ebp - 0x524]
push str.PRAGMA_PRINT_PORT
push 0x4550b0
push str._s_s_s_s
push 0x201
push eax
call fcn.004268c3
mov edx, dword [ebp - 0x528]
add esp, 0x1c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x524], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ec45
sub ecx, dword [ebp - 0x524]
push 0
push ecx
push edx
push ebx
call dword [0x458f80]
add esp, 0x10
push 0
push esi
push dword [0x458e64]
push ebx
call dword [0x458f80]
mov esi, dword [ebp - 0x528]
lea eax, [ebp - 0x520]
add esp, 0x10
push 0
push eax
push 0x200
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41ed98
jmp 0x41eca0
cmp dword [ebp - 0x520], 0
jbe 0x41ed98
push 0x32
push dword [0x458f74]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push dword [ebp - 0x520]
push esi
push ebx
call dword [0x458f80]
push str.telPrintFile_select_n
push 4
mov dword [ebp - 0x53c], 0
mov dword [ebp - 0x538], 0
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x518], 0
call fcn.0041a380
add esp, 0x18
lea eax, [ebp - 0x53c]
push eax
lea eax, [ebp - 0x518]
push eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
push 0x10
call sub.WS2_32.dll_select
push eax
push str.telPrintFile_select___d_n
push 4
call fcn.0041a380
add esp, 0xc
lea eax, [ebp - 0x310]
push eax
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x41ed7a
push 0
push 1
lea eax, [ebp - 0x51a]
push eax
push ebx
call fcn.0041a780
push eax
push str.PragmaReceiveBytes_recv___d_n
push 4
call fcn.0041a380
add esp, 0x1c
cmp byte [ebp - 0x51a], 3
je 0x41edc3
push 0
lea eax, [ebp - 0x520]
push eax
push 0x200
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41eca0
mov eax, dword [ebp - 0x530]
test eax, eax
je 0x41edc3
push eax
call fcn.0042779b
push 0
mov byte [ebp - 0x519], al
lea eax, [ebp - 0x519]
push 1
push eax
push ebx
call dword [0x458f80]
add esp, 0x14
push 0
push dword [ebp - 0x52c]
push dword [0x458f6c]
push ebx
call dword [0x458f80]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x458e5c]
test eax, eax
je 0x41ee39
push 0x44e928
push eax
call fcn.004266cb
add esp, 8
test eax, eax
jne 0x41ee39
mov eax, dword [0x458e60]
test eax, eax
je 0x41ee39
push dword [ebp - 0x534]
push eax
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.00404cf0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x41ee46
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265fb
mov esp, ebp
pop ebp
ret
cmp edi, 0xffffffff
je 0x41ee46
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004265fb
mov esp, ebp
pop ebp
ret