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

Disassembly:
sub esp, 0x1c0
mov eax, dword [0x10139040]
xor eax, esp
mov dword [esp + 0x1bc], eax
push ebx
mov ebx, dword [esp + 0x1c8]
lea eax, [esp + 0x90]
push ebp
mov ebp, dword [esp + 0x1d0]
push 0x2e
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0xc], 0xffffffff
cmp dword [ebp + 0x60], 3
jne 0x100d4789
cmp byte [ebp + 0x256], 0
jne 0x100d4789
cmp byte [ebp + 0x26a], 0
jne 0x100d4789
push esi
push edi
push 0x80
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1e4]
call dword [sym.imp.WS2_32.dll_getpeername]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x100d4683
call esi
mov esi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.100c00d0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
jmp 0x100d46cd
lea eax, [esp + 0x18]
push eax
lea eax, [ebp + 0xda]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.100d3650
add esp, 0x10
test al, al
jne 0x100d46dc
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.100c00d0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.100d2c90
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
push 0x80
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x1e4]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x100d4733
call esi
mov esi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.100c00d0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x100d477e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
call fcn.100d3650
add esp, 0x10
test al, al
jne 0x100d4787
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov esi, dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov edi, eax
lea eax, [esp + 0xcc]
push pe_nt_image_headers32
push eax
push esi
call fcn.100c00d0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.100d2c90
add esp, 0x1c
pop edi
pop esi
cmp byte [esp + 0x94], 0
movups xmm0, xmmword [ebp + 0xda]
movups xmmword [ebx + 0xd48], xmm0
movups xmm0, xmmword [ebp + 0xea]
movups xmmword [ebx + 0xd58], xmm0
movq xmm0, qword [ebp + 0xfa]
movq qword [ebx + 0xd68], xmm0
mov eax, dword [ebp + 0x102]
mov dword [ebx + 0xd70], eax
mov ax, word [ebp + 0x106]
mov word [ebx + 0xd74], ax
je 0x100d4826
movups xmm0, xmmword [esp + 0x94]
mov eax, dword [esp + 0xbc]
movups xmmword [ebx + 0xd7c], xmm0
movups xmm0, xmmword [esp + 0xa4]
movups xmmword [ebx + 0xd8c], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [ebx + 0xd9c], xmm0
mov dword [ebx + 0xda4], eax
mov ax, word [esp + 0xc0]
mov word [ebx + 0xda8], ax
jmp 0x100d482d
mov byte [ebx + 0xd7c], 0
mov eax, dword [ebp + 0x298]
mov ecx, dword [esp + 0x1c4]
mov eax, dword [eax]
mov dword [ebx + 0xdb0], eax
mov eax, dword [ebp + 0x298]
mov eax, dword [eax + 0x40]
mov dword [ebx + 0xdb4], eax
mov eax, dword [ebp + 0xcc]
mov dword [ebx + 0xd78], eax
mov eax, dword [esp + 0xc]
pop ebp
mov dword [ebx + 0xdac], eax
pop ebx
xor ecx, esp
call fcn.1010b45c
add esp, 0x1c0
ret