Function at 0x10011c70
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10063058]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10
mov esi, ecx
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov ebx, eax
mov dword [ebp - 0x2c], eax
test ebx, ebx
je 0x10011cc1
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
xorps xmm0, xmm0
push 0
movups xmmword [ebx], xmm0
push esi
mov dword [ebx], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 4], eax
jmp 0x10011cc6
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10011d64
push eax
call fcn.1002e3d0
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
je 0x10011d64
push edi
push dword [ebp - 0x20]
push dword [ebp - 0xc]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x10011d5b
add edi, 0x30
mov ecx, dword [edi]
mov eax, str.image_jpeg
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10011d46
test dx, dx
je 0x10011d42
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10011d46
add ecx, 4
add eax, 4
test dx, dx
jne 0x10011d20
xor eax, eax
jmp 0x10011d4b
sbb eax, eax
or eax, 1
test eax, eax
je 0x10011d84
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0xc]
jb 0x10011d12
mov edi, dword [ebp - 8]
push edi
call fcn.1002e3b5
add esp, 4
test ebx, ebx
je 0x10011d70
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028ebf
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
imul eax, esi, 0x4c
push ecx
movups xmm0, xmmword [eax + ecx]
movups xmmword [ebp - 0x1c], xmm0
call fcn.1002e3b5
add esp, 4
cmp esi, 0xffffffff
je 0x10011d64
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
push dword [ebx + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x10011dce
mov dword [ebx + 8], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_GetHGlobalFromStream]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov esi, eax
push esi
call fcn.1002924d
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
push edi
call fcn.1002a790
add esp, 0xc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [ebp - 8], esi
mov edi, 4
xor esi, esi
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10011e79
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x10011e22
mov ebx, dword [ebp - 8]
xor esi, esi
test ebx, ebx
jle 0x10011e6f
mov edi, ebx
nop dword [eax]
mov eax, dword [ebp - 0x20]
push 0
push edi
add eax, esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x10011e76
add esi, eax
sub edi, eax
cmp esi, ebx
jl 0x10011e50
mov ebx, dword [ebp - 0x2c]
xor edi, edi
jmp 0x10011e7c
mov ebx, dword [ebp - 0x2c]
or edi, 0xffffffff
push 1
push dword [ebp - 0x20]
call fcn.10028ef0
mov edx, dword [ebp - 0x28]
add esp, 8
mov esi, dword [edx]
push edx
call dword [esi + 8]
mov edx, dword [ebx]
mov ecx, ebx
push 1
call dword [edx]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10028ebf
mov esp, ebp
pop ebp
ret