Function at 0x422af0
Capabilities:
Access peb ldr_data
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e561
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x46414c]
xor eax, esp
mov dword [esp + 0x2c8], eax
push ebx
push esi
push edi
mov eax, dword [0x46414c]
xor eax, esp
push eax
lea eax, [esp + 0x2e0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x40]
xor ebx, ebx
push ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edx, dword [0x46ecec]
mov esi, eax
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2e8], ebx
mov edx, dword [0x46ecec]
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x2e8], 1
mov cl, byte [0x45bbaf]
mov edx, dword [0x46ecec]
xor eax, eax
mov byte [esp + 0x2c4], cl
mov dword [esp + 0x2c5], eax
mov dword [esp + 0x2c9], eax
mov dword [esp + 0x2cd], eax
mov dword [esp + 0x2d1], eax
mov word [esp + 0x2d5], ax
mov byte [esp + 0x2d7], al
mov eax, dword [edx + 0xc]
mov ecx, 0x46ecec
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x2e8], 2
cmp esi, 0x6f
jne 0x422eab
mov ecx, dword [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [esp + 0x1c]
push edx
mov esi, eax
push 0
push esi
mov dword [esp + 0x44], esi
call fcn.00426020
add esp, 0xc
test esi, esi
je 0x422e9e
lea eax, [esp + 0x1c]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov edi, esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], edi
jmp 0x422c44
mov edi, dword [esp + 0x14]
lea ebx, [edi + 0x1b0]
lea eax, [esp + 0x28]
call fcn.00408bc0
lea ebx, [edi + 0x1c0]
lea eax, [esp + 0x18]
call fcn.00408bc0
cmp dword [esp + 0x24], 0
mov byte [esp + 0x2c4], 0
je 0x422ca5
xor esi, esi
cmp dword [edi + 0x190], esi
jbe 0x422ca5
lea ebx, [esp + 0x2c4]
movzx ecx, byte [edi + esi + 0x194]
push ecx
push str._02x
push ebx
call fcn.004251db
inc esi
add esp, 0xc
add ebx, 2
cmp esi, dword [edi + 0x190]
jb 0x422c82
mov edi, dword [esp + 0x28]
cmp dword [edi - 0xc], 0
jl 0x422ced
push str.0.1.0.
push edi
call fcn.00425b5b
add esp, 8
test eax, eax
je 0x422ccb
sub eax, edi
sar eax, 1
jns 0x422de5
cmp dword [edi - 0xc], 0
jl 0x422ced
push str.0.0.0.0
push edi
call fcn.00425b5b
add esp, 8
test eax, eax
je 0x422ced
sub eax, edi
sar eax, 1
jns 0x422de5
lea edx, [esp + 0x2c4]
push str.00000000000
push edx
call fcn.00426880
add esp, 8
test eax, eax
jne 0x422de5
cmp dword [edi - 0xc], eax
jl 0x422d63
push str.192.
push edi
call fcn.00425b5b
add esp, 8
test eax, eax
je 0x422d27
sub eax, edi
sar eax, 1
jns 0x422d75
cmp dword [edi - 0xc], 0
jl 0x422d63
push 0x45e924
push edi
call fcn.00425b5b
add esp, 8
test eax, eax
je 0x422d45
sub eax, edi
sar eax, 1
jns 0x422d75
cmp dword [edi - 0xc], 0
jl 0x422d63
push str.172.
push edi
call fcn.00425b5b
add esp, 8
test eax, eax
je 0x422d63
sub eax, edi
sar eax, 1
jns 0x422d75
mov ecx, str.255.255.
lea esi, [esp + 0x18]
call fcn.00415170
test eax, eax
jl 0x422dd9
mov edx, dword [esp + 0x24]
test edx, edx
je 0x422d92
lea eax, [esp + 0x2c4]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x422d88
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x422db4
mov ebx, dword [esp + 0x18]
lea eax, [esp + 0x10]
call fcn.00404e80
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi], eax
mov esi, dword [esp + 0x30]
test esi, esi
je 0x422dd4
mov ebx, edi
lea eax, [esp + 0x10]
call fcn.00404e80
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi], eax
cmp byte [esi], 0xc0
je 0x422dfa
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov dword [esp + 0x14], edx
jmp 0x422def
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x14], 0
jne 0x422c40
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
push edx
push 0
add esi, 0xf0000000
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x422eb3
mov byte [esp + 0x2e8], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2e8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2e8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422e97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x422f37
mov byte [esp + 0x2e8], 1
lea eax, [ebx - 0x10]
jmp 0x422e2f
add esi, 0xe0000000
jmp 0x422eb7
mov ebx, dword [esp + 0x10]
xor ecx, ecx
test esi, esi
sete cl
lea eax, [ebx - 0x10]
mov byte [esp + 0x2e8], 1
lea edx, [eax + 0xc]
mov esi, ecx
mov ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422ee6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2e8], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x2e8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422f35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x2e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2c8]
xor ecx, esp
call fcn.0042404d
mov esp, ebp
pop ebp
ret 4