Function at 0x1400cf9a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x20
cmp dword [rcx + 0x1f4], 2
mov rsi, qword [rcx]
mov r15, qword [rcx + 0x1a8]
mov r14, r9
mov rbx, rcx
mov ebp, 1
jne 0x1400cf9db
mov dword [r9], ebp
xor eax, eax
jmp 0x1400cfc85
cmp dword [rcx + 0x210], 0
mov qword [rsp + 0x48], rdi
jne 0x1400cfac3
mov r8d, dword [rsi + 0x338]
mov edx, dword [rsi + 0x33c]
xor ecx, ecx
test r8d, r8d
mov edi, 0x493e0
cmovg ecx, ebp
test edx, edx
jle 0x1400cfa0e
or ecx, 2
dec ecx
je 0x1400cfa29
dec ecx
je 0x1400cfa25
dec ecx
jne 0x1400cfa2c
mov edi, edx
cmp r8d, edx
cmovl edi, r8d
jmp 0x1400cfa2c
mov edi, edx
jmp 0x1400cfa2c
mov edi, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
mov dword [rsp + 0x40], r9d
imul ecx, r9d, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov r8, qword [rsi + 0x7d0]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x40]
mov rax, r8
shr rax, 0x20
shr rcx, 0x20
sub r8d, r9d
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, r8d, 0x3e8
sub eax, edx
add edi, eax
test edi, edi
jg 0x1400cfab3
lea rdx, [0x14025f7d8]
mov rcx, rsi
call fcn.1400b8ac0
mov eax, 0x1c
jmp 0x1400cfc80
mov rcx, rbx
call fcn.1400cc7a0
test eax, eax
jne 0x1400cfc80
mov eax, dword [rbx + 0x210]
dec eax
cmp eax, 2
ja 0x1400cfc24
mov r8d, dword [rsi + 0x338]
mov edx, dword [rsi + 0x33c]
xor eax, eax
test r8d, r8d
mov edi, 0x493e0
cmovg eax, ebp
test edx, edx
jle 0x1400cfaf5
or eax, 2
dec eax
je 0x1400cfb10
dec eax
je 0x1400cfb0c
dec eax
jne 0x1400cfb13
mov edi, edx
cmp r8d, edx
cmovl edi, r8d
jmp 0x1400cfb13
mov edi, edx
jmp 0x1400cfb13
mov edi, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
mov dword [rsp + 0x40], r9d
imul ecx, r9d, 0x3e8
sub r8d, ecx
mov rcx, qword [rsi + 0x7d0]
imul eax, r8d, 0x3e8
mov dword [rsp + 0x44], eax
mov r8, qword [rsp + 0x40]
mov rax, rcx
shr r8, 0x20
sub ecx, r9d
shr rax, 0x20
sub r8d, eax
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, ecx, 0x3e8
sub eax, edx
add edi, eax
je 0x1400cfc0e
test edi, edi
js 0x1400cfc0e
mov edx, dword [rbx + 0x210]
lea eax, [rdx - 2]
cmp eax, ebp
ja 0x1400cfbbd
or r8, 0xffffffffffffffff
cmp edx, 3
cmove r8, r15
or rcx, 0xffffffffffffffff
cmp edx, 2
cmove rcx, r15
xor r9d, r9d
call fcn.1400b8290
test eax, eax
js 0x1400cfbef
je 0x1400cfbe3
mov rcx, rbx
call fcn.1400ccdd0
test eax, eax
jne 0x1400cfc80
mov ecx, dword [rbx + 0x210]
dec ecx
cmp ecx, 2
ja 0x1400cfac3
jmp 0x1400cfc80
mov dword [r14], 0
jmp 0x1400cfc7e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.select_poll_on_SSL_socket__errno:__d
mov rcx, rsi
mov r8d, eax
call fcn.1400b8ac0
mov eax, 0x23
jmp 0x1400cfc80
lea rdx, [0x14025f7f0]
mov rcx, rsi
call fcn.1400b8ac0
mov eax, 0x1c
jmp 0x1400cfc80
cmp dword [rbx + 0x210], 4
jne 0x1400cfc39
mov rcx, rbx
call fcn.1400cf830
test eax, eax
jne 0x1400cfc80
cmp dword [rbx + 0x210], 5
jne 0x1400cfc6d
mov dword [rbx + 0x1f4], 2
lea rax, [0x1400cfdc0]
mov qword [rbx + 0x1d0], rax
lea rax, [0x1400cfca0]
mov qword [rbx + 0x1e0], rax
mov dword [r14], ebp
jmp 0x1400cfc74
mov dword [r14], 0
mov dword [rbx + 0x210], 0
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret