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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513ea8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x549950]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bef85
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 0
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4befb5
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
push 0x288
mov dword [ebp - 0x24], 0x288
call fcn.004e069c
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
test esi, esi
je 0x4bf53e
lea ecx, [ebp - 0x24]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4bf017
push esi
call fcn.004dfdf1
mov edx, dword [ebp - 0x24]
push edx
call fcn.004e069c
mov esi, eax
add esp, 8
mov dword [ebp - 0x28], eax
test esi, esi
je 0x4bf53e
lea ecx, [ebp - 0x24]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4bf53e
mov dword [ebp - 0x1c], esi
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bf046
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 2
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bf073
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bf0a0
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 4
call fcn.004c01dc
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bf0cd
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
test esi, esi
je 0x4bf4a5
mov ebx, dword [ebp - 0x1c]
lea esi, [ebp - 0x58]
call fcn.004bf5e0
mov byte [ebp - 4], 6
mov ecx, dword [ebx + 4]
push ecx
lea edx, [ebp - 0x18]
push 0x52275c
push edx
call fcn.004039c0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403060
lea edi, [ebx + 8]
test edi, edi
jne 0x4bf121
xor eax, eax
xor ecx, ecx
jmp 0x4bf16f
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4bf139
xor eax, eax
xor ecx, ecx
jmp 0x4bf16f
lea eax, [esi + esi]
call fcn.004e8480
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004bff10
test eax, eax
jne 0x4bf155
xor ecx, ecx
jmp 0x4bf16f
mov ecx, eax
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4bf160
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00403570
lea edi, [ebx + 0x10c]
test edi, edi
jne 0x4bf189
xor eax, eax
xor ecx, ecx
jmp 0x4bf1d1
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x4bf1a1
xor eax, eax
xor ecx, ecx
jmp 0x4bf1d1
lea eax, [esi + esi]
call fcn.004e8480
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004bff10
test eax, eax
jne 0x4bf1bd
xor ecx, ecx
jmp 0x4bf1d1
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4bf1c2
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.00403570
lea ecx, [ebp - 0x20]
call fcn.00402ca0
mov eax, dword [ebx + 0x190]
xor esi, esi
test eax, eax
jbe 0x4bf23e
nop
dec eax
cmp esi, eax
jne 0x4bf209
movzx ecx, byte [ebx + esi + 0x194]
push ecx
push str._.2X
lea edx, [ebp - 0x18]
push edx
jmp 0x4bf21b
movzx eax, byte [ebx + esi + 0x194]
push eax
push str._.2X_
lea ecx, [ebp - 0x18]
push ecx
call fcn.004039c0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004030e0
mov eax, dword [ebx + 0x190]
inc esi
cmp esi, eax
jb 0x4bf1f0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x54]
call fcn.00403060
mov ebx, dword [ebx + 0x1a0]
lea eax, [ebx - 1]
cmp eax, 0x1b
ja case.0x4bf263.2
movzx eax, byte [eax + 0x4bf5c4]
jmp dword [eax*4 + 0x4bf5a4]
push 2
push 0x534de8
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push 3
push 0x534df0
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push 3
push 0x534df8
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push 4
push str.FDDI
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push 3
push 0x534e0c
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push 2
push 0x534e14
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push 4
push str.Slip
lea ecx, [ebp - 0x18]
call fcn.00403570
jmp 0x4bf2f3
push ebx
lea ecx, [ebp - 0x18]
push 0x534e28
push ecx
call fcn.004039c0
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00403060
mov ebx, dword [ebp - 0x1c]
add ebx, 0x1b0
jne 0x4bf310
xor edx, edx
xor eax, eax
jmp 0x4bf36f
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x4bf34b
lea eax, [edi + edi]
call fcn.004e8480
mov esi, esp
test esi, esi
je 0x4bf34b
push edi
push esi
push 0xffffffffffffffff
xor eax, eax
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4bf34d
xor eax, eax
mov edx, eax
test edx, edx
je 0x4bf36f
mov eax, edx
lea esi, [eax + 2]
jmp 0x4bf360
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bf360
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x58]
call fcn.00403570
mov ebx, dword [ebp - 0x1c]
add ebx, 0x1c0
jne 0x4bf38a
xor edx, edx
xor eax, eax
jmp 0x4bf3e1
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x4bf3c5
lea eax, [edi + edi]
call fcn.004e8480
mov esi, esp
test esi, esi
je 0x4bf3c5
push edi
push esi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
push ecx
push 3
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4bf3c7
xor eax, eax
mov edx, eax
test edx, edx
je 0x4bf3e1
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bf3d2
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x50]
call fcn.00403570
mov ebx, dword [ebp - 0x1c]
add ebx, 0x1d8
jne 0x4bf3fc
xor edx, edx
xor eax, eax
jmp 0x4bf453
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x4bf437
lea eax, [edi + edi]
call fcn.004e8480
mov esi, esp
test esi, esi
je 0x4bf437
push edi
push esi
push 0xffffffffffffffff
xor edx, edx
push ebx
push edx
push 3
mov word [esi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x4bf439
xor eax, eax
mov edx, eax
test edx, edx
je 0x4bf453
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bf444
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403570
mov eax, dword [ebp + 8]
mov esi, dword [eax + 8]
test esi, esi
jl 0x4bf59e
mov edi, dword [ebp + 8]
lea eax, [esi + 1]
call fcn.004bfc40
shl esi, 5
add esi, dword [edi + 4]
lea eax, [ebp - 0x58]
call fcn.004bfb10
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ecx]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x1c], ebx
call fcn.004bf700
test ebx, ebx
jne 0x4bf0e7
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4bf4c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf4eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf50e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf531
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4bf53e
push esi
call fcn.004dfdf1
add esp, 4
lea eax, [edi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf55e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf57d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esp, [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004df2ac
mov esp, ebp
pop ebp
ret 4
call fcn.004c0ab7
nop
push 0xfffffffffffffff2
dec ebx
add byte [ebx - 0xe], bh
dec ebx
add byte [edx + esi*8 - 0xd62ffb5], cl
dec ebx
add byte [esi - 0x40ffb40e], ch
dec ebx
add al, dl
dec ebx
add cl, ah
dec ebx
add byte [eax], al
pop es
pop es
pop es
pop es
add dword [edi], eax
pop es
add al, byte [edi]
pop es
pop es
pop es
pop es
add eax, dword [edi]
pop es
pop es
pop es
pop es
pop es
pop es
add al, 5
pop es
pop es
pop es
push es