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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4cc
push esi
push edi
push 0x7f
xor edx, edx
pop ecx
xor eax, eax
lea edi, [ebp - 0x4ca]
mov word [ebp - 0x4cc], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xf
xor eax, eax
pop ecx
lea edi, [ebp - 0xea]
mov word [ebp - 0xec], dx
push 0xf
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x12a]
mov word [ebp - 0x12c], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x4cc]
push 0x100
push eax
call fcn.00401916
pop ecx
test eax, eax
pop ecx
jne 0x40733c
mov esi, dword [sym.imp.MSVCRT.dll_malloc]
mov edi, 0x280
push edi
call esi
pop ecx
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push ecx
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x406e77
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
push dword [ebp - 0x18]
call esi
pop ecx
mov dword [ebp - 0x10], eax
pop ecx
push ebx
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
test eax, eax
jne 0x4072a5
test ebx, ebx
je 0x4072c3
lea eax, [ebx + 8]
push eax
call fcn.0040108a
mov edi, eax
lea eax, [ebp - 0x4cc]
push eax
push edi
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 0xc
test eax, eax
je 0x406ece
mov ebx, dword [ebx]
push edi
call dword [sym.imp.MSVCRT.dll_free]
test ebx, ebx
pop ecx
jne 0x406e9b
jmp 0x4072b3
and byte [ebp - 0x2cc], 0
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x2cb]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, byte [ebx + 0x199]
push eax
mov edi, dword [ebx + 0x1a4]
movzx eax, byte [ebx + 0x198]
push eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0x197]
push eax
movzx eax, byte [ebx + 0x196]
push eax
movzx eax, byte [ebx + 0x195]
push eax
movzx eax, byte [ebx + 0x194]
push eax
push 0x425584
lea eax, [ebp - 0x2cc]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x24
lea eax, [ebp - 0xec]
test edi, edi
push 0x20
push eax
je 0x406f4c
push 0x46e
jmp 0x406f51
push 0x46d
push dword [0x428fe4]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebx + 0x10c]
push eax
call fcn.0040108a
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.0040108a
push dword [ebx + 0x1a0]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x12c]
push 0x20
push eax
call fcn.00406c69
lea eax, [ebx + 0x1b0]
push eax
call fcn.0040108a
mov dword [ebp - 8], eax
lea eax, [ebx + 0x1c0]
push eax
call fcn.0040108a
mov dword [ebp - 0x24], eax
lea eax, [ebx + 0x1d8]
push eax
call fcn.0040108a
and byte [ebp - 0x34], 0
mov dword [ebp - 0x20], eax
xor eax, eax
lea edi, [ebp - 0x33]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x34]
push 0x10
push eax
lea eax, [ebx + 0x1d8]
push eax
call sub.MSVCRT.dll_memcmp
add esp, 0x2c
test eax, eax
je 0x406ffc
mov edi, dword [ebp - 0x20]
push 0x4253d4
push edi
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
mov dword [ebp - 0x14], edi
test eax, eax
pop ecx
jne 0x407003
mov dword [ebp - 0x14], 0x428044
and word [ebp - 0x1cc], 0
push 0x27
pop ecx
xor eax, eax
lea edi, [ebp - 0x1ca]
push 0x3c
push dword [ebp - 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
and word [ebp - 0xac], 0
push 0x1d
pop ecx
xor eax, eax
lea edi, [ebp - 0xaa]
push 0x425580
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x1cc]
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x14
test eax, eax
je 0x407085
lea ecx, [ebp - 0x1cc]
sub eax, ecx
sar eax, 1
cmp eax, 0x37
jg 0x407085
push eax
lea eax, [ebp - 0x1cc]
push eax
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
jmp 0x4070a9
lea eax, [ebp - 0x1cc]
push 0x37
push eax
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
mov eax, 0x2e002e
lea edi, [ebp - 0x3e]
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xac]
push eax
push 0x407
push edi
call esi
push dword [ebp - 4]
push 0x40d
push edi
call esi
lea eax, [ebp - 0x12c]
push eax
push 0x40b
push edi
call esi
push dword [ebp - 8]
push 0x409
push edi
call esi
lea eax, [ebp - 0xec]
push eax
push 0x408
push edi
call esi
push dword [ebp - 0x24]
push 0x40a
push edi
call esi
push dword [ebp - 0x14]
push 0x40c
push edi
call esi
push dword [ebp - 4]
mov edi, dword [sym.imp.MSVCRT.dll_free]
call edi
push dword [ebp - 8]
call edi
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x24]
call edi
push dword [ebp - 0x20]
call edi
add esp, 0x14
push 0x3fc
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [ebp - 0xc], eax
je 0x40714c
push 0
push 0
push 0x184
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
cmp dword [ebx + 0x224], eax
je 0x407251
cmp dword [ebp - 0xc], eax
je 0x407251
mov dword [ebp - 8], eax
lea eax, [ebx + 0x22c]
push eax
call fcn.0040108a
mov dword [esp], 0x4253d4
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x4071c9
push 0x428044
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x4071c9
push dword [ebp - 4]
push 0
push 0x180
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x19a
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 8], 1
push dword [ebp - 4]
call edi
lea eax, [ebx + 0x250]
pop ecx
test eax, eax
mov dword [ebp - 0x14], eax
je 0x407251
jmp 0x4071e1
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
call fcn.0040108a
mov dword [esp], 0x4253d4
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x40723f
push 0x428044
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_wcscmp]
pop ecx
test eax, eax
pop ecx
je 0x40723f
push dword [ebp - 4]
push 0
push 0x180
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 8]
push dword [ebp - 8]
push 0x19a
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
inc dword [ebp - 8]
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 0x14]
pop ecx
mov eax, dword [eax]
test eax, eax
mov dword [ebp - 0x14], eax
jne 0x4071de
cmp dword [ebp - 0x1c], 0
je 0x40727a
lea eax, [ebx + 0x200]
push eax
call fcn.0040108a
pop ecx
mov dword [ebp - 0x1c], eax
push eax
push 0x40e
push dword [ebp + 8]
call esi
push dword [ebp - 0x1c]
call edi
pop ecx
jmp 0x407295
mov edi, 0x428044
push edi
push 0x40f
push dword [ebp + 8]
call esi
push edi
push 0x40e
push dword [ebp + 8]
call esi
push dword [ebp + 8]
push dword [ebx + 0x19c]
call fcn.00406cfc
jmp 0x4072b1
push 0x42553c
push 3
call fcn.0040148c
pop ecx
pop ecx
cmp dword [ebp - 0x10], 0
je 0x4072c3
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
lea eax, [ebp - 0x4cc]
push eax
call fcn.00407340
mov edx, eax
pop ecx
cmp edx, 0xffffffff
pop ebx
je 0x40733c
and word [ebp - 0x74], 0
push 0xf
pop ecx
xor eax, eax
lea edi, [ebp - 0x72]
rep stosd dword es:[edi], eax
test edx, edx
stosw word es:[edi], ax
je 0x407309
cmp edx, 2
je 0x407309
cmp edx, 3
jle 0x407320
cmp edx, 5
jg 0x407320
lea eax, [ebp - 0x74]
push 0x20
push eax
push 0x46f
jmp 0x407314
lea eax, [ebp - 0x74]
push 0x20
push eax
push 0x470
push dword [0x428fe4]
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x74]
test eax, eax
je 0x40732d
lea eax, [ebp - 0x74]
push eax
jmp 0x407332
push 0x428044
push 0x410
push dword [ebp + 8]
call esi
pop edi
pop esi
leave
ret