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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x1005f080]
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 0x1000fc01
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 0x1000fc06
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 0x1000fca4
push eax
call fcn.1002f0d6
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
je 0x1000fca4
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 0x1000fc9b
add edi, 0x30
mov ecx, dword [edi]
mov eax, str.image_jpeg
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1000fc86
test dx, dx
je 0x1000fc82
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1000fc86
add ecx, 4
add eax, 4
test dx, dx
jne 0x1000fc60
xor eax, eax
jmp 0x1000fc8b
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000fcc4
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0xc]
jb 0x1000fc52
mov edi, dword [ebp - 8]
push edi
call fcn.1002f0bb
add esp, 4
test ebx, ebx
je 0x1000fcb0
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.1002928e
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.1002f0bb
add esp, 4
cmp esi, 0xffffffff
je 0x1000fca4
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 0x1000fd0e
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.1002961c
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.1002ab30
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 0x1000fdb9
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x1000fd62
mov ebx, dword [ebp - 8]
xor esi, esi
test ebx, ebx
jle 0x1000fdaf
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 0x1000fdb6
add esi, eax
sub edi, eax
cmp esi, ebx
jl 0x1000fd90
mov ebx, dword [ebp - 0x2c]
xor edi, edi
jmp 0x1000fdbc
mov ebx, dword [ebp - 0x2c]
or edi, 0xffffffff
push 1
push dword [ebp - 0x20]
call fcn.100292bf
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.1002928e
mov esp, ebp
pop ebp
ret