Function at 0x1015fa6
Capabilities:
Get routing table

Disassembly:
mov eax, 0x10282f8
call fcn.01022df8
sub esp, 0x3c
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
call fcn.01015e47
cmp eax, ebx
mov dword [ebp - 0x18], eax
jl 0x1016099
dec dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
call sub.iphlpapi.dll_GetIpForwardTable
mov edi, eax
cmp edi, ebx
je 0x10160e3
cmp edi, 0x7a
jne 0x1016024
cmp dword [ebp - 0x10], ebx
je 0x101600b
push dword [ebp - 0x10]
call sub.MFC42u.DLL_operatordelete
pop ecx
push dword [ebp - 0x20]
call sub.MFC42u.DLL_operatornew
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x10160c0
cmp dword [ebp - 0x14], ebx
ja 0x1015fdd
mov ecx, dword [esi + 4]
push 0x5022
lea eax, [ebp + 0xc]
push eax
call fcn.0100cd2b
push ebx
mov ecx, eax
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1002250
call sub.MFC42u.DLL_CString::CString_3
push 2
push dword [esi + 4]
call fcn.0100d4b2
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp + 0xc]
call sub.MFC42u.DLL_CString::CString
push 0x192
push 0x10047d8
call fcn.0100c9d4
push edi
push 0x1004b94
call fcn.0100cb2d
cmp edi, ebx
pop ecx
pop ecx
jle 0x1016096
and edi, 0xffff
or edi, 0x80070000
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov dword [eax], ebx
cmp dword [ebp - 0x10], ebx
je 0x10160ac
push dword [ebp - 0x10]
call sub.MFC42u.DLL_operatordelete
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push 0x185
push 0x10047d8
call fcn.0100c9d4
push 0x10047c8
call fcn.0100cb4a
pop ecx
mov dword [ebp - 0x18], 0x8007000e
jmp 0x1016099
cmp dword [ebp - 0x10], ebx
je 0x101674a
cmp dword [ebp - 0x20], ebx
je 0x101674a
push 0x1aa
mov ebx, 0x10047d8
push ebx
call fcn.0100c9d4
push 0x1004b80
call fcn.0100cb2d
mov dword [esp], 0x1ab
push ebx
call fcn.0100c9d4
push 0x1004b30
call fcn.0100cb2d
mov dword [esp], 0x1ac
push ebx
call fcn.0100c9d4
push 0x1004ae0
call fcn.0100cb2d
mov dword [esp], 0x1ad
push ebx
call fcn.0100c9d4
push 0x1004a90
call fcn.0100cb2d
mov edi, dword [ebp - 0x10]
and dword [ebp - 0x14], 0
cmp dword [edi], 0
pop ecx
jbe 0x1016217
add edi, 8
push dword [edi - 4]
lea eax, [ebp - 0x28]
push eax
call fcn.01015ccb
push dword [edi]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 4], 2
call fcn.01015ccb
push dword [edi + 8]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 3
call fcn.01015ccb
push 0x1b5
push ebx
mov byte [ebp - 4], 4
call fcn.0100c9d4
push dword [edi + 0x20]
lea ecx, [ebp - 0x18]
push dword [edi + 0xc]
push dword [edi + 0x10]
push 0
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push 0
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push dword [ebp - 0x14]
push 0x1004a64
call fcn.0100cb2d
add esp, 0x20
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add edi, 0x38
cmp ecx, dword [eax]
jb 0x1016168
push 0x1c1
push ebx
call fcn.0100c9d4
push 0x1004b30
call fcn.0100cb2d
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp - 0x10]
cmp dword [edi], 0
pop ecx
jbe 0x10163d8
add edi, 4
mov eax, dword [edi + 0x14]
cmp eax, 2
je 0x10163c4
cmp eax, 1
je 0x10163c4
push 0
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi], eax
jne 0x10162bf
push 0
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi + 4], eax
jne 0x10162bf
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x24]
jne 0x101629d
push 0x1db
push ebx
call fcn.0100c9d4
push 0x1004a50
call fcn.0100cb2d
inc dword [ebp - 0x48]
pop ecx
jmp 0x10163c4
push 0x1e2
push ebx
call fcn.0100c9d4
push 0x1004a18
call fcn.0100cb2d
pop ecx
mov dword [ebp - 0x2c], 1
jmp 0x10163c4
push 0x7f000000
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi], eax
jne 0x1016322
push 0xff000000
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi + 4], eax
jne 0x1016322
push 0x7f000001
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi + 0xc], eax
je 0x1016300
push 0x1ee
push ebx
call fcn.0100c9d4
push 0x10049e8
jmp 0x1016370
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x28]
je 0x101631a
push 0x1f2
push ebx
call fcn.0100c9d4
push 0x10049b8
jmp 0x1016370
inc dword [ebp - 0x44]
jmp 0x10163c4
mov eax, dword [edi]
cmp eax, dword [esi + 0x14]
jne 0x101637d
push 0xffffffffffffffff
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi + 4], eax
jne 0x101637d
push 0x7f000001
call dword [sym.imp.WS2_32.dll_ntohl]
cmp dword [edi + 0xc], eax
je 0x1016358
push 0x201
push ebx
call fcn.0100c9d4
push 0x1004988
jmp 0x1016370
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x28]
je 0x1016378
push 0x205
push ebx
call fcn.0100c9d4
push 0x1004954
call fcn.0100cb2d
pop ecx
jmp 0x10163c4
inc dword [ebp - 0x40]
jmp 0x10163c4
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov edx, eax
and edx, ecx
cmp dword [edi], edx
jne 0x10163c4
cmp dword [edi + 4], eax
jne 0x10163c4
cmp dword [edi + 0xc], ecx
je 0x10163a7
push 0x214
push ebx
call fcn.0100c9d4
push 0x1004924
jmp 0x1016370
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x24]
je 0x10163c1
push 0x218
push ebx
call fcn.0100c9d4
push 0x10048ec
jmp 0x1016370
inc dword [ebp - 0x3c]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add edi, 0x38
cmp ecx, dword [eax]
jb 0x1016249
mov ecx, dword [esi + 4]
xor eax, eax
cmp dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
je 0x1016436
push 0x5024
lea eax, [ebp - 0x2c]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov dword [ebp - 4], 5
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [esi + 4]
call fcn.0100d4b2
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x2c]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [ebp + 0xc]
mov dword [edi], 8
jmp 0x1016523
push dword [0x102e3b8]
cmp dword [ebp - 0x48], eax
lea eax, [ebp - 0x28]
push eax
jne 0x10164b5
call fcn.0100cd2b
push 0
mov ecx, eax
mov dword [ebp - 4], 6
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 0x501b
lea eax, [ebp - 0x2c]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov byte [ebp - 4], 7
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [esi + 4]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [ebp + 0xc]
mov dword [edi], 3
jmp 0x1016523
call fcn.0100cd2b
cmp dword [ebp - 0x48], 1
jbe 0x101652a
push 8
pop ebx
push 0
mov ecx, eax
mov dword [ebp - 4], ebx
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 0x5023
lea eax, [ebp - 0x2c]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov byte [ebp - 4], 9
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [esi + 4]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [ebp + 0xc]
mov dword [edi], ebx
xor ebx, ebx
jmp 0x10167c4
xor edi, edi
push edi
mov ecx, eax
mov dword [ebp - 4], 0xa
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 0x501c
lea eax, [ebp - 0x2c]
push eax
call fcn.0100cd2b
push edi
mov ecx, eax
mov byte [ebp - 4], 0xb
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push edi
push dword [esi + 4]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xa
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call sub.MFC42u.DLL_CString::CString
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x14]
shl eax, 2
mov ecx, dword [ebp + eax - 0x48]
test ecx, ecx
push dword [eax + 0x102e3b8]
jne 0x1016643
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x2c]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov dword [ebp - 4], 0xc
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 0x501b
lea eax, [ebp + 0xc]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov byte [ebp - 4], 0xd
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [esi + 4]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call sub.MFC42u.DLL_CString::CString
push 0x26a
push ebx
call fcn.0100c9d4
push dword [ebp - 0x14]
push 0x10048c4
call fcn.0100cb2d
pop ecx
pop ecx
mov dword [ebp - 0x1c], 1
mov dword [edi], 3
jmp 0x1016739
cmp ecx, 1
mov ecx, dword [esi + 4]
jbe 0x10166d0
lea eax, [ebp - 0x24]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov dword [ebp - 4], 0xe
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 0x5023
lea eax, [ebp - 0x28]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov byte [ebp - 4], 0xf
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 1
push dword [esi + 4]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42u.DLL_CString::CString
push 0x27b
push ebx
call fcn.0100c9d4
push dword [ebp - 0x14]
push 0x1004898
jmp 0x101662a
lea eax, [ebp - 0x34]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov dword [ebp - 4], 0x10
call sub.MFC42u.DLL_CString::GetBuffer
mov ecx, dword [esi + 4]
push eax
push 0x501c
lea eax, [ebp - 0x30]
push eax
call fcn.0100cd2b
push 0
mov ecx, eax
mov byte [ebp - 4], 0x11
call sub.MFC42u.DLL_CString::GetBuffer
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call sub.MFC42u.DLL_CString::CString_3
push 0
push dword [esi + 4]
call fcn.0100d4b2
add esp, 0x10
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x10
call sub.MFC42u.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call sub.MFC42u.DLL_CString::CString
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jb 0x1016593
xor ebx, ebx
jmp 0x10167bb
mov ecx, dword [esi + 4]
push 0x5021
lea eax, [ebp - 0x2c]
push eax
call fcn.0100cd2b
xor edi, edi
inc edi
push ebx
mov ecx, eax
mov dword [ebp - 4], edi
call sub.MFC42u.DLL_CString::GetBuffer
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x1002250
call sub.MFC42u.DLL_CString::CString_3
push edi
push dword [esi + 4]
call fcn.0100d4b2
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x2c]
call sub.MFC42u.DLL_CString::CString
push 0x19e
push 0x10047d8
call fcn.0100c9d4
push 0x1004860
call fcn.0100cb2d
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp + 0xc]
pop ecx
mov dword [edi], 3
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x1c], ebx
je 0x1016099
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
mov dword [ecx], eax
cmp dword [edi], 8
jne 0x10167e1
cmp dword [esi + 0xc], ebx
je 0x10167de
mov dword [ecx], 2
jmp 0x10167e1
mov dword [esi + 0xc], eax
cmp dword [edi], 3
jne 0x101609e
cmp dword [esi + 8], ebx
jne 0x10167fc
cmp dword [esi + 0x20], ebx
je 0x10167fc
mov dword [esi + 8], eax
jmp 0x101609e
mov dword [ecx], 2
jmp 0x101609e