Function at 0x101680c
Capabilities:
Get routing table

Disassembly:
mov eax, 0x102832f
call fcn.01022df8
sub esp, 0x30
or dword [ebp - 0x2c], 0xffffffff
push ebx
push esi
push edi
xor ebx, ebx
push 3
mov edi, ecx
pop esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
call fcn.01015e47
cmp eax, ebx
mov dword [ebp - 0x24], eax
jl 0x1016b08
push 1
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
dec esi
call sub.iphlpapi.dll_GetIpForwardTable
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x1016886
cmp eax, 0x7a
jne 0x1016886
cmp dword [ebp - 0x10], ebx
je 0x1016872
push dword [ebp - 0x10]
call sub.MFC42u.DLL_operatordelete
pop ecx
push dword [ebp - 0x1c]
call sub.MFC42u.DLL_operatornew
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x10168b9
cmp esi, ebx
ja 0x1016849
cmp dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
mov dword [eax], 1
je 0x10168de
push 0x30b
push 0x10047d8
call fcn.0100c9d4
push dword [ebp - 0x14]
push 0x1004b94
call fcn.0100cb2d
pop ecx
jmp 0x1016af9
push 0x2fb
push 0x10047d8
call fcn.0100c9d4
push 0x10047c8
call fcn.0100cb4a
mov dword [ebp - 0x24], 0x8007000e
jmp 0x1016af9
mov esi, dword [ebp - 0x10]
cmp esi, ebx
je 0x1016ae0
cmp dword [ebp - 0x1c], ebx
je 0x1016ae0
cmp dword [esi], ebx
mov dword [ebp - 0x14], ebx
jbe 0x1016afa
add esi, 4
mov eax, dword [esi + 0x14]
cmp eax, 2
mov dword [ebp + 8], ebx
je 0x1016a34
cmp eax, 1
je 0x1016a34
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [esi], eax
jne 0x1016a34
push ebx
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [esi + 4], eax
jne 0x1016a34
mov eax, dword [esi + 0x10]
cmp eax, dword [edi + 0x24]
jne 0x101695c
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x1016951
mov ecx, dword [ebp - 0x2c]
cmp dword [esi + 0x24], ecx
jae 0x101695c
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x2c], eax
jmp 0x101695f
mov dword [ebp + 8], esi
cmp dword [ebp + 8], ebx
je 0x1016a34
push dword [esi]
lea eax, [ebp - 0x38]
push eax
call fcn.01015ccb
push dword [esi + 4]
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 4], ebx
call fcn.01015ccb
push dword [esi + 0xc]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.01015ccb
push 0x351
push 0x10047d8
mov byte [ebp - 4], 2
call fcn.0100c9d4
push dword [esi + 0x24]
lea ecx, [ebp - 0x30]
push dword [esi + 0x10]
push dword [esi + 0x14]
push ebx
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ebx
lea ecx, [ebp - 0x34]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ebx
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push dword [ebp - 0x14]
push 0x1004bd8
call fcn.0100cb2d
add esp, 0x20
push dword [ebp + 8]
call sub.iphlpapi.dll_DeleteIpForwardEntry
mov edi, eax
cmp edi, ebx
je 0x1016a0b
push 0x35f
push 0x10047d8
call fcn.0100c9d4
push edi
push 0x1004bb4
call fcn.0100cb4a
inc dword [ebp - 0x20]
pop ecx
pop ecx
jmp 0x1016a0e
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [ebp - 0x3c]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add esi, 0x38
cmp ecx, dword [eax]
jb 0x1016900
cmp dword [ebp - 0x18], ebx
jbe 0x1016a55
mov ecx, dword [edi + 4]
call fcn.0100de4c
cmp dword [ebp - 0x20], ebx
jbe 0x1016a95
mov ecx, dword [edi + 4]
push 0x5025
lea eax, [ebp + 8]
push eax
call fcn.0100cd2b
push ebx
mov ecx, eax
mov dword [ebp - 4], 3
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [edi + 4]
call fcn.0100d4b2
lea ecx, [ebp + 8]
jmp 0x1016ad2
cmp dword [ebp - 0x18], ebx
jbe 0x1016afa
mov ecx, dword [edi + 4]
push 0x5026
lea eax, [ebp - 0x14]
push eax
call fcn.0100cd2b
push ebx
mov ecx, eax
mov dword [ebp - 4], 4
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push ebx
push dword [edi + 4]
call fcn.0100d4b2
lea ecx, [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add esp, 0xc
call sub.MFC42u.DLL_CString::CString
jmp 0x1016afa
push 0x311
push 0x10047d8
call fcn.0100c9d4
push 0x1004860
call fcn.0100cb2d
pop ecx
cmp dword [ebp - 0x10], ebx
je 0x1016b08
push dword [ebp - 0x10]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8