Function at 0x10046660
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
sub esp, 0x80
mov eax, dword [0x1008d040]
xor eax, esp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
push ebx
push ebp
push esi
push edi
mov esi, 0x3c00
mov dword [esp + 0x28], eax
xor ebp, ebp
mov dword [esp + 0x30], 0x3c00
push esi
mov edi, 3
mov dword [esp + 0x14], ebp
mov dword [eax], ebp
call dword [section..data]
mov ebx, eax
add esp, 4
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x100466d6
push 0x250
mov dword [esp + 0x20], 4
call dword [section..data]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100466f1
push ebx
call dword [0x1008d008]
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100574bd
add esp, 0x80
ret
lea eax, [esp + 0x30]
push eax
push ebx
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
push 0
push 0
push 0
call ebx
cmp eax, 0x6f
je 0x10046720
test eax, eax
jne 0x10046b56
mov edi, dword [esp + 0x24]
mov dword [esp + 0x14], edi
jmp 0x10046786
sub edi, 1
je 0x10046b56
mov eax, dword [esp + 0x30]
cmp esi, eax
jae 0x10046752
push eax
mov eax, dword [esp + 0x28]
push eax
call dword [0x1008d004]
add esp, 8
test eax, eax
je 0x10046b56
mov esi, dword [esp + 0x30]
mov dword [esp + 0x24], eax
jmp 0x10046756
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], eax
push ecx
push eax
push 0
push 0
push 0
call ebx
test eax, eax
je 0x10046776
cmp eax, 0x6f
je 0x10046720
jmp 0x10046b56
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
test edi, edi
je 0x10046a2e
cmp dword [edi + 0x44], 1
jne 0x10046a1b
mov ebp, dword [edi + 0x1c]
test ebp, ebp
je 0x10046a1b
imul ebx, dword [esp + 0x10], 0x94
mov dword [esp + 0x20], ebx
nop word [eax + eax]
push 0x40
lea eax, [esp + 0x4d]
mov byte [esp + 0x4c], 0
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, word [esi]
cmp eax, 2
jne 0x100468a8
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
test eax, eax
je 0x10046a02
cmp eax, 0xffffffff
je 0x10046a02
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x10], eax
jne 0x10046821
lea edi, [eax + 4]
imul eax, edi, 0x94
push eax
push dword [esp + 0x1c]
call dword [0x1008d004]
add esp, 8
test eax, eax
je 0x10046a08
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
push dword [edi + 0xa8]
lea eax, [edi + 0xb0]
push esi
push eax
call fcn.100465d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
push 0x41
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + edx + 4], eax
lea eax, [esp + 0x58]
push eax
push ebx
push 2
call fcn.100497e0
add esp, 0x1c
test eax, eax
je 0x10046a02
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
mov ebx, dword [esp + 0x20]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push str.__s_:_u
add eax, 8
add eax, ebx
push 0x89
push eax
call fcn.10013030
inc dword [esp + 0x24]
add esp, 0x14
add ebx, 0x94
mov dword [esp + 0x20], ebx
jmp 0x10046a10
cmp eax, 0x17
jne 0x10046a10
mov dword [esp + 0x2c], 0
lea ecx, [esi + 8]
mov edx, 0x1005dd50
lea edi, [eax - 0xb]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x100468da
add ecx, 4
add edx, 4
sub edi, 4
jae 0x100468c4
jmp 0x10046a0c
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x10], edi
jne 0x1004690b
add edi, 4
imul eax, edi, 0x94
push eax
push dword [esp + 0x1c]
call dword [0x1008d004]
add esp, 8
test eax, eax
je 0x10046a0c
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edi
xorps xmm0, xmm0
mov dword [esp + 0x34], 0x17
movlpd qword [esp + 0x38], xmm0
lea eax, [esp + 0x34]
movlpd qword [esp + 0x40], xmm0
movups xmm0, xmmword [esi + 8]
push eax
movups xmmword [esp + 0x3c], xmm0
call fcn.10041fc0
mov edi, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x10046947
mov eax, dword [edi + 0x48]
mov dword [esp + 0x2c], eax
push dword [edi + 0xac]
lea eax, [edi + 0xb0]
push esi
push eax
call fcn.100465d0
mov ecx, dword [esp + 0x24]
push 0x41
mov dword [ebx + ecx], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + ecx + 4], eax
lea eax, [esp + 0x58]
push eax
lea eax, [esi + 8]
push eax
push 0x17
call fcn.100497e0
add esp, 0x1c
test eax, eax
je 0x10046a10
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
add edi, 8
movzx eax, word [esi + 2]
add edi, ebx
test ecx, ecx
je 0x100469cf
push ecx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x50]
push eax
push str.__s_:_u___u
push 0x89
push edi
call fcn.10013030
inc dword [esp + 0x28]
add esp, 0x18
add ebx, 0x94
mov dword [esp + 0x20], ebx
jmp 0x10046a0c
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
push eax
push str.__s_:_u
push 0x89
push edi
call fcn.10013030
inc dword [esp + 0x24]
add esp, 0x14
add ebx, 0x94
mov dword [esp + 0x20], ebx
jmp 0x10046a0c
mov ebx, dword [esp + 0x20]
jmp 0x10046a10
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x100467b0
mov edi, dword [edi + 8]
mov dword [esp + 0x14], edi
test edi, edi
jne 0x10046786
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
push 0x100465a0
push 0x94
push ebp
push esi
call sub.api_ms_win_crt_utility_l1_1_0.dll_qsort
add esp, 0x10
xor ebx, ebx
test ebp, ebp
je 0x10046b56
lea eax, [esi + 8]
mov dword [esp + 0x2c], eax
mov edi, eax
mov dword [esp + 0x1c], eax
nop dword [eax]
xor esi, esi
test ebx, ebx
je 0x10046ab0
mov ebp, dword [esp + 0x1c]
mov edi, eax
nop dword [eax]
mov eax, ebp
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10046a94
test dl, dl
je 0x10046a90
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10046a94
add ecx, 2
add eax, 2
test dl, dl
jne 0x10046a74
xor eax, eax
jmp 0x10046a99
sbb eax, eax
or eax, 1
test eax, eax
je 0x10046aa8
inc esi
add edi, 0x94
cmp esi, ebx
jb 0x10046a70
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
cmp esi, ebx
jne 0x10046b3f
push edi
call fcn.10045ef0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov esi, eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x10046adb
push ecx
call fcn.10045ef0
add esp, 4
add eax, 2
jmp 0x10046ae0
mov eax, 1
add eax, esi
push eax
mov eax, dword [esp + 0x2c]
push dword [eax]
call dword [0x1008d004]
add esp, 8
test eax, eax
je 0x10046b3f
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0
jne 0x10046b02
mov byte [eax], 0
push eax
mov dword [ecx], eax
call fcn.10045ef0
add esp, 4
test eax, eax
je 0x10046b2f
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x10046b18
mov ax, word [0x1005db60]
mov word [edi], ax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
push esi
push edi
push dword [eax]
call sub.api_ms_win_crt_string_l1_1_0.dll_strncat
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc ebx
add edi, 0x94
mov dword [esp + 0x1c], edi
cmp ebx, ebp
jb 0x10046a60
push dword [esp + 0x18]
call dword [0x1008d008]
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x10046b75
push eax
call dword [0x1008d008]
add esp, 4
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp dword [ecx], eax
setne al
jmp 0x100466d8