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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x180189e48]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
xor edi, edi
mov qword [rbp - 0x11], rdi
movups xmmword [rbp - 9], xmm0
mov qword [rbp + 7], rax
movdqu xmmword [rbp - 9], xmm1
mov eax, edi
mov qword [rbp - 0x31], rax
mov qword [rbp + 7], rax
movups xmmword [rbp + 0xf], xmm0
movdqu xmmword [rbp + 0x1f], xmm1
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], dil
mov ecx, dword [0x18018d380]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1801927b4], ecx
jg 0x18006751a
mov rbx, qword [r13 + 0x6c8]
mov rbx, qword [rbx]
movabs r15, 0x7fffffffffffffff
mov r12d, 0x16
cmp byte [rbx + 0x19], 0
jne 0x180066f54
cmp dword [rbx + 0x28], 0
jne 0x180066e29
mov eax, 1
jmp 0x180066e49
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x2c]
cmp eax, dword [rbx + 0x28]
jb 0x180066e47
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
mov eax, 1
jmp 0x180066e49
mov eax, edi
test eax, eax
je 0x180066ef5
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
lea r14, [rbx + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x180066e7a
mov r14, qword [r14]
cmp rsi, r15
ja 0x18006754b
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x180066e9f
mov qword [rbp - 0x49], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x59], xmm0
jmp 0x180066ee2
mov rdi, rsi
or rdi, 0xf
cmp rdi, r15
jbe 0x180066eb0
mov rdi, r15
jmp 0x180066eb8
cmp rdi, 0x16
cmovb rdi, r12
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x59]
call fcn.180007230
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800f4f70
xor edi, edi
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.180065490
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180066f2b
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180066f23
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x180066f23
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180066f10
mov rbx, rax
jmp 0x180066e12
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180066e12
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180066f40
jmp 0x180066e12
mov rbx, qword [r13 + 0x6d8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x180067094
cmp dword [rbx + 0x40], 0
jne 0x180066f75
mov eax, 1
jmp 0x180066f95
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x44]
cmp eax, dword [rbx + 0x40]
jb 0x180066f93
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x44], eax
mov eax, 1
jmp 0x180066f95
mov eax, edi
test eax, eax
je 0x180067041
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
lea r14, [rbx + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rdi
mov qword [rbp - 0x41], rdi
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x180066fc6
mov r14, qword [r14]
cmp rsi, r15
ja 0x180067551
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x180066feb
mov qword [rbp - 0x49], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x59], xmm0
jmp 0x18006702e
mov rdi, rsi
or rdi, 0xf
cmp rdi, r15
jbe 0x180066ffc
mov rdi, r15
jmp 0x180067004
cmp rdi, 0x16
cmovb rdi, r12
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x59]
call fcn.180007230
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800f4f70
xor edi, edi
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.180065490
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180067070
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180067068
cmp rbx, qword [rax + 0x10]
jne 0x180067068
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180067055
mov rbx, rax
jmp 0x180066f5e
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180066f5e
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180067080
jmp 0x180066f5e
lea rbx, [r13 + 0x570]
mov qword [rbp - 0x39], rbx
mov rcx, rbx
call fcn.1800f06f0
test eax, eax
jne 0x180067557
lea rax, [r13 + 0x540]
lea rcx, [rbp - 0x21]
cmp rcx, rax
je 0x1800670e3
mov r15, qword [rax]
mov qword [rbp - 0x21], r15
mov qword [rax], rdi
mov r12, qword [rax + 8]
mov qword [rbp - 0x19], r12
mov qword [rax + 8], rdi
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x11], rcx
mov qword [rax + 0x10], rdi
jmp 0x1800670eb
mov r12, qword [rbp - 0x19]
mov r15, qword [rbp - 0x21]
mov rcx, rbx
call fcn.1800f06f8
mov rdi, r15
cmp r15, r12
je 0x1800671c0
nop
lea rax, [rbp - 0x59]
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xor eax, eax
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x41], rax
mov rsi, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006712a
mov r14, qword [rdi]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x180067567
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x180067159
mov qword [rbp - 0x49], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x59], xmm0
jmp 0x1800671a0
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x18006716a
mov rbx, rax
jmp 0x180067177
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x59]
call fcn.180007230
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], rsi
mov qword [rbp - 0x41], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800f4f70
nop
xor r9d, r9d
lea r8, [rbp + 0xf]
lea rdx, [rbp - 0x59]
mov rcx, r13
call fcn.180065490
add rdi, 0x20
cmp rdi, r12
jne 0x180067100
lea rbx, [r13 + 0x5c0]
mov qword [rbp - 0x39], rbx
mov rcx, rbx
call fcn.1800f06f0
test eax, eax
jne 0x18006755f
lea rax, [r13 + 0x558]
lea rcx, [rbp - 9]
cmp rcx, rax
je 0x180067211
mov rdi, qword [rax]
mov qword [rbp - 9], rdi
xor ecx, ecx
mov qword [rax], rcx
mov rsi, qword [rax + 8]
mov qword [rbp - 1], rsi
mov qword [rax + 8], rcx
mov r14, qword [rax + 0x10]
mov qword [rbp + 7], r14
mov qword [rax + 0x10], rcx
jmp 0x18006721d
mov rsi, qword [rbp - 1]
mov rdi, qword [rbp - 9]
mov r14, qword [rbp - 0x31]
mov rcx, rbx
call fcn.1800f06f8
cmp rdi, rsi
je 0x1800673da
call fcn.180008ca0
cmp byte [rax + 0x2b0], 0
je 0x18006728c
call fcn.180008ca0
mov rbx, rax
mov byte [rbp - 0x29], 0xc3
call fcn.180045cf0
mov ecx, dword [rbx + 0x274]
add rcx, qword [rax + 0xd50]
cmp byte [rbx + 0xaa1], 0
je 0x18006727c
mov r9d, 1
lea r8, [rbp - 0x29]
mov rdx, rcx
mov ecx, 0xa0
call fcn.18007311c
jmp 0x180067285
lea rdx, [rbp - 0x29]
call fcn.180070910
mov byte [rbx + 0xaf0], 1
mov rbx, rdi
nop
call fcn.180008ca0
mov r8, rbx
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.180011e80
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1800672df
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800672da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180067573
call fcn.1800f2580
add rbx, 0x20
cmp rbx, rsi
jne 0x180067290
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp dword [r13 + 0x660], 1
jne 0x18006737c
call fcn.180008ca0
lea r8, [r13 + 0x668]
lea rdx, [rbp - 0x59]
mov rcx, rax
call fcn.180011e80
nop
lea rcx, [r13 + 0x688]
mov rdx, rax
call fcn.18002c0f0
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x180067360
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006735b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006756d
call fcn.1800f2580
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rbp - 0x49], xmm0
mov byte [rbp - 0x59], 0
mov dword [r13 + 0x660], 2
call fcn.180008ca0
cmp byte [rax + 0x2b0], 0
je 0x1800673da
call fcn.180008ca0
mov rbx, rax
mov byte [rbp - 0x29], 0x48
call fcn.180045cf0
mov ecx, dword [rbx + 0x274]
add rcx, qword [rax + 0xd50]
cmp byte [rbx + 0xaa1], 0
je 0x1800673ca
mov r9d, 1
lea r8, [rbp - 0x29]
mov rdx, rcx
mov ecx, 0xa0
call fcn.18007311c
jmp 0x1800673d3
lea rdx, [rbp - 0x29]
call fcn.180070910
mov byte [rbx + 0xaf0], 0
mov rcx, r13
call fcn.1800694d0
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x18006741e
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067419
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180067579
call fcn.1800f2580
movdqa xmm0, xmmword [0x18016c450]
movdqu xmmword [rbp + 0x1f], xmm0
mov byte [rbp + 0xf], 0
test rdi, rdi
je 0x18006748a
lea r8, [rbp - 9]
mov rdx, rsi
mov rcx, rdi
call fcn.1800073d0
sub r14, rdi
and r14, 0xffffffffffffffe0
mov rax, rdi
cmp r14, 0x1000
jb 0x18006746f
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006757f
mov rdx, r14
mov rcx, rdi
call fcn.1800f2580
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], 0
test r15, r15
je 0x1800674e5
lea r8, [rbp - 0x21]
mov rdx, r12
mov rcx, r15
call fcn.1800073d0
mov rcx, qword [rbp - 0x11]
sub rcx, r15
and rcx, 0xffffffffffffffe0
mov rax, r15
cmp rcx, 0x1000
jb 0x1800674ca
add rcx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180067514
mov rdx, rcx
mov rcx, r15
call fcn.1800f2580
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], 0
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800f21e0
lea r11, [rsp + 0xb0]
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
call fcn.1800f9714
nop
lea rcx, [0x1801927b4]
call fcn.1800f2af4
cmp dword [0x1801927b4], 0xffffffff
jne 0x180066df8
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop
lea rcx, [0x1801927b4]
call fcn.1800f2a94
jmp 0x180066df8
call fcn.180006f40
int3
call fcn.180006f40
int3
mov ecx, eax
call fcn.1800f0848
int3
mov ecx, eax
call fcn.1800f0848
int3
call fcn.180006f40
int3
call fcn.1800f9714
int3
call fcn.1800f9714
nop
call fcn.1800f9714
nop
call fcn.1800f9714
int3