Function at 0x14005fe80
Capabilities:
Get routing table

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x2f]
sub rsp, 0xc8
mov r12d, ecx
lea rdx, [rbp + 0x77]
xor ebx, ebx
xor esi, esi
xor ecx, ecx
mov qword [rbp - 0x11], rbx
mov dword [rbp + 0x77], ebx
xor r13d, r13d
lea r8d, [rsi + 1]
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
cmp eax, 0x7a
jne 0x14005ff36
mov ecx, dword [rbp + 0x77]
add rcx, 8
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140060161
lea r13, [rax + 8]
mov qword [rax], rbx
mov rcx, r13
mov qword [rbp - 0x19], rax
lea r8d, [rbx + 1]
lea rdx, [rbp + 0x77]
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov edi, eax
test eax, eax
je 0x14005ff36
cmp dword [0x1400cfe94], 3
jb 0x14005ff33
lea ecx, [rbx + 3]
call fcn.14000e3d0
test al, al
je 0x14005ff33
lea rdx, [rbp - 0x19]
mov ecx, edi
call fcn.14000ebf0
mov r8, rax
lea rdx, str.NOTE:_GetIpForwardTable_returned_error:__s__code_u_
mov r9d, edi
lea ecx, [rbx + 3]
call fcn.14000e000
mov rbx, qword [rbp - 0x11]
mov rsi, qword [rbp - 0x19]
xor r13d, r13d
mov eax, r12d
and eax, 0xf
cmp eax, dword [0x1400cfe94]
mov dword [rbp + 0x6f], eax
ja 0x14005ff65
mov ecx, r12d
call fcn.14000e3d0
test al, al
je 0x14005ff62
lea rdx, str.SYSTEM_ROUTING_TABLE
mov ecx, r12d
call fcn.14000e000
mov eax, dword [rbp + 0x6f]
test r12b, 0x10
je 0x14005ff77
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
int3
mov qword [rsp + 0x100], r14
mov qword [rsp + 0xc0], r15
test r13, r13
je 0x1400600f8
xor r15d, r15d
cmp dword [r13], r15d
jbe 0x1400600f8
lea r14, [r13 + 0x34]
cmp eax, dword [0x1400cfe94]
ja 0x1400600e3
mov ecx, r12d
call fcn.14000e3d0
test al, al
je 0x1400600e0
mov ecx, 0x108
mov qword [rbp - 9], 0x100
mov dword [rbp - 1], 0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14006015b
movups xmm0, xmmword [rbp - 9]
lea rcx, [rax + 8]
mov qword [rax], rsi
mov qword [rbp + 7], rcx
lea r8, [rbp - 0x19]
movsd xmm1, qword [rbp + 7]
mov edx, 2
mov byte [rcx], 0
mov ecx, dword [r14 - 0x24]
movsd qword [rbp + 0x1f], xmm1
mov qword [rbp - 0x19], rax
movups xmmword [rbp + 0xf], xmm0
call fcn.1400653a0
mov ecx, dword [r14 - 0x2c]
lea r8, [rbp - 0x19]
mov edx, 2
mov rdi, rax
call fcn.1400653a0
mov ecx, dword [r14 - 0x30]
lea r8, [rbp - 0x19]
mov edx, 2
mov rbx, rax
call fcn.1400653a0
mov ecx, dword [r14 + 4]
lea rdx, str._s__s__s_p_d_i_d_t_d_pr_d_a_d_h_d_m_d__d__d__d__d
mov dword [rsp + 0x78], ecx
mov r8, rax
mov ecx, dword [r14]
mov r9, rbx
mov eax, dword [r14 - 0x10]
mov dword [rsp + 0x70], ecx
mov ecx, dword [r14 - 4]
mov dword [rsp + 0x68], ecx
mov ecx, dword [r14 - 8]
mov dword [rsp + 0x60], ecx
mov ecx, dword [r14 - 0xc]
mov dword [rsp + 0x58], ecx
lea rcx, [rbp + 0xf]
mov dword [rsp + 0x50], eax
mov eax, dword [r14 - 0x14]
mov dword [rsp + 0x48], eax
mov eax, dword [r14 - 0x18]
mov dword [rsp + 0x40], eax
mov eax, dword [r14 - 0x1c]
mov dword [rsp + 0x38], eax
mov eax, dword [r14 - 0x20]
mov dword [rsp + 0x30], eax
mov eax, dword [r14 - 0x28]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
call fcn.140002e40
mov rax, qword [rbp + 0x1f]
test rax, rax
je 0x1400600ca
cmp dword [rbp + 0x17], 0
jl 0x1400600ca
movsxd r8, dword [rbp + 0x13]
add r8, rax
jmp 0x1400600cd
xor r8d, r8d
lea rdx, [0x14008b3dc]
mov ecx, r12d
call fcn.14000e000
mov rsi, qword [rbp - 0x19]
mov eax, dword [rbp + 0x6f]
inc r15d
add r14, 0x38
cmp r15d, dword [r13]
jb 0x14005ffa1
mov rbx, qword [rbp - 0x11]
test rsi, rsi
je 0x140060114
nop dword [rax]
mov rdi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, rdi
test rdi, rdi
jne 0x140060100
test rbx, rbx
je 0x14006013b
nop dword [rax]
mov rcx, qword [rbx + 0x10]
mov rdi, qword [rbx]
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, rdi
test rdi, rdi
jne 0x140060120
mov r14, qword [rsp + 0x100]
mov r15, qword [rsp + 0xc0]
add rsp, 0xc8
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000e540
int3
call fcn.14000e540
int3