Function at 0x14003df70
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x358
movzx edi, byte [rdx + 0x10]
mov r12d, dword [rsp + 0x3c0]
mov r13, qword [rsp + 0x3e0]
movzx eax, byte [r8 + 0x10]
mov rsi, rcx
mov r14, rdx
mov r15, r8
mov ebp, r9d
test dil, dil
je 0x14003e37b
test al, al
je 0x14003e37b
mov rax, qword [rdx + 0x10]
mov r10, qword [rdx]
mov word [rsp + 0x110], r9w
xor r9d, r12d
mov r11, qword [rdx + 8]
mov rcx, qword [r8]
mov word [rsp + 0x112], r12w
mov rbx, qword [r8 + 8]
mov rdx, qword [r8 + 0x10]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xb0], rax
mov r8, qword [rsi + 0x28]
mov qword [rsp + 0xe0], r10
mov rax, qword [r14 + 8]
mov qword [rsp + 0xe8], r11
mov qword [rsp + 0xf8], rcx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0xa0], r10
mov qword [rsp + 0xa8], r11
mov qword [rsp + 0xc0], rcx
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rdx
cmp dil, 6
je 0x14003e2f0
mov qword [rsp + 0x20], r8
mov ecx, dword [rsp + 0xa0]
mov edx, r9d
xor ecx, dword [rsp + 0xc0]
mov r8d, ecx
call sym.syn_cookie_ipv4
mov edx, eax
mov rax, qword [rsi]
mov ecx, edx
and ecx, dword [rsi + 0x14]
mov rbx, qword [rax + rcx*8]
test rbx, rbx
je 0x14003e0d9
mov eax, dword [rsp + 0x110]
mov r9d, dword [rsp + 0xe0]
nop word cs:[rax + rax]
cmp dword [rbx + 0x30], eax
jne 0x14003e0d0
cmp dil, byte [rbx + 0x10]
jne 0x14003e0d0
cmp dil, 6
je 0x14003e298
cmp dword [rbx], r9d
jne 0x14003e0d0
mov ecx, dword [rsp + 0xf8]
cmp dword [rbx + 0x18], ecx
je 0x14003e27c
nop word [rax + rax]
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x14003e0a0
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x14003e361
mov rax, qword [rbx + 0x50]
mov qword [rsi + 8], rax
lea rdi, [rbx + 8]
mov rcx, rbx
xor eax, eax
mov qword [rbx], 0
and rdi, 0xfffffffffffffff8
lea r10, [rbx + 0x58]
mov r8d, 0x58
mov qword [rbx + 0x260], 0
sub rcx, rdi
add ecx, 0x268
shr ecx, 3
rep stosq qword [rdi], rax
mov rax, qword [rsi]
and edx, dword [rsi + 0x14]
movd xmm5, dword [rsp + 0x3d0]
movdqu xmm2, xmmword [r14]
lea rax, [rax + rdx*8]
movdqu xmm3, xmmword [r15]
movd xmm1, dword [rsp + 0x3d0]
mov rdx, qword [rax]
mov qword [rbx + 0x50], rdx
movzx edx, bp
mov qword [rax], rbx
mov rax, qword [r14 + 0x10]
movups xmmword [rbx], xmm2
mov qword [rbx + 0x10], rax
mov rax, qword [r15 + 0x10]
movups xmmword [rbx + 0x18], xmm3
mov qword [rbx + 0x28], rax
mov eax, r12d
shl eax, 0x10
or eax, edx
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x3d0]
mov dword [rbx + 0x48], eax
mov eax, dword [rsp + 0x3c8]
movd xmm4, eax
mov dword [rbx + 0x44], eax
mov rax, qword [0x140073690]
movdqa xmm0, xmm4
punpckldq xmm1, xmm4
mov rax, qword [rax]
punpckldq xmm0, xmm5
punpcklqdq xmm0, xmm1
mov qword [rbx + 0x90], rax
mov eax, dword [rsp + 0x3d8]
movups xmmword [rbx + 0x34], xmm0
pxor xmm0, xmm0
mov byte [rbx + 0x78], al
mov eax, 0x578
mov word [rbx + 0x7a], ax
mov eax, dword [rsp + 0x3e8]
movups xmmword [rbx + 0x60], xmm0
lea edx, [rax + 1]
mov eax, dword [rsp + 0x3f0]
mov rcx, qword [rsi + 0x30]
shl rdx, 0xe
shr eax, 0xe
lea r9, [rdx + rax]
mov rdx, r10
call dbg.timeouts_add
mov word [rbx + 0x190], r12w
test r13, r13
je 0x14003e350
mov qword [rbx + 0xa0], r13
lea rcx, [rbx + 0xa8]
call sym.banout_init
cmp byte [rbx + 0x10], 0
je 0x14003e395
cmp byte [rbx + 0x28], 0
je 0x14003e395
movdqu xmm2, xmmword [r14]
or byte [rbx + 0x7c], 0x80
mov r9d, ebp
mov rcx, rsi
add qword [rsi + 0x20], 1
lea rdx, [rsp + 0x60]
lea r8, [rsp + 0x40]
movaps xmmword [rsp + 0x60], xmm2
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x70], rax
movdqu xmm3, xmmword [r15]
movaps xmmword [rsp + 0x40], xmm3
mov rax, qword [r15 + 0x10]
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x50], rax
call dbg.tcpcon_lookup_tcb
mov rax, rbx
add rsp, 0x358
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rbx]
mov r8, qword [rbx + 8]
xor rcx, qword [rsp + 0xe0]
xor r8, qword [rsp + 0xe8]
or rcx, r8
jne 0x14003e0d0
mov rcx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
xor rcx, qword [rsp + 0xf8]
xor r8, qword [rsp + 0x100]
or rcx, r8
je 0x14003e27c
mov rbx, qword [rbx + 0x50]
test rbx, rbx
jne 0x14003e0a0
jmp 0x14003e0d9
xor rax, qword [r15 + 8]
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0x20], r8
lea rcx, [rsp + 0x90]
xor rdx, qword [rsp + 0xc0]
lea r8, [rsp + 0x80]
xchg rdx, rax
mov qword [rsp + 0x98], rdx
mov qword [rsp + 0x88], rdx
mov edx, r9d
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x80], rax
call sym.syn_cookie_ipv6
mov edx, eax
jmp 0x14003e076
mov rax, qword [rsi + 0x48]
mov edx, r12d
mov r13, qword [rax + rdx*8 + 0x38]
jmp 0x14003e20c
mov ecx, 0x268
mov dword [rsp + 0x3c], edx
call dbg.MALLOC
mov edx, dword [rsp + 0x3c]
mov rbx, rax
jmp 0x14003e0ee
mov r8d, 0x3d8
lea rdx, str.src_stack_tcp_core.c
lea rcx, str.ip_me.version___0__ip_them.version___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
mov r8d, 0x41c
lea rdx, str.src_stack_tcp_core.c
lea rcx, str.tcb__ip_me.version___0__tcb__ip_them.version___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__assert]
nop