Function at 0x14002ad60
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x338
movzx edi, byte [rdx + 0x10]
mov r13d, dword [rsp + 0x3a0]
movzx eax, byte [r8 + 0x10]
mov r12, rcx
mov rsi, rdx
mov rbp, r8
mov r14d, r9d
test dil, dil
je 0x14002b0e9
test al, al
je 0x14002b0e9
mov rax, qword [rdx]
mov r11, qword [rdx + 8]
mov word [rsp + 0x100], r14w
mov r10, qword [rdx + 0x10]
mov rdx, qword [rbp + 0x10]
mov word [rsp + 0x102], r13w
mov r8, qword [r8]
mov r9, qword [rbp + 8]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xf8], rdx
mov rbx, qword [rcx + 0x28]
mov ecx, eax
mov qword [rsp + 0xc0], rdx
mov edx, r14d
mov qword [rsp + 0x90], rax
xor edx, r13d
mov rax, qword [rbp + 8]
mov qword [rsp + 0xd8], r11
mov qword [rsp + 0xe0], r10
mov qword [rsp + 0xe8], r8
mov qword [rsp + 0xf0], r9
mov qword [rsp + 0x98], r11
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0xb0], r8
mov qword [rsp + 0xb8], r9
cmp dil, 6
je 0x14002b088
mov qword [rsp + 0x20], rbx
xor ecx, dword [rsp + 0xb0]
mov r9d, edx
mov r8d, ecx
call sym.syn_cookie_ipv4
mov r15d, eax
mov rax, qword [r12]
mov edx, r15d
and edx, dword [r12 + 0x14]
mov rbx, qword [rax + rdx*8]
test rbx, rbx
je 0x14002aec1
mov eax, dword [rsp + 0x100]
mov r8d, dword [rsp + 0xd0]
nop dword [rax]
cmp dword [rbx + 0x30], eax
jne 0x14002aeb8
cmp dil, byte [rbx + 0x10]
jne 0x14002aeb8
cmp dil, 6
je 0x14002b030
cmp dword [rbx], r8d
jne 0x14002aeb8
mov ecx, dword [rsp + 0xe8]
cmp dword [rbx + 0x18], ecx
je 0x14002afd0
nop word [rax + rax]
mov rbx, qword [rbx + 0x48]
test rbx, rbx
jne 0x14002ae88
mov rbx, qword [r12 + 8]
test rbx, rbx
je 0x14002b0d7
mov rax, qword [rbx + 0x48]
mov qword [r12 + 8], rax
lea rdi, [rbx + 8]
mov rcx, rbx
xor eax, eax
mov qword [rbx], 0
mov qword [rbx + 0x250], 0
and rdi, 0xfffffffffffffff8
sub rcx, rdi
add ecx, 0x258
shr ecx, 3
rep stosq qword [rdi], rax
lea rcx, [rbx + 0x98]
mov rax, qword [r12]
and r15d, dword [r12 + 0x14]
movdqu xmm5, xmmword [rbp]
movdqu xmm4, xmmword [rsi]
lea rax, [rax + r15*8]
mov rdx, qword [rax]
mov qword [rbx + 0x48], rdx
movzx edx, r14w
mov qword [rax], rbx
mov rax, qword [rsi + 0x10]
movups xmmword [rbx + 0x18], xmm5
mov qword [rbx + 0x10], rax
mov rax, qword [rbp + 0x10]
movups xmmword [rbx], xmm4
movd xmm4, dword [rsp + 0x3a8]
mov qword [rbx + 0x28], rax
mov eax, r13d
shl eax, 0x10
movdqa xmm0, xmm4
mov word [rbx + 0x180], r13w
or eax, edx
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x3b0]
movd xmm5, eax
mov dword [rbx + 0x44], eax
movd xmm1, eax
mov rax, qword [0x140068d30]
punpckldq xmm1, xmm4
punpckldq xmm0, xmm5
mov rax, qword [rax]
punpcklqdq xmm0, xmm1
movups xmmword [rbx + 0x34], xmm0
pxor xmm0, xmm0
mov qword [rbx + 0x80], rax
mov eax, dword [rsp + 0x3b8]
movups xmmword [rbx + 0x58], xmm0
mov byte [rbx + 0x70], al
call sym.banout_init
cmp byte [rbx + 0x10], 0
je 0x14002b103
cmp byte [rbx + 0x28], 0
je 0x14002b103
or byte [rbx + 0x74], 0x20
add qword [r12 + 0x20], 1
movdqu xmm2, xmmword [rsi]
lea rdx, [rsp + 0x50]
mov r9d, r14d
mov rcx, r12
lea r8, [rsp + 0x30]
movups xmmword [rsp + 0x50], xmm2
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x60], rax
movdqu xmm3, xmmword [rbp]
movups xmmword [rsp + 0x30], xmm3
mov rax, qword [rbp + 0x10]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x40], rax
call dbg.tcb_lookup
mov rax, rbx
add rsp, 0x338
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rbx]
mov rcx, qword [rbx + 8]
xor rdx, qword [rsp + 0xd0]
xor rcx, qword [rsp + 0xd8]
or rdx, rcx
jne 0x14002aeb8
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
xor rdx, qword [rsp + 0xe8]
xor rcx, qword [rsp + 0xf0]
or rdx, rcx
je 0x14002afd0
mov rbx, qword [rbx + 0x48]
test rbx, rbx
jne 0x14002ae88
jmp 0x14002aec1
mov qword [rsp + 0x20], rbx
xor rax, r11
mov r9d, edx
lea r8, [rsp + 0x70]
mov rcx, qword [rsp + 0x90]
xor rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x88], rax
call sym.syn_cookie_ipv6
mov r15d, eax
jmp 0x14002ae5d
mov ecx, 0x258
call dbg.MALLOC
mov rbx, rax
jmp 0x14002aed8
mov r8d, 0x324
lea rdx, str.src_proto_tcp.c
lea rcx, str.ip_me.version___0__ip_them.version___0
call qword [sym.imp.msvcrt.dll__assert]
mov r8d, 0x34f
lea rdx, str.src_proto_tcp.c
lea rcx, str.tcb__ip_me.version___0__tcb__ip_them.version___0
call qword [sym.imp.msvcrt.dll__assert]
nop
nop