Function at 0x1400a4684
Capabilities:
Get routing table

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400f6388]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov byte [rsp + 0x31], dl
mov rsi, rcx
lea r15, [0x1400f3190]
mov rcx, qword [0x1400f3190]
cmp rcx, r15
je 0x1400a46fd
test byte [rcx + 0x1c], 1
je 0x1400a46fd
cmp byte [rcx + 0x19], 5
jb 0x1400a46fd
mov edx, 0x20
mov r9, rsi
lea r8, [0x1400d8b88]
mov rcx, qword [rcx + 0x10]
call fcn.1400036e4
xor edi, edi
xor r14b, r14b
mov rax, rsi
lea rcx, [rsi + 0x10]
neg rax
sbb rbx, rbx
and rbx, rcx
je 0x1400a471e
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rsp + 0x60], rbx
and dword [rsi + 0x58], 0
xor r13d, r13d
mov dword [rsp + 0x44], r13d
cmp dword [rsi + 0x68], r13d
jle 0x1400a4bf4
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov byte [rsp + 0x30], 0
test rcx, rcx
js 0x1400a4c00
cmp r13d, dword [rsi + 0x68]
jge 0x1400a4c00
mov rax, qword [rsi + 0x60]
movzx ecx, word [rcx + rax]
call qword [sym.imp.WSOCK32.dll_htons]
movzx edx, ax
mov word [rsp + 0x32], ax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xor r12d, r12d
mov qword [rsp + 0x48], r12
cmp dword [rsi + 0x78], r12d
jle 0x1400a47d0
xor ecx, ecx
test rcx, rcx
js 0x1400a4c0b
cmp r15d, dword [rsi + 0x78]
jge 0x1400a4c0b
mov rax, qword [rsi + 0x70]
cmp word [rcx + rax + 2], dx
je 0x1400a47c0
inc r15d
mov dword [rsp + 0x40], r15d
inc r12
mov qword [rsp + 0x48], r12
sub rcx, 0xffffffffffffff80
cmp r15d, dword [rsi + 0x78]
jl 0x1400a4786
jmp 0x1400a47d0
mov byte [rsp + 0x30], 1
cmp byte [rsp + 0x31], 0
je 0x1400a4bcf
test r14b, r14b
jne 0x1400a4999
mov rcx, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp rcx, rax
je 0x1400a4811
test byte [rcx + 0x1c], 1
je 0x1400a4811
cmp byte [rcx + 0x19], 5
jb 0x1400a4811
mov edx, 0x41
lea r9, [rbp - 0x10]
lea r8, [0x1400d8b88]
mov rcx, qword [rcx + 0x10]
call fcn.1400036e4
xor r15d, r15d
mov qword [rsp + 0x38], r15
and dword [rsp + 0x34], r15d
or eax, 0xffffffff
mov r12d, eax
mov r14d, eax
lea ecx, [r15 + 0x3c]
call fcn.1400c0694
mov r13, rax
test rax, rax
jne 0x1400a4842
mov edi, 0x8007000e
jmp 0x1400a4920
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, r13
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov edi, eax
cmp eax, 0x7a
jne 0x1400a4899
mov rcx, r13
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov ecx, dword [rsp + 0x34]
call fcn.1400c0694
mov r13, rax
test rax, rax
je 0x1400a4838
xor r8d, r8d
lea rdx, [rsp + 0x34]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
je 0x1400a48a3
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400a489f
or edi, 0x80070000
test edi, edi
js 0x1400a4920
cmp dword [r13], r15d
jbe 0x1400a48d4
lea rax, [r13 + 8]
mov ecx, dword [r13]
cmp dword [rax - 4], r15d
jne 0x1400a48ca
cmp dword [rax], r15d
jne 0x1400a48ca
cmp dword [rax + 0x20], r14d
jae 0x1400a48ca
mov r12d, dword [rax + 0xc]
mov r14d, dword [rax + 0x20]
add rax, 0x38
sub rcx, 1
jne 0x1400a48b1
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea ecx, [r8 + 2]
call fcn.1400b45ec
mov edi, eax
mov r15, qword [rsp + 0x38]
test eax, eax
js 0x1400a4920
mov rax, r15
test r15, r15
je 0x1400a491b
cmp dword [rax + 4], r12d
je 0x1400a4a5a
cmp r12d, 0xffffffff
jne 0x1400a4912
cmp dword [rax + 0x68], 1
je 0x1400a4a5a
mov rax, qword [rax + 8]
test rax, rax
jne 0x1400a48f8
mov edi, 0x80004005
mov rcx, r13
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, r15
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov r10, qword [0x1400f3190]
lea rax, [0x1400f3190]
cmp r10, rax
je 0x1400a497f
test byte [r10 + 0x1c], 1
je 0x1400a497f
mov edx, edi
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
movzx eax, byte [r10 + 0x19]
cmp eax, edx
jl 0x1400a497f
mov edx, 0x42
mov r9d, edi
lea r8, [0x1400d8b88]
mov rcx, qword [r10 + 0x10]
call fcn.1400036a8
mov r10, qword [0x1400f3190]
test edi, edi
js 0x1400a4ac6
mov r14b, 1
mov r15d, dword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov r13d, dword [rsp + 0x44]
mov ecx, 0x2805
call qword [sym.imp.WSOCK32.dll_htons]
mov word [rbp - 0xe], ax
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
movzx eax, word [rsp + 0x32]
mov word [rsp + 0x72], ax
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.1400a4c28
mov edi, eax
test eax, eax
js 0x1400a4bb7
cmp byte [rsp + 0x30], 0
je 0x1400a4a97
test r15d, r15d
js 0x1400a4c16
cmp r15d, dword [rsi + 0x78]
jge 0x1400a4c16
shl r12, 7
add r12, qword [rsi + 0x70]
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [r12], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movups xmmword [r12 + 0x10], xmm1
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [r12 + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movups xmmword [r12 + 0x30], xmm1
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [r12 + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [r12 + 0x50], xmm1
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [r12 + 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r12 + 0x70], xmm1
jmp 0x1400a4bcf
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x1400a491b
mov rdx, qword [rcx + 0x10]
test rdx, rdx
je 0x1400a4a83
cmp dword [rcx + 0x18], 0
jle 0x1400a4a83
movsxd r8, dword [rcx + 0x18]
cmp r8, 0x80
jbe 0x1400a4a89
mov rcx, qword [rcx + 8]
jmp 0x1400a4a5e
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memcpy
jmp 0x1400a4920
lea rcx, [rsi + 0x70]
lea rdx, [rsp + 0x70]
call fcn.1400a5f94
test eax, eax
jne 0x1400a4bcf
mov edi, 0x8007000e
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.1400a54ac
mov r10, qword [0x1400f3190]
lea r15, [0x1400f3190]
mov edx, dword [rsi + 0x50]
test edx, edx
je 0x1400a4b3a
and qword [rsp + 0x38], 0
mov rcx, qword [0x1400f8ca0]
mov rax, qword [rcx]
lea r9, [rsp + 0x38]
lea r8, [0x1400d8b58]
mov rax, qword [rax + 0x28]
call qword [str.__f_]
test eax, eax
js 0x1400a4b1c
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsi + 0x54]
mov rax, qword [rax + 0x48]
call qword [str.__f_]
test eax, eax
jns 0x1400a4b1c
and dword [rsi + 0x54], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400a4b33
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__f_]
mov r10, qword [0x1400f3190]
test rbx, rbx
je 0x1400a4b50
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r10, qword [0x1400f3190]
cmp r10, r15
je 0x1400a4b88
test byte [r10 + 0x1c], 1
je 0x1400a4b88
mov ecx, edi
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
movzx eax, byte [r10 + 0x19]
cmp eax, ecx
jl 0x1400a4b88
mov edx, 0x21
mov r9d, edi
lea r8, [0x1400d8b88]
mov rcx, qword [r10 + 0x10]
call fcn.1400036a8
mov eax, edi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400c13a0
lea r11, [rsp + 0x180]
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
inc dword [rsi + 0x58]
cmp byte [rsp + 0x30], 0
je 0x1400a4bcd
lea rcx, [rsi + 0x70]
mov edx, r15d
call fcn.1400a5ef8
xor edi, edi
inc r13d
mov dword [rsp + 0x44], r13d
mov rcx, qword [rsp + 0x50]
add rcx, 2
mov qword [rsp + 0x50], rcx
cmp r13d, dword [rsi + 0x68]
jge 0x1400a4abf
jmp 0x1400a4740
mov r10, qword [0x1400f3190]
jmp 0x1400a4acd
mov ecx, 0xc000008c
call fcn.14000518c
int3
mov ecx, 0xc000008c
call fcn.14000518c
int3
mov ecx, 0xc000008c
call fcn.14000518c
int3