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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, edx
mov dword [esp + 8], ecx
push 0xc
pop ecx
push 4
pop edx
call fcn.00423cc6
mov esi, eax
xor eax, eax
mov ecx, edi
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 8], 0
call fcn.004dfec5
mov eax, dword [eax + 4]
lea ecx, [esp + 0x10]
lea ebx, [esp + 0x60]
xorps xmm0, xmm0
movaps xmmword [ebx + 0x70], xmm0
movaps xmmword [ebx + 0x60], xmm0
movaps xmmword [ebx + 0x50], xmm0
movaps xmmword [ebx + 0x40], xmm0
movaps xmmword [ebx + 0x30], xmm0
movaps xmmword [ebx + 0x20], xmm0
movaps xmmword [ebx + 0x10], xmm0
movaps xmmword [ebx], xmm0
mov dword [ecx], 0x80
push ecx
push ebx
push eax
call sub.ws2_32.dll_getpeername
cmp eax, 0xffffffff
je 0x437990
lea ecx, [esp + 0x20]
lea edx, [esp + 0x60]
push dword [esp + 0x10]
call fcn.004cfcd0
pop eax
jmp 0x4379b1
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x24], cl
and word [esp + 0x25], 0
mov byte [esp + 0x27], cl
mov dword [esp + 0x28], eax
mov word [esp + 0x20], 2
mov ecx, edi
call fcn.004dfec5
mov eax, dword [eax + 4]
xorps xmm0, xmm0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x80
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
push ecx
push ebx
push eax
call sub.ws2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x437af1
lea edi, [esp + 0x40]
lea edx, [esp + 0x60]
mov ecx, edi
push dword [esp + 0x10]
call fcn.004cfcd0
pop eax
cmp word [esp + 0x20], 2
je 0x437b16
cmp word [esp + 0x40], 2
je 0x437b16
movsd xmm1, qword [esp + 0x30]
lea eax, [esp + 0x60]
movsd xmm0, qword [esp + 0x38]
movsd xmm2, qword [esp + 0x20]
lea ebx, [esp + 0x10]
movsd xmm3, qword [edi]
and dword [ebx], 0
mov dword [ebx + 8], esi
mov word [ebx + 0xc], 1
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [eax], xmm2
movsd qword [eax + 0x18], xmm0
movsd xmm2, qword [edi + 0x10]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [eax + 0x20], xmm3
movsd qword [eax + 0x30], xmm2
movsd qword [eax + 0x28], xmm1
movsd xmm1, qword [edi + 0x18]
movsd qword [eax + 0x38], xmm1
push 0x40
pop ecx
push 4
pop edx
call fcn.00423cc6
mov dword [esp + 0xc], eax
push 0x10
pop ecx
mov edx, edi
mov edi, eax
lea esi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov edi, edx
call fcn.00435b0f
mov eax, dword [esp + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], 0x529768
mov eax, dword [esp + 8]
movsd xmm0, qword [ebx + 8]
movsd xmm1, qword [ebx]
movsd qword [eax + 8], xmm0
movsd qword [eax], xmm1
jmp 0x437b26
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
lea edi, [esp + 0x40]
mov byte [esp + 0x44], cl
and word [esp + 0x45], 0
mov byte [esp + 0x47], cl
mov dword [esp + 0x48], eax
mov word [esp + 0x40], 2
mov eax, dword [esp + 8]
and dword [eax], 0
mov dword [eax + 8], esi
mov word [eax + 0xc], 1
lea ecx, [esp + 0x20]
call fcn.00437b3e
mov ecx, edi
call fcn.00437b3e
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret