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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xe0
mov dword [esp + 0x14], 0
xor ecx, ecx
mov esi, 0x17
lea ebx, [esp + 0x14]
xor eax, eax
xor ebp, ebp
mov edi, 0x4fa433
test ecx, ecx
je 0x47cd8a
nop word [eax + eax]
push ecx
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
mov ecx, dword [esp + 0xf4]
mov ecx, dword [ecx + 0x48]
mov edx, ecx
not edx
shr edx, 1
and edx, 2
test cl, 2
cmove edx, esi
push ebx
mov dword [esp + 0x10], eax
push eax
push 0
push 0xe
push edx
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x47cdd0
cmp eax, 0x6f
jne 0x47cdff
cmp ebp, 3
mov eax, dword [esp + 0xc]
ja 0x47ce03
inc ebp
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x47cd80
jmp 0x47cd8a
mov eax, dword [0x50522c]
mov dword [esp + 4], eax
cmp eax, 0xffffffff
jne 0x47ce22
push 0x50522c
push 0x506278
call fcn.00474430
add esp, 8
test al, al
je 0x47ce10
mov eax, dword [0x50522c]
mov dword [esp + 4], eax
jmp 0x47ce22
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x47d1a1
jmp 0x47d1ae
mov dword [0x50522c], 0xfffffffe
mov dword [esp + 4], 0xfffffffe
mov eax, dword [esp + 0xc]
test eax, eax
je 0x47d1ac
lea edi, [esp + 0x1f]
mov edx, eax
jmp 0x47ce53
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edx, dword [edx + 8]
test edx, edx
je 0x47d19b
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xf4]
cmp byte [ecx + 0x58], 0
je 0x47ce71
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 4]
jne 0x47ce48
cmp dword [edx + 0x40], 0x18
jne 0x47ce84
mov ecx, dword [esp + 0xf4]
test byte [ecx + 0x48], 1
je 0x47ce48
push 0
push 0
push 0x80
lea eax, [esp + 0x6c]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x1c], edx
push dword [edx + 0x28]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0xf4]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x47ced6
push eax
mov eax, dword [esp + 0xf8]
push dword [eax + 0x54]
lea eax, [esp + 0x68]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47ce40
mov dl, 1
mov eax, dword [esp + 0xf4]
test byte [eax + 0x48], 8
je 0x47d0a2
mov eax, dword [esp + 8]
cmp dword [eax + 0x34], 6
jne 0x47d0a6
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 4]
sete byte [esp]
movzx esi, byte [eax + 0x2c]
movzx ecx, byte [eax + 0x2d]
movzx edx, byte [eax + 0x2e]
movzx edi, byte [eax + 0x2f]
movzx ebx, byte [eax + 0x30]
movzx eax, byte [eax + 0x31]
push eax
push ebx
push edi
lea edi, [esp + 0x2b]
push edx
push ecx
push esi
push str._02x:_02x:_02x:_02x:_02x:_02x
push 0x20
push edi
call fcn.0047d1c0
add esp, 0x24
mov ecx, dword [esp + 0xf8]
mov esi, dword [ecx]
mov ebx, dword [ecx + 8]
cmp ebx, dword [ecx + 0xc]
jne 0x47cf72
lea eax, [ebx + ebx]
test ebx, ebx
mov edx, 0x10
cmove eax, edx
mov dword [ecx + 0xc], eax
imul eax, dword [ecx + 4]
push eax
push esi
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
mov ecx, dword [esp + 0x100]
add esp, 8
mov esi, eax
mov dword [ecx], eax
mov ebx, dword [ecx + 8]
lea eax, [ebx + 1]
mov dword [ecx + 8], eax
imul ebx, dword [ecx + 4]
mov dword [esi + ebx], 0
mov dword [esi + ebx + 4], 0
mov eax, dword [0x5052b0]
mov dword [esi + ebx + 8], eax
lea eax, [esp + 0x60]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x47cff4
mov dword [esp + 0x18], eax
inc eax
mov ecx, 0x20
nop
mov edi, ecx
add ecx, ecx
cmp eax, edi
ja 0x47cfb0
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
mov dword [esi + ebx + 8], eax
mov dword [esi + ebx], edi
mov edi, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x64]
push ecx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esi + ebx + 4]
add eax, edi
mov dword [esi + ebx + 4], eax
mov ecx, dword [esi + ebx + 8]
mov byte [ecx + eax], 0
lea edi, [esp + 0x1f]
mov eax, dword [0x5052b0]
mov dword [esi + ebx + 0xc], 0
mov dword [esi + ebx + 0x10], 0
mov dword [esi + ebx + 0x14], eax
mov dword [esi + ebx + 0x18], 0
mov dword [esi + ebx + 0x1c], 0
mov dword [esi + ebx + 0x20], eax
mov dword [esi + ebx + 0x24], 0
mov dword [esi + ebx + 0x2c], eax
movzx eax, byte [esp]
mov byte [esi + ebx + 0x30], al
mov eax, dword [0x5052b0]
mov dword [esi + ebx + 0x2c], eax
mov dword [esi + ebx + 0x28], 0
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x47d0a0
mov dword [esp], eax
inc eax
mov ecx, 0x20
nop dword [eax]
mov edi, ecx
add ecx, ecx
cmp eax, edi
ja 0x47d060
push edi
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov byte [eax], 0
mov dword [esi + ebx + 0x2c], eax
mov dword [esi + ebx + 0x24], edi
push dword [esp]
lea edi, [esp + 0x23]
push edi
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov eax, dword [esi + ebx + 0x28]
add eax, dword [esp]
mov dword [esi + ebx + 0x28], eax
mov ecx, dword [esi + ebx + 0x2c]
mov byte [ecx + eax], 0
xor edx, edx
mov eax, dword [esp + 8]
mov ebx, dword [eax + 0x10]
test ebx, ebx
jne 0x47d110
jmp 0x47ce40
mov ebp, edx
xor edx, edx
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 4]
sete dl
mov dword [esp], edx
add eax, 8
push 0x41
push edi
push eax
push 0x17
mov eax, dword [sym.imp.WS2_32.dll_inet_ntop]
call eax
mov eax, ebp
and al, 1
movzx eax, al
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x60]
push dword [esp]
push eax
push 0x17
push edi
call fcn.0047d1f0
add esp, 0x10
xor edx, edx
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x47ce40
mov eax, dword [ebx + 0xc]
movzx ecx, word [eax]
cmp ecx, 0x17
je 0x47d0c0
cmp ecx, 2
jne 0x47d105
mov esi, edx
add eax, 4
push 0x16
push edi
push eax
push 2
call dword [sym.imp.WS2_32.dll_inet_ntop]
mov ebp, edi
movzx edi, byte [ebx + 0x2c]
test edi, edi
je 0x47d15a
push ebp
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, esp
add eax, 0x1f
push edi
push 0x4fa46f
push 4
push eax
call fcn.0047d1c0
add esp, 0x10
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [esp + 4]
sete al
mov ecx, esi
and cl, 1
movzx edi, cl
mov ecx, dword [esp + 0xf8]
lea edx, [esp + 0x60]
push eax
push edi
push 2
push ebp
call fcn.0047d1f0
add esp, 0x10
xor edx, edx
mov edi, ebp
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x47d110
jmp 0x47ce40
xor edi, edi
test eax, eax
je 0x47d1ae
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
jmp 0x47d1ae
xor edi, edi
mov eax, edi
add esp, 0xe0
pop esi
pop edi
pop ebx
pop ebp
ret