Function at 0x420fb0
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4ce540]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0xc]
push eax
push edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
xor ebx, ebx
mov dword [ebp - 0x14], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, edi
je 0x42104a
cmp eax, 0x6f
je 0x42104a
cmp eax, 0xe8
je 0x4213af
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, 0x20000000
je 0x421024
cmp eax, edi
jle 0x4213d5
and eax, 0xffff
or eax, 0xa0070000
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265ea
mov esp, ebp
pop ebp
ret
cmp eax, edi
jle 0x4213d5
and eax, 0xffff
or eax, 0x80070000
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265ea
mov esp, ebp
pop ebp
ret
cmp eax, 0xe8
je 0x4213af
xor ecx, ecx
mov eax, 0x400
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004261ca
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
cmp ebx, edi
jne 0x421086
mov esi, 0x8007000e
jmp 0x4213c6
push 0x800
push edi
push ebx
call fcn.00427b00
mov eax, dword [ebp - 0xc]
inc eax
push eax
call fcn.004261ca
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x18], esi
cmp esi, edi
jne 0x4210b2
mov esi, 0x8007000e
jmp 0x4213b6
mov ecx, dword [ebp - 0xc]
inc ecx
push ecx
push edi
push esi
call fcn.00427b00
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x421114
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, 0x20000000
je 0x4210f8
cmp eax, edi
jg 0x4210e7
mov esi, eax
jmp 0x4213b6
and eax, 0xffff
or eax, 0xa0070000
mov esi, eax
jmp 0x4213b6
cmp eax, edi
jg 0x421103
mov esi, eax
jmp 0x4213b6
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x4213b6
mov dword [ebp - 8], esi
jmp 0x421120
mov edi, dword [ebp - 8]
xor esi, esi
cmp dword [edi + 0x1a4], 1
jne 0x421133
mov esi, 4
lea eax, [edi + 0x1b0]
push str.0.0.0.0
push eax
call fcn.004391f0
add esp, 8
test eax, eax
je 0x42114e
or esi, 2
lea eax, [edi + 0x1d8]
push str.0.0.0.0
push eax
call fcn.004391f0
add esp, 8
test eax, eax
je 0x421169
or esi, 1
mov ecx, esi
and ecx, 3
cmp cl, 3
jne 0x42117c
cmp dword [ebp - 0x10], 0
jne 0x42117c
mov dword [ebp - 0x10], edi
cmp esi, 7
jne 0x421186
lea eax, [esi - 4]
jmp 0x4211a3
cmp esi, 3
jne 0x421190
lea eax, [esi - 1]
jmp 0x4211a3
cmp esi, 1
je 0x42119e
cmp esi, 4
je 0x42119e
xor eax, eax
jmp 0x4211a3
mov eax, 1
mov ecx, dword [ebp - 8]
mov edi, dword [ecx + 0x1a0]
sub edi, 6
neg edi
sbb edi, edi
and edi, 0xfffffff7
add edi, 0xa
lea esi, [ecx + 8]
imul edi, eax
call fcn.00414130
test eax, eax
je 0x4212f9
cmp edi, dword [ebp - 0x14]
jbe 0x4211da
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edx
test edi, edi
jbe 0x4212f9
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4211e7
sub eax, edx
sar eax, 1
add eax, 0x11
cmp eax, 0x400
ja 0x421309
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421210
sub eax, edx
sar eax, 1
mov edi, 0x4c8994
jne 0x42122b
mov edi, 0x4c664c
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421230
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421246
push edi
sub eax, esi
mov ecx, 0x400
sub ecx, edx
sar eax, 1
push 0x4c7554
push ecx
lea edx, [ebx + eax*2]
push edx
call fcn.004266d6
mov eax, dword [ebp - 8]
add esp, 0x10
add eax, 0x1b0
je 0x4212b2
mov eax, dword [ebp - 8]
add eax, 0x1b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x421297
xor eax, eax
jmp 0x4212b2
lea eax, [edi + edi]
call fcn.00434de0
mov eax, dword [ebp - 8]
mov esi, esp
push 3
mov edx, edi
add eax, 0x1b0
call fcn.00414ed0
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4212b7
sub ecx, esi
sar ecx, 1
mov esi, ecx
mov ecx, ebx
lea edi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4212d0
push eax
sub ecx, edi
mov eax, 0x400
sar ecx, 1
push 0x4c7554
sub eax, esi
push eax
lea ecx, [ebx + ecx*2]
push ecx
call fcn.004266d6
add esp, 0x10
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
test eax, eax
jne 0x421120
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421310
sub eax, edx
sar eax, 1
inc eax
push eax
call fcn.004261ca
mov edi, eax
add esp, 4
test edi, edi
jne 0x421339
mov esi, 0x8007000e
jmp 0x4213b6
mov eax, ebx
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421340
sub eax, edx
sar eax, 1
inc eax
push eax
push 0
push edi
call fcn.00427b00
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x42136f
xor eax, eax
jmp 0x42138f
lea esi, [eax + eax]
mov eax, esi
call fcn.00434de0
mov eax, dword [ebp - 0x1c]
mov ebx, esp
mov ecx, esi
mov edx, 3
mov esi, ebx
call fcn.00414ea0
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x421394
sub ecx, esi
sar ecx, 1
push eax
inc ecx
push ecx
push edi
call fcn.0042e825
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor esi, esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4213c6
push eax
call fcn.00427598
add esp, 4
test ebx, ebx
je 0x4213d3
push ebx
call fcn.00427598
add esp, 4
mov eax, esi
lea esp, [ebp - 0x2c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004265ea
mov esp, ebp
pop ebp
ret