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

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, Ordinal_50
call fcn.1401ef830
sub rsp, rax
mov rsi, qword [rcx]
mov r13, r9
movsxd r15, edx
movzx ebp, r8b
mov r14, rcx
lea rax, [r15*4 + 0x57]
add rax, r15
cmp dword [rcx + rax*8 + 4], 2
lea rdi, [rcx + rax*8]
mov rax, qword [rcx + r15*8 + 0x230]
mov qword [rsp + 0x20], rax
jne 0x140092d8e
mov byte [r9], 1
xor eax, eax
jmp 0x140093071
xor ecx, ecx
mov qword [rsp + 0x68], rbx
cmp dword [rdi + 8], ecx
jne 0x140092e82
movsxd r8, dword [rsi + 0x328]
mov ebx, 0x493e0
movsxd rdx, dword [rsi + 0x32c]
test r8d, r8d
setg cl
test edx, edx
jle 0x140092dbe
or ecx, 2
sub ecx, 1
je 0x140092dde
sub ecx, 1
je 0x140092dd9
cmp ecx, 1
jne 0x140092de1
cmp r8d, edx
cmovl edx, r8d
movsxd rbx, edx
jmp 0x140092de1
mov rbx, rdx
jmp 0x140092de1
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov dword [rsp + 0x60], r9d
sub r8d, ecx
mov rcx, qword [rsi + 0x8b8]
imul eax, r8d, 0x3e8
sub r9d, ecx
mov r8, rcx
shr r8, 0x20
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
shr rax, 0x20
sub eax, r8d
movsxd rdx, eax
movabs rax, 0x20c49ba5e353f7cf
imul rdx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, r9d, 0x3e8
sub rbx, rdx
movsxd rcx, eax
sub rbx, rcx
je 0x140093005
test rbx, rbx
js 0x140093005
mov edx, r15d
mov rcx, r14
call fcn.1400900e0
test eax, eax
jne 0x14009306c
xor ecx, ecx
mov eax, dword [rdi + 8]
dec eax
cmp eax, 2
ja 0x14009301b
movsxd r8, dword [rsi + 0x328]
mov eax, ecx
movsxd rdx, dword [rsi + 0x32c]
test r8d, r8d
mov ebx, 0x493e0
setg al
test edx, edx
jle 0x140092eb2
or eax, 2
sub eax, 1
je 0x140092ed2
sub eax, 1
je 0x140092ecd
cmp eax, 1
jne 0x140092ed5
cmp r8d, edx
cmovl edx, r8d
movsxd rbx, edx
jmp 0x140092ed5
mov rbx, rdx
jmp 0x140092ed5
mov rbx, r8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov dword [rsp + 0x60], r9d
sub r8d, ecx
mov rcx, qword [rsi + 0x8b8]
imul eax, r8d, 0x3e8
sub r9d, ecx
mov r8, rcx
shr r8, 0x20
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
shr rax, 0x20
sub eax, r8d
movsxd rdx, eax
movabs rax, 0x20c49ba5e353f7cf
imul rdx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, r9d, 0x3e8
sub rbx, rdx
movsxd rcx, eax
sub rbx, rcx
je 0x140093005
test rbx, rbx
js 0x140093005
mov edx, dword [rdi + 8]
lea eax, [rdx - 2]
cmp eax, 1
ja 0x140092fa4
or r8, 0xffffffffffffffff
mov eax, 0
cmp edx, 3
cmove r8, qword [rsp + 0x20]
or rcx, 0xffffffffffffffff
cmp edx, 2
cmove rcx, qword [rsp + 0x20]
test bpl, bpl
cmovne rbx, rax
or rdx, 0xffffffffffffffff
mov r9, rbx
call fcn.14005bc60
test eax, eax
js 0x140092fe6
je 0x140092fd5
mov edx, r15d
mov rcx, r14
call fcn.140090ad0
test eax, eax
jne 0x14009306c
mov ecx, eax
test bpl, bpl
je 0x140092e82
mov ecx, dword [rdi + 8]
dec ecx
cmp ecx, 2
jbe 0x14009306c
jmp 0x140092e80
test bpl, bpl
je 0x140093005
mov byte [r13], 0
xor eax, eax
jmp 0x14009306c
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.140059810
mov eax, reloc.WLDAP32.dll_Ordinal_35
jmp 0x14009306c
lea rdx, str.SSL_connection_timeout
mov rcx, rsi
call fcn.140059810
mov eax, Ordinal_30
jmp 0x14009306c
cmp dword [rdi + 8], 4
jne 0x140093030
mov edx, r15d
mov rcx, r14
call fcn.140092b50
test eax, eax
jne 0x14009306c
cmp dword [rdi + 8], 5
jne 0x140093062
mov dword [rdi + 4], 2
lea rax, [0x1400932f0]
mov qword [r14 + r15*8 + 0x258], rax
lea rax, [0x140093120]
mov qword [r14 + r15*8 + 0x268], rax
mov byte [r13], 1
jmp 0x140093067
mov byte [r13], 0
xor eax, eax
mov dword [rdi + 8], eax
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret