Function at 0x1002d690
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100cc1f4]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, dword [esp + 0x218]
push edi
cmp dword [esi + 0x2f8], 3
jne 0x1002d8c8
cmp byte [esi + 0x509], 0
jne 0x1002d8c8
cmp byte [esi + 0x523], 0
jne 0x1002d8c8
mov edi, dword [esp + 0x220]
lea eax, [esp + 0xc]
mov ebx, dword [esi]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x10], 0x80
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1002d741
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10019270
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.1002be00
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1007a976
add esp, 0x20c
ret
push 0x80
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.1007d3b0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1002d7b5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10019270
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.1002be00
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1007a976
add esp, 0x20c
ret
lea eax, [esi + 0x3a0]
push eax
lea edi, [esi + 0x372]
push edi
push dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
call fcn.1002c940
add esp, 0x10
test al, al
jne 0x1002d825
call fcn.1007f40d
mov esi, dword [eax]
call fcn.1007f40d
mov edi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10019270
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1002be00
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1007a976
add esp, 0x20c
ret
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi + 0x2c4], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x2d4], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x2e4], xmm0
mov dword [esi + 0x2ec], eax
mov ax, word [edi + 0x2c]
mov word [esi + 0x2f0], ax
lea eax, [esi + 0x3d4]
push eax
lea eax, [esi + 0x3a4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.1002c940
add esp, 0x10
test al, al
jne 0x1002d8c8
call fcn.1007f40d
mov esi, dword [eax]
call fcn.1007f40d
mov edi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.10019270
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1002be00
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1007a976
add esp, 0x20c
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x372]
pop edi
movups xmmword [ecx + 0x10b8], xmm0
movups xmm0, xmmword [esi + 0x382]
movups xmmword [ecx + 0x10c8], xmm0
movq xmm0, qword [esi + 0x392]
movq qword [ecx + 0x10d8], xmm0
mov eax, dword [esi + 0x39a]
mov dword [ecx + 0x10e0], eax
movzx eax, word [esi + 0x39e]
mov word [ecx + 0x10e4], ax
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x3a4]
movups xmmword [ecx + 0x10ec], xmm0
movups xmm0, xmmword [esi + 0x3b4]
movups xmmword [ecx + 0x10fc], xmm0
movq xmm0, qword [esi + 0x3c4]
movq qword [ecx + 0x110c], xmm0
mov eax, dword [esi + 0x3cc]
mov dword [ecx + 0x1114], eax
movzx eax, word [esi + 0x3d0]
mov word [ecx + 0x1118], ax
mov eax, dword [esi + 0x548]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x1120], eax
mov eax, dword [esi + 0x548]
mov ecx, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x1124], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3a0]
mov dword [ecx + 0x10e8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3d4]
pop esi
pop ebx
mov dword [ecx + 0x111c], eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.1007a976
add esp, 0x20c
ret