Function at 0x180066e40
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

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, 0xd0
mov rax, qword [0x180189e48]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x41], xmm1
xor edi, edi
mov qword [rbp - 0x31], rdi
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rax
movdqu xmmword [rbp - 0x29], xmm1
mov eax, edi
mov qword [rbp - 0x51], rax
mov qword [rbp - 0x19], rax
movups xmmword [rbp - 9], xmm0
movdqu xmmword [rbp + 7], xmm1
movdqa xmm0, xmmword [0x18016c440]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], dil
mov ecx, dword [0x18018d380]
mov rax, qword gs:[0x58]
mov esi, 4
mov rbx, qword [rax + rcx*8]
mov eax, dword [rbx + rsi]
cmp dword [0x1801927b4], eax
jg 0x18006765a
mov eax, dword [rbx + rsi]
cmp dword [0x1801927b8], eax
jg 0x18006768b
mov qword [rbp + 0x27], rdi
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov qword [rbp + 0x27], rdi
lea rcx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rbx, qword [r13 + 0x6c8]
mov rbx, qword [rbx]
movabs r15, 0x7fffffffffffffff
mov r12d, 0x16
cmp byte [rbx + 0x19], 0
jne 0x180067064
cmp dword [rbx + 0x28], 0
jne 0x180066f44
mov eax, 1
jmp 0x180066f64
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x2c]
cmp eax, dword [rbx + 0x28]
jb 0x180066f62
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
mov eax, 1
jmp 0x180066f64
mov eax, edi
test eax, eax
je 0x180067010
lea rax, [rbp - 0x79]
mov qword [rbp - 0x11], rax
lea r14, [rbx + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], rdi
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x180066f95
mov r14, qword [r14]
cmp rsi, r15
ja 0x1800676c2
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x180066fba
mov qword [rbp - 0x69], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x79], xmm0
jmp 0x180066ffd
mov rdi, rsi
or rdi, 0xf
cmp rdi, r15
jbe 0x180066fcb
mov rdi, r15
jmp 0x180066fd3
cmp rdi, 0x16
cmovb rdi, r12
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x79]
call fcn.180007230
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800f5130
xor edi, edi
xor r9d, r9d
lea r8, [rbp - 9]
lea rdx, [rbp - 0x79]
mov rcx, r13
call fcn.180065580
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18006703f
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180067037
cmp rbx, qword [rax + 0x10]
jne 0x180067037
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180067024
mov rbx, rax
jmp 0x180066f2d
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x180066f2d
nop
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180067050
jmp 0x180066f2d
mov rbx, qword [r13 + 0x6d8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x1800671a4
cmp dword [rbx + 0x40], 0
jne 0x180067085
mov eax, 1
jmp 0x1800670a5
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rbx + 0x44]
cmp eax, dword [rbx + 0x40]
jb 0x1800670a3
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x44], eax
mov eax, 1
jmp 0x1800670a5
mov eax, edi
test eax, eax
je 0x180067151
lea rax, [rbp - 0x79]
mov qword [rbp - 0x11], rax
lea r14, [rbx + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
mov qword [rbp - 0x69], rdi
mov qword [rbp - 0x61], rdi
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x1800670d6
mov r14, qword [r14]
cmp rsi, r15
ja 0x1800676c8
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x1800670fb
mov qword [rbp - 0x69], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x79], xmm0
jmp 0x18006713e
mov rdi, rsi
or rdi, 0xf
cmp rdi, r15
jbe 0x18006710c
mov rdi, r15
jmp 0x180067114
cmp rdi, 0x16
cmovb rdi, r12
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x79]
call fcn.180007230
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rdi
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800f5130
xor edi, edi
xor r9d, r9d
lea r8, [rbp - 9]
lea rdx, [rbp - 0x79]
mov rcx, r13
call fcn.180065580
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x180067180
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x180067178
cmp rbx, qword [rax + 0x10]
jne 0x180067178
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x180067165
mov rbx, rax
jmp 0x18006706e
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x18006706e
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x180067190
jmp 0x18006706e
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rbx, [r13 + 0x570]
mov qword [rbp - 0x59], rbx
mov rcx, rbx
call fcn.1800f08b0
test eax, eax
jne 0x1800676ce
lea rax, [r13 + 0x540]
lea rcx, [rbp - 0x41]
cmp rcx, rax
je 0x1800671fd
mov r15, qword [rax]
mov qword [rbp - 0x41], r15
mov qword [rax], rdi
mov r12, qword [rax + 8]
mov qword [rbp - 0x39], r12
mov qword [rax + 8], rdi
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x31], rcx
mov qword [rax + 0x10], rdi
jmp 0x180067205
mov r12, qword [rbp - 0x39]
mov r15, qword [rbp - 0x41]
mov rcx, rbx
call fcn.1800f08b8
mov rdi, r15
cmp r15, r12
je 0x1800672e0
nop dword [rax]
lea rax, [rbp - 0x79]
mov qword [rbp - 0x59], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xor eax, eax
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x61], rax
mov rsi, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x18006724a
mov r14, qword [rdi]
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x1800676de
mov qword [rbp - 0x61], reloc.WS2_32.dll_ntohs
cmp rsi, 0x10
jae 0x180067279
mov qword [rbp - 0x69], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x79], xmm0
jmp 0x1800672c0
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
jbe 0x18006728a
mov rbx, rax
jmp 0x180067297
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x79]
call fcn.180007230
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x69], rsi
mov qword [rbp - 0x61], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1800f5130
nop
xor r9d, r9d
lea r8, [rbp - 9]
lea rdx, [rbp - 0x79]
mov rcx, r13
call fcn.180065580
add rdi, 0x20
cmp rdi, r12
jne 0x180067220
lea rbx, [r13 + 0x5c0]
mov qword [rbp - 0x59], rbx
mov rcx, rbx
call fcn.1800f08b0
test eax, eax
jne 0x1800676d6
lea rax, [r13 + 0x558]
lea rcx, [rbp - 0x29]
cmp rcx, rax
je 0x180067331
mov rdi, qword [rax]
mov qword [rbp - 0x29], rdi
xor ecx, ecx
mov qword [rax], rcx
mov rsi, qword [rax + 8]
mov qword [rbp - 0x21], rsi
mov qword [rax + 8], rcx
mov r14, qword [rax + 0x10]
mov qword [rbp - 0x19], r14
mov qword [rax + 0x10], rcx
jmp 0x18006733d
mov rsi, qword [rbp - 0x21]
mov rdi, qword [rbp - 0x29]
mov r14, qword [rbp - 0x51]
mov rcx, rbx
call fcn.1800f08b8
cmp rdi, rsi
je 0x1800674fa
call fcn.180008ca0
cmp byte [rax + 0x2b0], 0
je 0x1800673ac
call fcn.180008ca0
mov rbx, rax
mov byte [rbp - 0x49], 0xc3
call fcn.180045de0
mov ecx, dword [rbx + 0x274]
add rcx, qword [rax + 0xd50]
cmp byte [rbx + 0xaa1], 0
je 0x18006739c
mov r9d, 1
lea r8, [rbp - 0x49]
mov rdx, rcx
mov ecx, 0xa0
call fcn.1800732dc
jmp 0x1800673a5
lea rdx, [rbp - 0x49]
call fcn.180070ad0
mov byte [rbx + 0xaf0], 1
mov rbx, rdi
nop
call fcn.180008ca0
mov r8, rbx
lea rdx, [rbp - 0x79]
mov rcx, rax
call fcn.180011e20
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x1800673ff
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800673fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800676ea
call fcn.1800f2740
add rbx, 0x20
cmp rbx, rsi
jne 0x1800673b0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp dword [r13 + 0x660], 1
jne 0x18006749c
call fcn.180008ca0
lea r8, [r13 + 0x668]
lea rdx, [rbp - 0x79]
mov rcx, rax
call fcn.180011e20
nop
lea rcx, [r13 + 0x688]
mov rdx, rax
call fcn.18002c030
nop
mov rdx, qword [rbp - 0x61]
cmp rdx, 0x10
jb 0x180067480
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006747b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800676e4
call fcn.1800f2740
movdqa xmm0, xmmword [0x18016c440]
movdqu xmmword [rbp - 0x69], xmm0
mov byte [rbp - 0x79], 0
mov dword [r13 + 0x660], 2
call fcn.180008ca0
cmp byte [rax + 0x2b0], 0
je 0x1800674fa
call fcn.180008ca0
mov rbx, rax
mov byte [rbp - 0x49], 0x48
call fcn.180045de0
mov ecx, dword [rbx + 0x274]
add rcx, qword [rax + 0xd50]
cmp byte [rbx + 0xaa1], 0
je 0x1800674ea
mov r9d, 1
lea r8, [rbp - 0x49]
mov rdx, rcx
mov ecx, 0xa0
call fcn.1800732dc
jmp 0x1800674f3
lea rdx, [rbp - 0x49]
call fcn.180070ad0
mov byte [rbx + 0xaf0], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub rax, qword [0x1801927c0]
cmp rax, 0x14
jbe 0x180067523
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [0x1801927c0], rax
mov rcx, r13
call fcn.180069640
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0x10
jb 0x18006755e
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180067559
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800676f0
call fcn.1800f2740
movdqa xmm0, xmmword [0x18016c440]
movdqu xmmword [rbp + 7], xmm0
mov byte [rbp - 9], 0
test rdi, rdi
je 0x1800675ca
lea r8, [rbp - 0x29]
mov rdx, rsi
mov rcx, rdi
call fcn.1800073d0
sub r14, rdi
and r14, 0xffffffffffffffe0
mov rax, rdi
cmp r14, 0x1000
jb 0x1800675af
add r14, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800676f6
mov rdx, r14
mov rcx, rdi
call fcn.1800f2740
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 0
test r15, r15
je 0x180067625
lea r8, [rbp - 0x41]
mov rdx, r12
mov rcx, r15
call fcn.1800073d0
mov rcx, qword [rbp - 0x31]
sub rcx, r15
and rcx, 0xffffffffffffffe0
mov rax, r15
cmp rcx, 0x1000
jb 0x18006760a
add rcx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180067654
mov rdx, rcx
mov rcx, r15
call fcn.1800f2740
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x41], xmm0
mov qword [rbp - 0x31], 0
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800f23a0
lea r11, [rsp + 0xd0]
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.1800f98d4
nop
lea rcx, [0x1801927b4]
call fcn.1800f2cb4
cmp dword [0x1801927b4], 0xffffffff
jne 0x180066ee8
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
nop
lea rcx, [0x1801927b4]
call fcn.1800f2c54
jmp 0x180066ee8
lea rcx, [0x1801927b8]
call fcn.1800f2cb4
cmp dword [0x1801927b8], 0xffffffff
jne 0x180066ef7
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [0x1801927c0], rax
lea rcx, [0x1801927b8]
call fcn.1800f2c54
jmp 0x180066ef7
call fcn.180006f40
int3
call fcn.180006f40
int3
mov ecx, eax
call fcn.1800f0a08
int3
mov ecx, eax
call fcn.1800f0a08
int3
call fcn.180006f40
int3
call fcn.1800f98d4
int3
call fcn.1800f98d4
nop
call fcn.1800f98d4
nop
call fcn.1800f98d4
int3