Function at 0x4116a0
Capabilities:
Get local ipv4 addresses
Get mac address on windows
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x98
mov eax, dword [0x630160]
xor eax, esp
mov dword [esp + 0x94], eax
push ebx
push ebp
mov ebp, dword [esp + 0xa4]
mov eax, dword [ebp]
push esi
xor esi, esi
cmp eax, esi
push edi
jg 0x412049
xor eax, eax
mov dword [esp + 0x71], eax
mov dword [esp + 0x75], eax
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov byte [esp + 0x81], al
lea eax, [esp + 0x18]
push eax
push esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x78], 0
mov dword [esp + 0x24], esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0041884e
mov edx, dword [esp + 0x1c]
push edx
mov edi, eax
push esi
push edi
mov dword [esp + 0x38], edi
call fcn.00422f70
add esp, 0x10
lea eax, [esp + 0x18]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x411749
cmp edi, esi
je 0x411d0a
push edi
call fcn.0041960a
add esp, 4
jmp 0x411d0a
cmp edi, esi
je 0x411d0a
jmp 0x411757
mov edi, dword [esp + 0x28]
lea eax, [edi + 8]
push eax
call fcn.004010c0
mov ebx, eax
add esp, 4
mov esi, ebx
mov dword [esp + 0x30], ebx
call fcn.00410c50
mov esi, eax
mov dword [esp + 0x34], esi
cmp esi, 0xffffffff
jne 0x411791
test ebx, ebx
je 0x411cf7
push ebx
call fcn.0041960a
add esp, 4
jmp 0x411cf7
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x170002
push esi
mov dword [esp + 0x34], 0x10114
call ebx
test eax, eax
je 0x411cec
cmp dword [esp + 0x20], 0
jne 0x411cec
mov edx, dword [ebp]
mov ecx, dword [esp + 0x30]
shl edx, 4
lea eax, [edx + ebp + 0xc48]
push eax
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
movzx edx, byte [edi + 0x199]
movzx eax, byte [edi + 0x198]
movzx ecx, byte [edi + 0x197]
push edx
movzx edx, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push ecx
movzx ecx, byte [edi + 0x194]
push edx
push eax
push ecx
lea edx, [esp + 0x9c]
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.0041a513
mov eax, dword [ebp]
mov ecx, dword [esp + 0xa4]
lea eax, [eax + eax*8]
mov dword [ebp + eax*2 + 0x194], ecx
mov edx, dword [esp + 0xa8]
lea eax, [ebp + eax*2 + 0x194]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xb0]
add esp, 0x20
push 0
mov dword [eax + 0xc], edx
mov cl, byte [esp + 0x98]
lea edx, [esp + 0x20]
push edx
push 0x12
mov byte [eax + 0x10], cl
lea eax, [esp + 0x7c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x170002
push esi
mov dword [esp + 0x34], 0x1010101
call ebx
test eax, eax
je 0x41190f
movzx edx, byte [esp + 0x75]
movzx eax, byte [esp + 0x74]
movzx ecx, byte [esp + 0x73]
push edx
movzx edx, byte [esp + 0x76]
push eax
movzx eax, byte [esp + 0x79]
push ecx
movzx ecx, byte [esp + 0x7c]
push edx
push eax
push ecx
lea edx, [esp + 0x9c]
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.0041a513
mov eax, dword [ebp]
mov ecx, dword [esp + 0xa4]
lea eax, [eax + eax*8]
mov dword [ebp + eax*2 + 0x2c], ecx
mov edx, dword [esp + 0xa8]
lea eax, [ebp + eax*2 + 0x2c]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xb0]
mov dword [eax + 0xc], edx
mov cl, byte [esp + 0xb4]
add esp, 0x20
mov byte [eax + 0x10], cl
xor eax, eax
push eax
lea edx, [esp + 0x20]
push edx
push 0x12
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov word [esp + 0x8c], ax
lea eax, [esp + 0x7c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x170002
push esi
mov dword [esp + 0x34], 0x1010102
call ebx
test eax, eax
je 0x4119d6
movzx edx, byte [esp + 0x75]
movzx eax, byte [esp + 0x74]
movzx ecx, byte [esp + 0x73]
push edx
movzx edx, byte [esp + 0x76]
push eax
movzx eax, byte [esp + 0x79]
push ecx
movzx ecx, byte [esp + 0x7c]
push edx
push eax
push ecx
lea edx, [esp + 0x9c]
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.0041a513
mov eax, dword [ebp]
mov ecx, dword [esp + 0xa4]
lea eax, [eax + eax*8]
mov dword [ebp + eax*2 + 0xe0], ecx
mov edx, dword [esp + 0xa8]
lea eax, [ebp + eax*2 + 0xe0]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xb0]
mov dword [eax + 0xc], edx
mov cl, byte [esp + 0xb4]
add esp, 0x20
mov byte [eax + 0x10], cl
push 0
lea edx, [esp + 0x20]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x170002
push esi
mov dword [esp + 0x34], 0x1010e
call ebx
test eax, eax
je 0x411a14
test byte [esp + 0x20], 0x20
je 0x411a14
mov edx, dword [ebp]
mov dword [ebp + edx*4 + 0x1738], 1
lea eax, [edi + 0x10c]
push eax
call fcn.004010c0
mov ecx, dword [ebp]
add esp, 4
shl ecx, 8
lea edx, [ecx + ebp + 0x248]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x411a30
lea esi, [edi + 0x1ac]
mov ecx, 0xa
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov eax, dword [ebp]
mov ecx, dword [esp + 0x4c]
lea edx, [ebx + eax*4]
add edx, eax
shl edx, 4
mov dword [edx + ebp + 0xce8], ecx
lea eax, [edx + ebp + 0xce8]
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x58]
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [eax + 0xc], edx
mov eax, dword [ebp]
mov edx, dword [esp + 0x5c]
lea ecx, [ebx + eax*4]
add ecx, eax
shl ecx, 4
lea eax, [ecx + ebp + 0x1008]
mov dword [eax], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x68]
lea edx, [esp + 0x4c]
push edx
mov dword [eax + 0xc], ecx
call edi
mov ecx, dword [ebp]
lea edx, [ebx + ecx*4]
add edx, ecx
mov dword [ebp + edx*4 + 0x13c8], eax
lea eax, [esp + 0x5c]
push eax
call edi
mov ecx, dword [ebp]
lea edx, [ebx + ecx*4]
add edx, ecx
mov dword [ebp + edx*4 + 0x1490], eax
mov eax, dword [ebp]
inc dword [ebp + eax*4 + 4]
mov esi, dword [esp + 0x48]
lea eax, [ebp + eax*4 + 4]
test esi, esi
je 0x411b13
inc ebx
cmp ebx, 5
mov ecx, 0xa
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
jl 0x411a54
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [ebp]
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 0x1d8]
lea eax, [esi + 0x1d8]
shl ecx, 4
lea ecx, [ecx + ebp + 0x1328]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
push eax
mov dword [ecx + 0xc], edx
call edi
mov ecx, dword [ebp]
mov dword [ebp + ecx*4 + 0x1558], eax
mov eax, dword [esi + 0x19c]
mov edx, dword [ebp]
mov dword [ebp + edx*4 + 0x1580], eax
mov edx, dword [esi + 0x1a4]
mov ecx, dword [ebp]
xor eax, eax
mov dword [ebp + ecx*4 + 0x16e8], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea eax, [esp + 0x38]
push eax
lea eax, [esi + 8]
xor ebx, ebx
push eax
mov dword [esp + 0x40], ebx
call fcn.004010c0
add esp, 4
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00410d60
mov ecx, dword [ebp]
mov dword [ebp + ecx*4 + 0x1710], eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esi + 0x19c]
push eax
push ecx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
cmp eax, 0x6f
jne 0x411cd6
mov edx, dword [esp + 0x18]
push edx
call fcn.0041884e
mov edi, eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
push edi
mov dword [esp + 0x34], edi
call fcn.00422f70
mov edx, dword [esi + 0x19c]
add esp, 0x10
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
call sub.IPHLPAPI.DLL_GetPerAdapterInfo
test eax, eax
jne 0x411cbd
lea ebx, [edi + 0xc]
test ebx, ebx
je 0x411cbd
lea edi, [ebx + 4]
mov ecx, 0x62336f
mov eax, edi
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x411c60
test dl, dl
je 0x411c5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x411c60
add eax, 2
add ecx, 2
test dl, dl
jne 0x411c40
xor eax, eax
jmp 0x411c65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411cb9
mov eax, dword [ebp]
mov ecx, dword [edi]
shl eax, 4
lea eax, [eax + ebp + 0x15a8]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx]
test eax, eax
je 0x411cb9
mov ecx, dword [ebp]
mov edx, dword [eax + 4]
add eax, 4
shl ecx, 4
lea ecx, [ecx + ebp + 0x1648]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov edi, dword [esp + 0x24]
test edi, edi
je 0x411cd6
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0041960a
add esp, 4
mov dword [esp + 0x24], 0
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp]
mov eax, dword [esi]
mov dword [esp + 0x28], eax
jmp 0x411cfd
test esi, esi
je 0x411cf7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
mov dword [esp + 0x28], ecx
cmp dword [esp + 0x28], 0
jne 0x411753
xor esi, esi
mov eax, dword [ebp]
cmp eax, esi
jg 0x412049
lea edx, [esp + 0x2c]
push edx
push esi
push esi
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
mov eax, dword [esp + 0x2c]
push eax
call fcn.0041884e
mov ecx, dword [esp + 0x30]
push ecx
mov edi, eax
push esi
push edi
call fcn.00422f70
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
push edi
push esi
push 0x10
push 2
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
je 0x411d6a
cmp edi, esi
je 0x412046
push edi
call fcn.0041960a
add esp, 4
jmp 0x412046
cmp edi, esi
je 0x412046
mov eax, dword [edi + 0xc]
push eax
call fcn.004010c0
mov ebx, eax
add esp, 4
mov esi, ebx
call fcn.00410c50
mov esi, eax
cmp esi, 0xffffffff
jne 0x411da4
test ebx, ebx
je 0x41203b
push ebx
call fcn.0041960a
add esp, 4
jmp 0x41203b
push 0
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push 4
lea eax, [esp + 0x28]
push eax
push 0x170002
push esi
mov dword [esp + 0x34], 0x10114
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x412030
cmp dword [esp + 0x20], 0
jne 0x412030
mov ecx, dword [ebp]
shl ecx, 4
lea edx, [ecx + ebp + 0xc48]
push edx
push ebx
call dword [sym.imp.ole32.dll_CLSIDFromString]
movzx eax, byte [edi + 0x31]
movzx ecx, byte [edi + 0x30]
movzx edx, byte [edi + 0x2f]
push eax
movzx eax, byte [edi + 0x2e]
push ecx
movzx ecx, byte [edi + 0x2d]
push edx
movzx edx, byte [edi + 0x2c]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0041a513
mov eax, dword [ebp]
mov edx, dword [esp + 0xa4]
lea ecx, [eax + eax*8]
lea eax, [ebp + ecx*2 + 0x194]
mov dword [eax], edx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xac]
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xb0]
add esp, 0x20
mov dword [eax + 0xc], ecx
mov dl, byte [esp + 0x94]
push 0
mov byte [eax + 0x10], dl
lea eax, [esp + 0x20]
push eax
push 0x12
lea ecx, [esp + 0x7c]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push 0x170002
push esi
mov dword [esp + 0x34], 0x1010101
call ebx
test eax, eax
je 0x411f09
movzx eax, byte [esp + 0x75]
movzx ecx, byte [esp + 0x74]
movzx edx, byte [esp + 0x73]
push eax
movzx eax, byte [esp + 0x76]
push ecx
movzx ecx, byte [esp + 0x79]
push edx
movzx edx, byte [esp + 0x7c]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0041a513
mov eax, dword [ebp]
mov edx, dword [esp + 0xa4]
lea ecx, [eax + eax*8]
lea eax, [ebp + ecx*2 + 0x2c]
mov dword [eax], edx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0xc], ecx
mov dl, byte [esp + 0xb4]
add esp, 0x20
mov byte [eax + 0x10], dl
xor eax, eax
push eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov word [esp + 0x84], ax
lea eax, [esp + 0x20]
push eax
push 0x12
lea ecx, [esp + 0x7c]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push 0x170002
push esi
mov dword [esp + 0x34], 0x1010102
call ebx
test eax, eax
je 0x411fc5
movzx eax, byte [esp + 0x75]
movzx ecx, byte [esp + 0x74]
movzx edx, byte [esp + 0x73]
push eax
movzx eax, byte [esp + 0x76]
push ecx
movzx ecx, byte [esp + 0x79]
push edx
movzx edx, byte [esp + 0x7c]
push eax
push ecx
push edx
lea eax, [esp + 0x9c]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.0041a513
mov eax, dword [ebp]
mov edx, dword [esp + 0xa4]
lea ecx, [eax + eax*8]
lea eax, [ebp + ecx*2 + 0xe0]
mov dword [eax], edx
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 0xc], ecx
mov dl, byte [esp + 0xb4]
add esp, 0x20
mov byte [eax + 0x10], dl
mov eax, dword [ebp]
mov ecx, dword [edi + 0x24]
shl eax, 8
lea edx, [eax + ebp + 0x248]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x411fd5
push 0
lea ecx, [esp + 0x20]
push ecx
push 4
lea edx, [esp + 0x2c]
push edx
push 4
lea eax, [esp + 0x28]
push eax
push 0x170002
push esi
mov dword [esp + 0x34], 0x1010e
call ebx
test eax, eax
je 0x412024
test byte [esp + 0x20], 0x20
je 0x412024
mov ecx, dword [ebp]
mov dword [ebp + ecx*4 + 0x1738], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp]
jmp 0x41203b
test esi, esi
je 0x41203b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi + 8]
test edi, edi
jne 0x411d72
mov eax, dword [ebp]
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00418878
add esp, 0x98
ret 4