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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x50
push ebx
push ebp
push esi
mov dword [esp + 0x48], edx
xor edx, edx
push edi
push ecx
mov dword [esp + 0x4c], ecx
push 0
lea ecx, [edx + 6]
call fcn.004b0880
add esp, 8
mov dword [esp + 0x50], eax
test eax, eax
je 0x4b0964
mov ebx, 0xe
jmp 0x4b098d
mov edx, 1
push ecx
push 1
lea ecx, [edx + 4]
call fcn.004b0880
add esp, 8
test eax, eax
jne 0x4b0988
mov eax, 0xfffff02f
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x1e
mov ebp, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 0x1c]
push eax
xor esi, esi
mov dword [esp + 0x20], 0
push esi
push esi
push ebx
push esi
mov dword [esp + 0x28], esi
call ebp
mov edi, eax
test edi, edi
je 0x4b0a1f
call fcn.004ceb5c
push dword [esp + 0x14]
mov esi, dword [eax]
call dword [0x53d644]
add esp, 4
call fcn.004ceb5c
mov dword [eax], esi
cmp edi, 0xe8
ja 0x4b0afd
je 0x4b0ad4
cmp edi, 0x57
je 0x4b0ac7
cmp edi, 0x6f
jne 0x4b0b05
push dword [esp + 0x1c]
call dword [0x53d638]
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
test esi, esi
je 0x4b0aba
lea eax, [esp + 0x1c]
push eax
push esi
push 0
push ebx
push 0
call ebp
mov edi, eax
test edi, edi
jne 0x4b09b2
mov ebp, dword [esp + 0x14]
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], ebx
test ebp, ebp
je 0x4b0a8a
cmp dword [esi + 0x44], 1
jne 0x4b0a83
cmp dword [esi + 0x10], 0
je 0x4b0a83
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [esi + 0x28]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jle 0x4b0b21
add ebx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], ebx
test eax, eax
je 0x4b0a83
nop
mov eax, dword [eax + 8]
inc edi
add ebx, 0x48
test eax, eax
jne 0x4b0a70
mov dword [esp + 0x44], edi
mov dword [esp + 0x30], ebx
mov esi, dword [esi + 8]
test esi, esi
jne 0x4b0a33
push ebx
call dword [0x53d638]
mov edx, eax
add esp, 4
mov dword [esp + 0x3c], edx
test edx, edx
jne 0x4b0b4e
call fcn.004ceb5c
push ebp
mov esi, dword [eax]
call dword [0x53d644]
add esp, 4
call fcn.004ceb5c
mov dword [eax], esi
mov eax, 0xfffff027
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffff024
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 1
call dword [0x53d638]
add esp, 4
test eax, eax
je 0x4b0aba
mov ecx, dword [esp + 0x4c]
mov dword [ecx], 0
mov ecx, dword [esp + 0x48]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 0x4cc
je 0x4b0b14
mov ecx, edi
call fcn.004b8970
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffff008
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ceb5c
push ebp
mov esi, dword [eax]
call dword [0x53d644]
add esp, 4
call fcn.004ceb5c
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004b8970
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x14], 0
lea eax, [edi + edi*8]
mov esi, edx
mov dword [esp + 0x38], ebp
lea ecx, [edx + eax*8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], ecx
je 0x4b0dcb
mov edi, bind
cmp dword [ebp + 0x44], 1
jne 0x4b0db8
cmp dword [ebp + 0x10], 0
je 0x4b0db8
mov eax, ebx
sub eax, ecx
push 0
add eax, edx
push 0
cmp eax, 0x7fffffff
cmova eax, edi
push eax
push ecx
push 0xffffffffffffffff
push dword [ebp + 0x28]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [esp + 0x5c], eax
test eax, eax
jle 0x4b0e00
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4b0da8
lea ebx, [esi + 0x10]
mov dword [esp + 0x2c], ebx
nop
cmp dword [esp + 0x50], 0
mov esi, dword [eax + 0xc]
mov dword [esp + 0x28], esi
je 0x4b0be7
movzx edi, byte [eax + 0x2c]
jmp 0x4b0cc2
mov ebx, dword [ebp + 0x8c]
xor edi, edi
mov dword [esp + 0x20], edi
test ebx, ebx
je 0x4b0cad
movzx edx, word [esi]
mov dword [esp + 0x24], edx
mov ecx, dword [ebx + 0xc]
cmp word [ecx], dx
jne 0x4b0c9a
mov ebp, dword [ebx + 0x14]
cmp ebp, edi
jbe 0x4b0c9a
xor eax, eax
mov edi, ebp
cmp dx, 0x17
sete al
sar edi, 3
lea eax, [eax*4 + 4]
lea edx, [eax + ecx]
lea ecx, [eax + esi]
mov dword [esp + 0x58], edx
xor esi, esi
mov dword [esp + 0x54], ecx
test edi, edi
jle 0x4b0c53
mov eax, ecx
sub edx, ecx
mov cl, byte [eax]
cmp cl, byte [edx + eax]
jne 0x4b0c8e
inc esi
inc eax
cmp esi, edi
jl 0x4b0c46
mov eax, ebp
and eax, reloc.WS2_32.dll_getsockopt
jns 0x4b0c63
dec eax
or eax, 0xfffffff8
add eax, 1
je 0x4b0c86
mov ecx, 8
mov edx, 0xff
sub ecx, eax
mov eax, dword [esp + 0x54]
shl edx, cl
movzx eax, byte [eax + esi]
and edx, eax
mov eax, dword [esp + 0x58]
cmp byte [eax + esi], dl
jne 0x4b0c8e
mov edi, ebp
mov dword [esp + 0x20], edi
jmp 0x4b0c92
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4b0c02
mov ebp, dword [esp + 0x38]
test edi, edi
jne 0x4b0cbe
cmp word [esi], 0x17
mov edi, 0x20
mov eax, 0x80
cmove edi, eax
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push 0x48
push 0
push ecx
call fcn.004c6150
mov eax, dword [esp + 0x24]
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
cmp dword [ebp + 0x34], 6
jne 0x4b0cf1
mov eax, dword [ebp + 0x2c]
mov dword [ebx - 0xc], eax
mov ax, word [ebp + 0x30]
mov word [ebx - 8], ax
xor eax, eax
cmp dword [ebp + 0x40], 0x18
sete al
mov dword [ebx - 4], eax
movups xmm0, xmmword [esi]
cmp word [esi], 0x17
movups xmmword [ebx], xmm0
jne 0x4b0d53
movq xmm0, qword [esi + 0x10]
movq qword [ebx + 0x10], xmm0
mov eax, dword [esi + 0x18]
mov esi, edi
mov dword [ebx + 0x18], eax
mov eax, 0x17
shr esi, 3
push esi
mov word [ebx + 0x1c], ax
lea eax, [ebx + 0x24]
push 0xff
push eax
call fcn.004c6150
add esp, 0xc
and edi, 7
je 0x4b0d7a
mov ecx, 8
or al, 0xff
sub ecx, edi
shl al, cl
mov ecx, dword [esp + 0x18]
mov byte [esi + ecx + 0x34], al
jmp 0x4b0d7a
mov eax, 2
mov word [ebx + 0x1c], ax
test edi, edi
je 0x4b0d75
mov ecx, 0x20
or eax, 0xffffffff
sub ecx, edi
shl eax, cl
push eax
call dword [sym.imp.WS2_32.dll_htonl]
jmp 0x4b0d77
xor eax, eax
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x40]
add ebx, 0x48
mov esi, dword [esp + 0x18]
add esi, 0x48
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
mov eax, dword [eax + 8]
mov dword [esp + 0x40], eax
test eax, eax
jne 0x4b0bd0
mov ebx, dword [esp + 0x30]
mov edi, bind
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ebp, dword [ebp + 8]
mov dword [esp + 0x38], ebp
test ebp, ebp
jne 0x4b0b72
mov edi, dword [esp + 0x44]
call fcn.004ceb5c
push dword [esp + 0x14]
mov esi, dword [eax]
call dword [0x53d644]
add esp, 4
call fcn.004ceb5c
mov ecx, dword [esp + 0x48]
mov dword [eax], esi
mov eax, dword [esp + 0x3c]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [ecx], edi
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004ceb5c
push dword [esp + 0x14]
mov esi, dword [eax]
call dword [0x53d644]
add esp, 4
call fcn.004ceb5c
mov dword [eax], esi
call fcn.004ceb5c
mov esi, dword [eax]
mov eax, dword [esp + 0x3c]
push eax
jmp 0x4b0b29