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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x51df40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x110], eax
test edi, edi
je 0x404b75
cmp byte [edi], 0
je 0x404b75
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov esi, eax
jmp 0x404b78
or esi, 0xffffffff
push 0x5e00
xor bl, bl
mov dword [ebp - 0x11c], 0x5e00
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov dword [ebp - 0x118], eax
lea ecx, [ebp - 0x11c]
push ecx
push eax
push 0
push 0x86
push 0
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edx, dword [ebp - 0x118]
mov ecx, edx
mov dword [ebp - 0x108], ecx
test eax, eax
jne 0x404d63
test ecx, ecx
je 0x404d5d
test bl, bl
jne 0x404d5d
cmp dword [ecx + 0xd8], 0xe
je 0x404cad
cmp dword [ecx + 0x44], 1
jne 0x404cad
push 0x100
push dword [ecx + 0x28]
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
add esp, 0xc
cmp esi, 0xffffffff
jne 0x404cbb
test edi, edi
je 0x404c2e
cmp byte [edi], bl
je 0x404c2e
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
add esp, 8
test eax, eax
jne 0x404d49
mov ecx, dword [ebp - 0x108]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x404ca7
nop dword [eax + eax]
test bl, bl
jne 0x404ca7
cmp dword [ecx + 0xa4], 0
je 0x404ca0
mov eax, dword [edi + 0xc]
cmp word [eax], 2
jne 0x404ca0
mov ebx, dword [ebp - 0x110]
mov esi, dword [eax + 4]
test ebx, ebx
je 0x404c7c
movzx eax, byte [edi + 0x2c]
mov ecx, 0x20
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x114]
test ebx, ebx
je 0x404c98
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov dword [ebx], eax
mov ecx, dword [ebp - 0x108]
mov bl, 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x404c40
mov edi, dword [ebp - 0x10c]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x108], ecx
jmp 0x404bc5
mov ecx, dword [ebp - 0x108]
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x404ca7
test bl, bl
jne 0x404ca7
cmp dword [ecx + 0xa4], 0
je 0x404d2e
mov eax, dword [edi + 0xc]
cmp word [eax], 2
jne 0x404d2e
mov eax, dword [eax + 4]
cmp eax, esi
jne 0x404d2e
mov ebx, dword [ebp - 0x110]
mov esi, eax
test ebx, ebx
je 0x404d0a
movzx eax, byte [edi + 0x2c]
mov ecx, 0x20
sub ecx, eax
or eax, 0xffffffff
shl eax, cl
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x114]
test ebx, ebx
je 0x404d26
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
add esp, 4
mov dword [ebx], eax
mov ecx, dword [ebp - 0x108]
mov bl, 1
mov edi, dword [edi + 8]
test edi, edi
jne 0x404cc8
mov ecx, dword [ecx + 8]
mov edi, dword [ebp - 0x10c]
mov dword [ebp - 0x108], ecx
jmp 0x404bc5
mov ecx, dword [ebp - 0x108]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x108], ecx
jmp 0x404bc5
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004d3ed5
mov esp, ebp
pop ebp
ret