Function at 0x4df7b0
Capabilities:
Get local ipv4 addresses
Get routing table

Disassembly:
sub esp, 0xac
mov eax, dword [0x64aa84]
push ebx
push ebp
push esi
mov ebp, ecx
mov dword [esp + 0xb4], eax
push edi
lea eax, [ebp + 0x47c]
push eax
push 0xdadadada
mov dword [esp + 0x1c], ebp
call sub.iphlpapi.dll_GetBestInterface
call fcn.0052e5e0
cmp eax, 4
je 0x4df8ce
call fcn.0052e5e0
cmp eax, 3
je 0x4df8ce
lea eax, [esp + 0x14]
push eax
push 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4df83b
mov ecx, dword [esp + 0x14]
push ecx
call fcn.005abeeb
add esp, 4
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x20], eax
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4df8b4
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4dfacc
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
mov eax, dword [edi + 0x1a0]
cmp eax, 6
je 0x4df861
cmp eax, 0x17
jne 0x4df8ae
lea eax, [edi + 0x1b0]
push eax
call ebx
lea ecx, [edi + 0x1d8]
push ecx
mov esi, eax
call ebx
mov cl, byte [ebp + 0x476]
test cl, cl
jne 0x4df8ae
test esi, esi
je 0x4df8ae
cmp esi, 0xffffffff
je 0x4df8ae
test eax, eax
je 0x4df8ae
cmp eax, 0xffffffff
je 0x4df8ae
mov cl, byte [esp + 0x13]
test cl, cl
mov byte [ebp + 0x476], 1
mov dword [ebp + 0x478], eax
mov dword [ebp], esi
jne 0x4df8ae
mov byte [esp + 0x13], 1
mov edi, dword [edi]
test edi, edi
jne 0x4df851
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dfacc
push eax
call fcn.005abee6
add esp, 4
jmp 0x4dfacc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor ebp, ebp
push 0x3c
push ebp
mov dword [esp + 0x20], ebp
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call ebx
mov esi, eax
cmp esi, ebp
je 0x4dfb3a
push ebp
lea edx, [esp + 0x1c]
push edx
push esi
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, 0x7a
jne 0x4df923
push esi
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x18]
push eax
push ebp
call edi
push eax
call ebx
mov esi, eax
cmp esi, ebp
je 0x4dfb3a
push ebp
lea ecx, [esp + 0x1c]
push ecx
push esi
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x4dfb2f
mov edx, dword [esi]
push edx
push str._tNumber_of_entries:__d_n
call fcn.0057c7bf
mov eax, dword [esi]
add esp, 8
test eax, eax
jle 0x4df9ad
mov ebx, dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edi, [esi + 0x10]
mov eax, dword [edi - 0xc]
test eax, eax
jne 0x4df997
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0x47c]
add eax, 0x47c
cmp ecx, edx
jne 0x4df997
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x478], edx
mov eax, dword [edi]
push 0x80
push eax
call ebx
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.0057c5e0
add esp, 0xc
mov eax, dword [esi]
inc ebp
add edi, 0x38
cmp ebp, eax
jl 0x4df956
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor esi, esi
push 0x90
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], 0x90
call edi
push eax
call ebx
mov edi, eax
cmp edi, esi
je 0x4dfb3a
push 0x5fc7c8
call dword [0x652c2c]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
je 0x4dfa36
push str.GetAdaptersAddresses
push ebp
call dword [0x652bf0]
mov esi, eax
test esi, esi
je 0x4dfa36
lea edx, [esp + 0x1c]
push edx
push edi
push 0
push 0x10
push 2
call esi
cmp eax, 0x6f
jne 0x4dfa36
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x1c]
push eax
push 0
call edi
push eax
call ebx
mov edi, eax
test edi, edi
je 0x4dfb22
lea ecx, [esp + 0x1c]
push ecx
push edi
push 0
push 0x10
push 2
call esi
test eax, eax
jne 0x4dfae0
mov ebx, dword [esp + 0x14]
mov esi, edi
lea ebx, [ebx]
mov eax, dword [ebx + 0x47c]
cmp dword [esi + 4], eax
jne 0x4dfaa6
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x4dfaa6
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x4dfa9b
mov edx, dword [eax]
mov ebp, dword [eax + 8]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
test edx, edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
je 0x4dfa9b
cmp edx, 0xffffffff
je 0x4dfa9b
mov dword [ebx], edx
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x4dfa72
mov ebp, dword [esp + 0x24]
mov esi, dword [esi + 8]
test esi, esi
jne 0x4dfa60
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
je 0x4dfac8
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x14]
mov eax, dword [0x661414]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x4dfb3a
mov ecx, dword [ebp]
mov dword [eax + 0x18], ecx
jmp 0x4dfb3a
cmp eax, 0xe8
je 0x4dfaad
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 0x400
push eax
push 0
push 0x1300
call dword [0x652bac]
test eax, eax
je 0x4dfaad
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test ebp, ebp
je 0x4dfb3a
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4dfb3a
push esi
push ebp
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0xb8]
pop edi
pop esi
pop ebp
pop ebx
call fcn.0057981f
add esp, 0xac
ret 4