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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2fc
mov dword [ebp - 0x60], 0
mov ecx, 0x55be7a
call fcn.0051a674
mov al, byte [0x543d12]
mov byte [ebp - 0x204], al
push 0x103
push 0
lea ecx, [ebp - 0x203]
push ecx
call fcn.004efcf0
add esp, 0xc
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x20], 0x6f
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x50], 0x3a98
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x64], edx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
push eax
push 0
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x422a80
jmp 0x422adf
lea edx, [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6f
jne 0x422ac4
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0x6f
jmp 0x422ac6
jmp 0x422adf
mov ecx, dword [ebp - 0x54]
add ecx, 1
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x20], 0x6f
jne 0x422adf
cmp dword [ebp - 0x54], 3
jb 0x422a56
cmp dword [ebp - 0x20], 0
jne 0x422f0e
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x422f0c
lea ecx, [ebp - 0xd0]
call fcn.00422010
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
je 0x422b3d
mov dword [ebp - 0x14], 0
jmp 0x422b2c
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x24], 0
je 0x422b3d
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x24], ecx
jmp 0x422b23
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x422b6f
mov dword [ebp - 0x14], 0
jmp 0x422b5e
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x28], 0
je 0x422b6f
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 8]
mov dword [ebp - 0x28], eax
jmp 0x422b55
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x422ba1
mov dword [ebp - 0x14], 0
jmp 0x422b90
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x2c], 0
je 0x422ba1
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x2c], edx
jmp 0x422b87
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x30], 0
je 0x422bd3
mov dword [ebp - 0x14], 0
jmp 0x422bc2
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x30], 0
je 0x422bd3
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
jmp 0x422bb9
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xc], 0
je 0x422e9d
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
movsx ecx, byte [eax + ecx]
test ecx, ecx
je 0x422e9d
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00403f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe8]
push ecx
call fcn.00422400
add esp, 4
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.00403e90
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x34], 6
jne 0x422cbb
mov eax, 1
imul ecx, eax, 5
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
shl ecx, 2
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 3
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x308]
push eax
call fcn.004235b0
add esp, 0x20
jmp 0x422d63
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x34], 8
jne 0x422d63
mov edx, 1
imul eax, edx, 7
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 6
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
mov ecx, 1
imul edx, ecx, 5
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx + 0x2c]
push ecx
mov edx, 1
imul eax, edx, 3
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax + 0x2c]
push edx
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + ecx + 0x2c]
push eax
push str._02X__02X__02X__02X__02X__02X__02X__02X
lea ecx, [ebp - 0x308]
push ecx
call fcn.004235b0
add esp, 0x28
lea edx, [ebp - 0x308]
push edx
lea ecx, [ebp - 0xd0]
call fcn.00405390
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
add edx, 2
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
mov word [ebp - 0x4a], cx
add dword [ebp - 0x34], 2
cmp word [ebp - 0x4a], 0
jne 0x422d87
mov edx, dword [ebp - 0x34]
sub edx, dword [ebp - 0x74]
sar edx, 1
mov dword [ebp - 0x78], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
add eax, 1
push eax
call fcn.004ec357
add esp, 4
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x58]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x48]
push eax
call fcn.004efcf0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
add eax, 2
mov dword [ebp - 0x80], eax
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx]
mov word [ebp - 0x4c], dx
add dword [ebp - 0x38], 2
cmp word [ebp - 0x4c], 0
jne 0x422e06
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x80]
sar eax, 1
mov dword [ebp - 0x84], eax
push 0
push 0
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x24]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0xb8]
call fcn.00405390
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
mov dword [ebp - 0x9c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x34]
mov dword [ebp - 0x98], ecx
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x88], edx
push 1
mov eax, dword [ebp - 0x88]
push eax
call fcn.004ec0a0
add esp, 8
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004231d0
mov dword [ebp - 0x14], 0
jmp 0x422eaf
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x10
jae 0x422eb7
jmp 0x422ea6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x8c]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0
je 0x422eec
mov dword [ebp - 0x14], 0
jmp 0x422edb
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x3c], 0
je 0x422eec
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x3c], ecx
jmp 0x422ed2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.00422970
jmp 0x422aef
jmp 0x422f24
push 4
push str.:1:_d
lea ecx, [ebp - 0x204]
push ecx
call fcn.004235b0
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x422f3d
mov edx, dword [ebp - 0x18]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebp - 0x204]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x543d13
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx]
mov byte [ebp - 0x19], dl
mov eax, dword [ebp - 0x44]
cmp dl, byte [eax]
jne 0x422f8a
cmp byte [ebp - 0x19], 0
je 0x422f81
mov ecx, dword [ebp - 0x40]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x1a], dl
mov eax, dword [ebp - 0x44]
cmp dl, byte [eax + 1]
jne 0x422f8a
add dword [ebp - 0x40], 2
add dword [ebp - 0x44], 2
cmp byte [ebp - 0x1a], 0
jne 0x422f4d
mov dword [ebp - 0x5c], 0
jmp 0x422f92
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 0
je 0x423000
push 4
push str.:2:_d
lea eax, [ebp - 0x204]
push eax
call fcn.004235b0
add esp, 0xc
mov ecx, dword [ebp + 0xc]
call fcn.00423150
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.004225e0
add esp, 8
lea ecx, [ebp - 0x100]
call fcn.00403d30
push eax
push 0x544a34
lea eax, [ebp - 0x204]
push eax
call fcn.004235b0
add esp, 0xc
lea ecx, [ebp - 0x100]
call fcn.00403e90
lea ecx, [ebp - 0x204]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00403f30
mov edx, dword [ebp - 0x60]
or edx, 1
mov dword [ebp - 0x60], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret