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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x13413f8]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, dword [esp + 0x84]
push ebp
push esi
push edi
mov esi, 0x3c00
mov dword [esp + 0x20], ebx
xor ebp, ebp
mov dword [esp + 0x2c], 0x3c00
push esi
mov edi, 3
mov dword [esp + 0x14], ebp
mov dword [ebx], ebp
call dword [0x1341f50]
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x5231d4
push 0x250
mov dword [esp + 0x1c], 4
call dword [0x1341f50]
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
jne 0x5231e9
push dword [esp + 0x24]
call dword [0x1341f58]
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00472272
add esp, 0x7c
ret
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x28]
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
jmp 0x523246
sub edi, 1
je 0x52324b
mov eax, dword [esp + 0x2c]
cmp esi, eax
jae 0x52322d
push eax
push dword [esp + 0x28]
call dword [0x1341f54]
add esp, 8
test eax, eax
je 0x5235e9
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
jmp 0x523231
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x2c]
push ecx
push eax
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x523253
cmp eax, 0x6f
je 0x523200
test eax, eax
jne 0x5235e9
mov eax, dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x28], eax
test eax, eax
je 0x5233bb
cmp dword [ebx + 0x44], 1
jne 0x5233a8
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x5233a8
imul edi, dword [esp + 0x10], 0x94
mov dword [esp + 0x1c], edi
push 0x41
lea eax, [esp + 0x48]
push 0
push eax
call fcn.004f3280
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, word [esi]
cmp eax, 2
jne 0x52336d
mov eax, dword [esi + 4]
lea ebx, [esi + 4]
test eax, eax
je 0x523399
cmp eax, 0xffffffff
je 0x523399
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x10], eax
jne 0x5232f2
lea edi, [eax + 4]
imul eax, edi, 0x94
push eax
push dword [esp + 0x18]
call dword [0x1341f54]
add esp, 8
test eax, eax
je 0x523395
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
push dword [eax + 0xa8]
add eax, 0xb0
push esi
push eax
call fcn.005230d0
mov ecx, dword [esp + 0x20]
push 0x41
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x20]
mov dword [edi + ecx + 4], eax
lea eax, [esp + 0x54]
push eax
push ebx
push 2
call fcn.0052dc50
add esp, 0x1c
test eax, eax
je 0x523399
movzx eax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x1c]
push 0x576bb0
add eax, 8
add eax, edi
push 0x89
push eax
call fcn.00439d00
inc dword [esp + 0x24]
add esp, 0x14
add edi, 0x94
mov dword [esp + 0x1c], edi
jmp 0x523399
cmp eax, 0x17
jne 0x523399
xor ebx, ebx
lea ecx, [esi + 8]
mov edx, 0x576e48
lea edi, [eax - 0xb]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x52342f
add ecx, 4
add edx, 4
sub edi, 4
jae 0x523380
mov edi, dword [esp + 0x1c]
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x523286
mov ebx, dword [esp + 0x28]
mov ebx, dword [ebx + 8]
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x523265
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
push 0x5230a0
push 0x94
push ebp
push esi
call fcn.005018e0
add esp, 0x10
xor ebx, ebx
test ebp, ebp
je 0x5235e5
lea eax, [esi + 8]
mov dword [esp + 0x28], eax
mov edi, eax
mov dword [esp + 0x18], eax
nop word [eax + eax]
xor esi, esi
test ebx, ebx
je 0x52353f
mov ebp, dword [esp + 0x18]
mov edi, eax
mov eax, ebp
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x52351f
test dl, dl
je 0x523428
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x52351f
add ecx, 2
add eax, 2
test dl, dl
jne 0x523404
xor eax, eax
jmp 0x523524
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x10], edi
jne 0x523460
add edi, 4
imul eax, edi, 0x94
push eax
push dword [esp + 0x18]
call dword [0x1341f54]
add esp, 8
test eax, eax
je 0x523395
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movups xmmword [esp + 0x30], xmm0
push eax
movups xmm0, xmmword [esi + 8]
mov dword [esp + 0x34], 0x17
movups xmmword [esp + 0x38], xmm0
call fcn.005205c0
add esp, 4
test eax, eax
mov eax, dword [esp + 0x28]
je 0x523491
mov ebx, dword [eax + 0x48]
push dword [eax + 0xac]
add eax, 0xb0
push esi
push eax
call fcn.005230d0
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
push 0x41
mov dword [edi + ecx], eax
mov eax, dword [esp + 0x20]
mov dword [edi + ecx + 4], eax
lea eax, [esp + 0x54]
push eax
lea eax, [esi + 8]
push eax
push 0x17
call fcn.0052dc50
add esp, 0x1c
test eax, eax
je 0x523399
movzx eax, word [esi + 2]
test ebx, ebx
je 0x523331
push ebx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x20]
push 0x576bb8
add eax, 8
add eax, edi
push 0x89
push eax
call fcn.00439d00
inc dword [esp + 0x28]
add esp, 0x18
add edi, 0x94
mov dword [esp + 0x1c], edi
jmp 0x523399
sbb eax, eax
or eax, 1
test eax, eax
je 0x523537
inc esi
add edi, 0x94
cmp esi, ebx
jb 0x523400
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp esi, ebx
jne 0x5235ce
push edi
call fcn.00522920
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, eax
mov ecx, dword [ecx]
test ecx, ecx
je 0x52356a
push ecx
call fcn.00522920
add esp, 4
add eax, 2
jmp 0x52356f
mov eax, 1
add eax, esi
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
call dword [0x1341f54]
add esp, 8
test eax, eax
je 0x5235ce
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 0
jne 0x523591
mov byte [eax], 0
push eax
mov dword [ecx], eax
call fcn.00522920
add esp, 4
test eax, eax
je 0x5235be
mov eax, dword [esp + 0x20]
mov edi, dword [eax]
dec edi
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x5235a7
mov ax, word [0x569770]
mov word [edi], ax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
push esi
push edi
push dword [eax]
call fcn.0054c970
add esp, 0xc
mov eax, dword [esp + 0x28]
inc ebx
add edi, 0x94
mov dword [esp + 0x18], edi
cmp ebx, ebp
jb 0x5233f0
mov ebx, dword [esp + 0x20]
push dword [esp + 0x14]
call dword [0x1341f58]
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x523608
push eax
call dword [0x1341f58]
add esp, 4
mov ecx, dword [esp + 0x88]
xor eax, eax
cmp dword [ebx], eax
pop edi
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.00472272
add esp, 0x7c
ret