Function at 0x140053510
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
movaps xmmword [rbp - 0x10], xmm11
movaps xmmword [rbp - 0x20], xmm10
movaps xmmword [rbp - 0x30], xmm9
movaps xmmword [rbp - 0x40], xmm8
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x60], xmm6
mov rax, qword [0x1406de900]
xor rax, rbp
mov qword [rbp - 0x68], rax
cmp dword [0x1406e7af8], 0xa
jl 0x14005356f
mov eax, dword [0x1406e7afc]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400536dc
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov rbx, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov rsi, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov r15, rsp
sub rsp, 0x20
call fcn.14000e260
add rsp, 0x20
mov r14, rax
cmp dword [0x1406e816c], 0xa
jl 0x1400535c9
mov eax, dword [0x1406e8168]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x1400535f0
sub rsp, 0x20
call fcn.14000ab20
add rsp, 0x20
cmp dword [0x1406e816c], 0xa
jl 0x1400535ff
mov ecx, dword [0x1406e8168]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1400535ff
sub rsp, 0x20
call fcn.14000ab20
add rsp, 0x20
jmp 0x1400535c9
test rax, rax
je 0x14005361a
sub rsp, 0x20
call fcn.14000e260
add rsp, 0x20
mov rdi, qword [rax + 0x88]
jmp 0x14005361c
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rdi]
sub rsp, 0x20
mov rdx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
add rsp, 0x20
mov eax, dword [rbx + 0xc]
sub eax, dword [rbx + 4]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mov eax, dword [rbx + 8]
sub eax, dword [rbx]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
movss dword [rsi], xmm1
mov eax, dword [0x1406e7b00]
cmp dword [0x1406e7b04], 0xa
movss dword [rsi + 4], xmm0
jl 0x140053676
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x140053750
mov rax, qword [rsi]
mov qword [r14 + 8], rax
mov qword [r15], 0
sub rsp, 0x20
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add rsp, 0x20
mov rax, qword [r15]
mov rcx, rax
sub rcx, qword [rdi + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, rcx
xorps xmm1, xmm1
cvtsi2ss xmm1, qword [rdi + 0x20]
divss xmm0, xmm1
movss dword [r14 + 0x10], xmm0
cmp dword [0x1406e7af8], 0xa
jl 0x14005377c
mov ecx, dword [0x1406e7afc]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x14005377c
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov rbx, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov rsi, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.1401fc5d0
sub rsp, rax
mov r15, rsp
sub rsp, 0x20
call fcn.14000e260
add rsp, 0x20
mov r14, rax
cmp dword [0x1406e816c], 0xa
jl 0x140053ef6
mov eax, dword [0x1406e8168]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x140053f1d
jmp 0x140053ef6
jmp 0x140053750
mov rax, qword [r15]
mov qword [rdi + 0x18], rax
sub rsp, 0x20
call fcn.140053ff0
call fcn.140054240
add rsp, 0x20
mov rax, qword [r15]
mov qword [rdi + 0x18], rax
sub rsp, 0x20
call fcn.140053ff0
call fcn.140054240
add rsp, 0x20
cmp dword [0x1406e7af8], 0xa
jl 0x1400537ac
mov eax, dword [0x1406e7afc]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x140053760
mov eax, 0xffffffff
cmp byte [r14 + 0x68], 0
je 0x140053822
cmp dword [rdi + 0x28], eax
jne 0x1400537ed
sub rsp, 0x20
call fcn.14000e260
add rsp, 0x20
mov r14, rax
cmp dword [0x1406e816c], 0xa
jl 0x140053852
mov eax, dword [0x1406e8168]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x140053879
jmp 0x140053852
mov dword [rdi + 0x28], eax
sub rsp, 0x20
call fcn.1400544a0
add rsp, 0x20
cmp dword [0x1406e7af8], 0xa
jl 0x1400537bd
mov eax, dword [0x1406e7afc]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x1400537bd
nop word [rax + rax]
jmp 0x140053820
sub rsp, 0x20
call fcn.140024ec0
add rsp, 0x20
cmp dword [0x1406e7af8], 0xa
jl 0x1400537b8
mov ecx, dword [0x1406e7afc]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x1400537b8
nop dword [rax]
jmp 0x140053850
sub rsp, 0x20
call fcn.14000ab20
add rsp, 0x20
cmp dword [0x1406e816c], 0xa
jl 0x140053888
mov ecx, dword [0x1406e8168]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x140053888
sub rsp, 0x20
call fcn.14000ab20
add rsp, 0x20
jmp 0x140053852
test rax, rax
je 0x1400538ac
sub rsp, 0x20
call fcn.14000e260
add rsp, 0x20
mov r15, qword [rax + 0x88]
test byte [r14], 2
jne 0x1400538b9
jmp 0x140053eb9
xor r15d, r15d
test byte [r14], 2
je 0x140053eb9
mov edx, dword [0x1406e7b2c]
mov ecx, dword [0x1406e7b28]
cmp byte [r15 + 0x2d], 0
je 0x14005399b
xorps xmm0, xmm0
movaps xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], 0
mov rsi, qword [r15 + 0x38]
test rsi, rsi
je 0x140053979
sub rsp, 0x20
lea r8, [rbp - 0x80]
xor ecx, ecx
mov edx, 1
call rsi
add rsp, 0x20
mov edx, dword [0x1406e7b2c]
mov ecx, dword [0x1406e7b28]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
cmp ecx, 0xa
jl 0x14005396e
test ebx, ebx
je 0x14005396e
lea rdi, [rbp - 0x80]
nop word cs:[rax + rax]
nop dword [rax]
sub rsp, 0x20
xor ecx, ecx
mov edx, 1
mov r8, rdi
call rsi
xor ecx, ecx
mov edx, 1
mov r8, rdi
call rsi
add rsp, 0x20
mov edx, dword [0x1406e7b2c]
mov ecx, dword [0x1406e7b28]
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
cmp ecx, 0xa
jl 0x14005396e
test ebx, ebx
jne 0x140053930
test eax, eax
sete al
test ebx, ebx
jne 0x140053988
jmp 0x140053992
lea ebx, [rdx - 1]
imul ebx, edx
and ebx, 1
xor eax, eax
test ebx, ebx
je 0x140053992
cmp ecx, 0xa
jl 0x140053992
nop dword [rax]
jmp 0x140053990
mov byte [r15 + 0x2c], al
mov byte [r15 + 0x2d], 0
and byte [r14 + 4], 0xfe
cmp byte [r15 + 0x2c], 0
je 0x140053eb9
lea eax, [rdx - 1]
imul eax, edx
test al, 1
sete dl
cmp ecx, 0xa
setl al
or al, dl
nop
test al, al
je 0x1400539c0
mov rsi, qword [r15 + 0x40]
test rsi, rsi
je 0x140053eb9
sub rsp, 0x20
lea rdx, [rbp - 0x80]
xor ecx, ecx
call rsi
add rsp, 0x20
cmp dword [0x1406e7b28], 0xa
jl 0x140053a30
mov ecx, dword [0x1406e7b2c]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
je 0x140053a30
lea rdi, [rbp - 0x80]
nop
sub rsp, 0x20
xor ecx, ecx
mov rdx, rdi
call rsi
xor ecx, ecx
mov rdx, rdi
call rsi
add rsp, 0x20
cmp dword [0x1406e7b28], 0xa
jl 0x140053a30
mov ecx, dword [0x1406e7b2c]
lea edx, [rcx - 1]
imul edx, ecx
and edx, 1
jne 0x140053a00
test eax, eax
jne 0x140053eb9
or byte [r14 + 4], 1
movzx r8d, word [rbp - 0x7c]
and r8d, 0x10
shr r8d, 4
sub rsp, 0x20
mov rcx, r14
mov edx, 0x269
call fcn.140002200
add rsp, 0x20
movzx r8d, word [rbp - 0x7c]
and r8d, 0x20
shr r8d, 5
sub rsp, 0x20
mov rcx, r14
mov edx, 0x26a
call fcn.140002200
add rsp, 0x20
mov r8d, dword [rbp - 0x7c]
shr r8d, 0xc
and r8d, 1
sub rsp, 0x20
mov rcx, r14
mov edx, 0x26c
call fcn.140002200
add rsp, 0x20
mov r8d, dword [rbp - 0x7c]
shr r8d, 0xd
and r8d, 1
sub rsp, 0x20
mov rcx, r14
mov edx, 0x26e
call fcn.140002200
add rsp, 0x20
mov r8d, dword [rbp - 0x7c]
shr r8d, 0xe
and r8d, 1
sub rsp, 0x20
mov rcx, r14
mov edx, 0x26d
call fcn.140002200
add rsp, 0x20
movzx r8d, word [rbp - 0x7c]
sub rsp, 0x20
shr r8d, 0xf
mov rcx, r14
mov edx, 0x26b
call fcn.140002200
add rsp, 0x20
movzx r8d, word [rbp - 0x7c]
and r8d, 4
shr r8d, 2
sub rsp, 0x20
mov rcx, r14
mov edx, 0x271
call fcn.140002200
add rsp, 0x20
movzx r8d, word [rbp - 0x7c]
and r8d, 8
shr r8d, 3
sub rsp, 0x20
mov rcx, r14
mov edx, 0x272
call fcn.140002200
add rsp, 0x20
mov r8b, byte [rbp - 0x7c]
sub rsp, 0x20
and r8b, 1
mov rcx, r14
mov edx, 0x26f
call fcn.140002200
add rsp, 0x20
movzx r8d, word [rbp - 0x7c]
and r8d, 2
shr r8d, 1
sub rsp, 0x20
mov rcx, r14
mov edx, 0x270
call fcn.140002200
add rsp, 0x20
movzx r8d, byte [rbp - 0x7b]
and r8d, 1
sub rsp, 0x20
mov rcx, r14
mov edx, 0x273
call fcn.140002200
add rsp, 0x20
mov r8d, dword [rbp - 0x7c]
shr r8d, 9
and r8d, 1
sub rsp, 0x20
mov rcx, r14
mov edx, 0x274
call fcn.140002200
add rsp, 0x20
movzx eax, byte [rbp - 0x7a]
add eax, 0xffffffe2
cvtsi2ss xmm3, eax
movss xmm7, dword [0x1402587e0]
divss xmm3, xmm7
movss xmm6, dword [0x140250d00]
movaps xmm0, xmm6
minss xmm0, xmm3
xorps xmm8, xmm8
movss xmm11, dword [0x140250df4]
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x275
call fcn.140001fc0
add rsp, 0x20
movzx eax, byte [rbp - 0x79]
add eax, 0xffffffe2
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm7
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x276
call fcn.140001fc0
add rsp, 0x20
movzx r8d, word [rbp - 0x7c]
and r8d, 0x40
shr r8d, 6
sub rsp, 0x20
mov rcx, r14
mov edx, 0x277
call fcn.140002200
add rsp, 0x20
mov r8b, byte [rbp - 0x7c]
sub rsp, 0x20
shr r8b, 7
mov rcx, r14
mov edx, 0x278
call fcn.140002200
add rsp, 0x20
movsx eax, word [rbp - 0x78]
add eax, 0x1ea9
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
movss xmm9, dword [0x1402587e4]
divss xmm3, xmm9
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x27b
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x78]
add eax, 0xffffe157
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
movss xmm10, dword [0x1402587e8]
divss xmm3, xmm10
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x27c
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x76]
add eax, 0xffffe157
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm10
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x279
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x76]
add eax, 0x1ea9
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm9
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x27a
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x74]
add eax, 0x1ea9
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm9
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x27f
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x74]
add eax, 0xffffe157
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm10
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x280
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x72]
add eax, 0xffffe157
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm10
movaps xmm0, xmm6
minss xmm0, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm0
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x27d
call fcn.140001fc0
add rsp, 0x20
movsx eax, word [rbp - 0x72]
add eax, 0x1ea9
xorps xmm3, xmm3
cvtsi2ss xmm3, eax
divss xmm3, xmm9
minss xmm6, xmm3
ucomiss xmm3, xmm11
cmpltss xmm3, xmm8
andnps xmm3, xmm6
seta r8b
sub rsp, 0x20
mov rcx, r14
mov edx, 0x27e
call fcn.140001fc0
add rsp, 0x20
mov rcx, qword [rbp - 0x68]
xor rcx, rbp
sub rsp, 0x20
call fcn.1401fc630
add rsp, 0x20
movaps xmm6, xmmword [rbp - 0x60]
movaps xmm7, xmmword [rbp - 0x50]
movaps xmm8, xmmword [rbp - 0x40]
movaps xmm9, xmmword [rbp - 0x30]
movaps xmm10, xmmword [rbp - 0x20]
movaps xmm11, xmmword [rbp - 0x10]
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
sub rsp, 0x20
call fcn.14000ab20
add rsp, 0x20
cmp dword [0x1406e816c], 0xa
jl 0x140053f2c
mov eax, dword [0x1406e8168]
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
je 0x140053f2c
sub rsp, 0x20
call fcn.14000ab20
add rsp, 0x20
jmp 0x140053ef6
sub rsp, 0x20
call fcn.14000e260
add rsp, 0x20
mov rdi, qword [rax + 0x88]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rcx, qword [rdi]
sub rsp, 0x20
mov rdx, rbx
call qword [sym.imp.USER32.dll_GetClientRect]
add rsp, 0x20
mov eax, dword [rbx + 0xc]
sub eax, dword [rbx + 4]
xorps xmm0, xmm0
cvtsi2ss xmm0, eax
mov eax, dword [rbx + 8]
sub eax, dword [rbx]
xorps xmm1, xmm1
cvtsi2ss xmm1, eax
movss dword [rsi], xmm1
mov eax, dword [0x1406e7b00]
cmp dword [0x1406e7b04], 0xa
movss dword [rsi + 4], xmm0
jl 0x140053f96
lea ecx, [rax - 1]
imul ecx, eax
and ecx, 1
jne 0x140053fe0
mov rax, qword [rsi]
mov qword [r14 + 8], rax
mov qword [r15], 0
sub rsp, 0x20
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
add rsp, 0x20
mov rax, qword [r15]
sub rax, qword [rdi + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
xorps xmm1, xmm1
cvtsi2ss xmm1, qword [rdi + 0x20]
divss xmm0, xmm1
movss dword [r14 + 0x10], xmm0
jmp 0x14005356f
jmp 0x140053fe0