Function at 0x40ae60
Capabilities:
Get routing table

Disassembly:
push 0xffffffffffffffff
push 0x417148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x38]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
xor ebx, ebx
push 0x424ad0
push eax
mov byte [esp + 0x34], 6
mov dword [esp + 0x28], ebx
call ebp
add esp, 8
test eax, eax
je 0x40b056
mov ecx, dword [esp + 0x3c]
push 0x424ad0
push ecx
call ebp
add esp, 8
test eax, eax
je 0x40b056
lea edx, [esp + 0x20]
push 1
push edx
push ebx
call sub.iphlpapi.dll_GetIpForwardTable
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x40afe4
lea ecx, [esp + 0x20]
push 1
push ecx
push edi
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, ebx
jne 0x40b04d
cmp dword [edi], ebx
jle 0x40afdb
lea esi, [edi + 4]
mov eax, dword [esi]
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea edx, [esp + 0x1c]
push 0x421abc
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 4]
add esp, 0xc
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea eax, [esp + 0x18]
push 0x421abc
push eax
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0xc]
add esp, 0xc
push eax
call sub.WS2_32.dll_inet_ntoa
push eax
lea ecx, [esp + 0x14]
push 0x421abc
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
push edx
push eax
call ebp
add esp, 0x14
test eax, eax
jne 0x40afcd
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
push ecx
push edx
call ebp
add esp, 8
test eax, eax
jne 0x40afcd
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x40afcd
push esi
call sub.iphlpapi.dll_DeleteIpForwardEntry
test eax, eax
jne 0x40afdb
mov eax, dword [edi]
inc ebx
add esi, 0x38
cmp ebx, eax
jl 0x40af3a
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x40b0be
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc