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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x5fde94a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x28]
push 0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
push 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x4c]
push eax
push 4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x3c], esi
push eax
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0xf689d7c8
push eax
push 0xc8000006
push edi
mov dword [ebp - 0x30], 0x436b6f1f
mov dword [ebp - 0x2c], 0x4fe5538a
mov dword [ebp - 0x28], 0x22c351e3
call dword [sym.imp.WS2_32.dll_WSAIoctl]
cmp eax, 0xffffffff
jne 0x5fdce2fb
or eax, 0xffffffff
jmp 0x5fdce421
mov eax, dword [0x5fde9010]
test dword [eax + 0x1c], 0x10000000
je 0x5fdce328
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0x20
push eax
lea eax, [ebp - 0xb8]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
push 0
push 0
mov dword [ebp - 0x70], esi
mov eax, dword [eax]
mov esi, dword [ebp - 0x50]
mov ecx, esi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x64], 1
push eax
push edi
mov dword [ebp - 0x60], 0x20
call dword [0x5fdec34c]
call esi
cmp eax, 0xffffffff
je 0x5fdce2f3
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x6c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x58]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x54]
and dword [ecx], 0
cmp dword [ebp - 0x60], 0xc
sbb esi, esi
not esi
and esi, dword [ebp - 0x5c]
je 0x5fdce3f6
cmp dword [ebp + 0xc], 2
mov edi, dword [ebp - 0x48]
jne 0x5fdce3d1
mov eax, dword [esi + 0x10]
mov dword [ecx], eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
push edi
mov dword [ecx], eax
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 4], eax
jmp 0x5fdce41e
mov eax, dword [esi + 0x1c]
add esi, 0xc
mov dword [ecx], eax
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
push edi
mov dword [ecx], eax
call sub.api_ms_win_core_crt_l1_1_0.dll_memcpy
add esp, 0xc
add edi, 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x5fdce41e
mov ecx, dword [0x5fde9010]
cmp ecx, 0x5fde9010
je 0x5fdce41e
test byte [ecx + 0x1c], 8
je 0x5fdce41e
push edi
push dword [ecx + 0x14]
mov edx, 0x5fd9fd68
push dword [ecx + 0x10]
push 0x45
pop ecx
call fcn.5fdc7d09
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5fd83560
mov esp, ebp
pop ebp
ret 0x28