Function at 0x10002a10
Capabilities:
Get local ipv4 addresses
Get socket information
Send data
Send data on socket

Disassembly:
sub esp, 0x45c
push ebp
mov ebp, dword [esp + 0x464]
xor eax, eax
push esi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], ecx
mov cx, word [ebp + 0x12]
mov dx, word [ebp + 0x10]
push edi
mov dword [esp + 0x20], eax
mov word [esp + 0x28], cx
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x30]
xor esi, esi
rep stosd dword es:[edi], eax
mov ax, word [ebp + 2]
mov ecx, 7
mov word [esp + 0x36], ax
xor eax, eax
lea edi, [esp + 0x4c]
mov word [esp + 0x2a], dx
mov dx, word [ebp]
mov dword [esp + 0x48], esi
rep stosd dword es:[edi], eax
mov word [esp + 0x34], dx
lea ecx, [esp + 0x48]
lea edx, [esp + 0x20]
mov edi, 0x10
push ecx
push edx
mov ecx, 0x102e1bc8
mov dword [esp + 0x34], 0x544d5347
mov dword [esp + 0x38], 2
mov dword [esp + 0x14], edi
call fcn.10002300
test eax, eax
jne 0x10002b0f
mov eax, dword [esp + 0xc]
lea ecx, [ebp + 0x14]
push eax
mov eax, dword [ebp + 4]
push ecx
push esi
lea edx, [esp + 0x38]
push 0x1c
push edx
push eax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], 1
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x10002b01
cmp dword [0x102f7658], esi
je 0x10002b01
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CConnInfoProvider::HandleGetSockInfo_HandleGetSockInfo::sendto_failed__errno__d__r_n
push str.ConnInfoProvider
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x45c
ret 4
xor ecx, ecx
xor eax, eax
mov ax, word [ebp + 2]
mov dword [esp + 0x12], ecx
mov dword [esp + 0x16], ecx
push ebx
xor ebx, ebx
mov dword [esp + 0x1e], ecx
dec eax
mov word [esp + 0x14], si
mov word [esp + 0x22], cx
mov dword [esp + 0x10], edi
je 0x10002b56
dec eax
jne 0x10002b75
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x10002b75
jmp 0x10002b70
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x10002b75
mov ebx, 1
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x6d]
mov byte [esp + 0x6c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp ebx, esi
stosb byte es:[edi], al
je 0x10002bd3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, 7
lea esi, [esp + 0x30]
lea edi, [esp + 0x6c]
mov dword [esp + 0x48], 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
jmp 0x10002bf0
mov dword [esp + 0x48], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 7
lea esi, [esp + 0x30]
lea edi, [esp + 0x6c]
mov dword [esp + 0x3c], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
lea eax, [ebp + 0x14]
push 0x10
push eax
mov eax, dword [ebp + 4]
add ecx, 0x1c
push 0
lea edx, [esp + 0x78]
push ecx
push edx
push eax
mov dword [esp + 0x28], 0x10
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x10002c47
mov eax, dword [0x102f7658]
test eax, eax
je 0x10002c45
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CConnInfoProvider::HandleGetSockInfo_HandleGetSockInfo::sendto_failed__errno__d__r_n
push str.ConnInfoProvider
push 4
push 0x102f6dc4
call fcn.10098fb0
add esp, 0x14
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x45c
ret 4