Function at 0x100029c0
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, 0x101eba60
mov dword [esp + 0x34], 0x544d5347
mov dword [esp + 0x38], 2
mov dword [esp + 0x14], edi
call fcn.100022b0
test eax, eax
jne 0x10002abf
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 0x10002ab1
cmp dword [0x10201328], esi
je 0x10002ab1
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 0x10200a94
call fcn.1008b760
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 0x10002b06
dec eax
jne 0x10002b25
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 0x10002b25
jmp 0x10002b20
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 0x10002b25
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 0x10002b83
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 0x10002ba0
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 0x10002bf7
mov eax, dword [0x10201328]
test eax, eax
je 0x10002bf5
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 0x10200a94
call fcn.1008b760
add esp, 0x14
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x45c
ret 4