Function at 0x180006a40
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1800680c0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x20], esi
mov r8d, 1
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
cmp eax, 0x7a
jne 0x180006ddd
mov edx, dword [rsp + 0x20]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
jne 0x180006dd4
test rbx, rbx
je 0x180006ddd
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
movups xmmword [rbp + 0x20], xmm1
movups xmmword [rbp + 0x30], xmm1
movups xmmword [rbp + 0x40], xmm1
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
mov r14d, esi
mov r15d, esi
cmp dword [rbx], esi
jbe 0x180006d32
lea r12, str.0.0.0.0
mov eax, esi
imul r13, rax, 0x38
add r13, rbx
mov ecx, dword [r13 + 4]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x80
lea rcx, [rsp + 0x50]
call fcn.180030008
mov ecx, dword [r13 + 8]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x80
lea rcx, [rbp - 0x30]
call fcn.180030008
mov ecx, dword [r13 + 0x10]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, 0x80
lea rcx, [rbp + 0x50]
call fcn.180030008
xor ecx, ecx
lea rdx, [rsp + 0x50]
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r12 + rcx - 1]
jne 0x180006c42
cmp rcx, 8
jne 0x180006bf0
xor eax, eax
lea rdx, [rbp - 0x30]
nop word [rax + rax]
movzx ecx, byte [rdx + rax]
inc rax
cmp cl, byte [r12 + rax - 1]
jne 0x180006c42
cmp rax, 8
jne 0x180006c10
test esi, esi
jne 0x180006c32
mov r15d, dword [rbx + 0x28]
mov r14d, dword [rbx + 0x14]
jmp 0x180006c42
mov eax, dword [r13 + 0x28]
cmp r15d, eax
jbe 0x180006c42
mov r15d, eax
mov r14d, dword [r13 + 0x14]
inc esi
cmp esi, dword [rbx]
jb 0x180006b81
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
test r14d, r14d
je 0x180006d0f
mov ecx, 0x104
call fcn.180023d04
mov rbx, rax
mov dword [rsp + 0x20], 0x104
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpAddrTable]
mov rcx, rbx
call fcn.18002368c
mov ecx, dword [rsp + 0x20]
call fcn.180023d04
mov rbx, rax
mov r8d, 1
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpAddrTable]
test eax, eax
jne 0x180006d07
xor edx, edx
mov r8d, dword [rbx]
test r8d, r8d
je 0x180006d07
lea rcx, [rbx + 4]
cmp r14d, dword [rcx + 4]
je 0x180006cd4
inc edx
add rcx, 0x18
cmp edx, r8d
jb 0x180006cc1
jmp 0x180006d07
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
test rax, rax
je 0x180006d07
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180006cf0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.180007840
mov rcx, rbx
call fcn.18002368c
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm1
jmp 0x180006da1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], r14b
jne 0x180006d50
xor edx, edx
mov rcx, rdi
call fcn.180004610
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180006da1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e2a
call fcn.18002368c
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.180023640
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x180006da1
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180006d9c
call fcn.1800299a4
int3