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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10060080]
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 0x1000fb71
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 0x1000fb76
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 0x1000fc14
push eax
call fcn.1002f270
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
je 0x1000fc14
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 0x1000fc0b
add edi, 0x30
mov ecx, dword [edi]
mov eax, str.image_jpeg
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1000fbf6
test dx, dx
je 0x1000fbf2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1000fbf6
add ecx, 4
add eax, 4
test dx, dx
jne 0x1000fbd0
xor eax, eax
jmp 0x1000fbfb
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000fc34
inc esi
add edi, 0x4c
cmp esi, dword [ebp - 0xc]
jb 0x1000fbc2
mov edi, dword [ebp - 8]
push edi
call fcn.1002f260
add esp, 4
test ebx, ebx
je 0x1000fc20
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.10029203
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.1002f260
add esp, 4
cmp esi, 0xffffffff
je 0x1000fc14
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 0x1000fc7e
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.10029591
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.1002ac00
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 0x1000fd29
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x1000fcd2
mov ebx, dword [ebp - 8]
xor esi, esi
test ebx, ebx
jle 0x1000fd1f
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 0x1000fd26
add esi, eax
sub edi, eax
cmp esi, ebx
jl 0x1000fd00
mov ebx, dword [ebp - 0x2c]
xor edi, edi
jmp 0x1000fd2c
mov ebx, dword [ebp - 0x2c]
or edi, 0xffffffff
push 1
push dword [ebp - 0x20]
call fcn.10029234
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.10029203
mov esp, ebp
pop ebp
ret