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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x30
mov eax, dword [rdx + 8]
mov r15, r8
sub eax, 0x100
mov r14, rcx
test eax, 0xfffffffb
jne 0x1400054d4
mov eax, dword [rdx + 0x18]
bt rax, 0x1e
jae 0x140005411
cmp byte [rcx], 0
je 0x1400054d4
xor al, al
mov byte [rcx], 0
movzx ebx, byte [rdx + 0x10]
cmp byte [rcx + 1], al
je 0x140005424
call fcn.140005320
movzx esi, al
shl esi, 8
or esi, ebx
cmp dword [r14 + 0x1c], 0
je 0x14000551f
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [r14 + 0x1c]
cmp eax, dword [0x140397348]
jae 0x14000551f
lea rcx, [r14 + 8]
lea r8, [r14 + 0x18]
lea rdx, [rsp + 0x20]
call fcn.140005940
mov rdx, qword [rax]
mov r8, qword [rax + 8]
cmp rdx, r8
je 0x1400054d4
nop dword [rax + rax]
cmp esi, dword [rdx + 0x2c]
je 0x1400054ec
mov rax, qword [rdx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400054a8
mov rax, qword [rdx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400054a3
nop dword [rax]
cmp rdx, qword [rax + 0x10]
jne 0x1400054a3
mov rdx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140005490
mov rdx, rax
jmp 0x1400054cf
mov rcx, qword [rax]
mov rdx, rax
cmp byte [rcx + 0x19], 0
jne 0x1400054cf
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rdx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x1400054c0
cmp rdx, r8
jne 0x140005470
xor al, al
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop r15
ret
mov eax, dword [rdx + 0x28]
lea rcx, [r15 + 0x10]
mov dword [r15], eax
mov eax, dword [rdx + 0x2c]
mov dword [r15 + 4], eax
mov eax, dword [rdx + 0x30]
mov dword [r15 + 8], eax
mov eax, dword [rdx + 0x34]
add rdx, 0x38
mov dword [r15 + 0xc], eax
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
xor eax, eax
mov qword [r14 + 0x18], rax
mov al, 1
jmp 0x1400054d6
xor eax, eax
mov qword [rsp + 0x40], rdi
mov qword [r14 + 0x18], rax
mov rbx, qword [r14 + 8]
mov rdi, rbx
mov rax, qword [rbx + 8]
mov rcx, rax
cmp byte [rax + 0x19], 0
jne 0x140005565
nop
mov edx, dword [rcx + 0x20]
cmp edx, esi
jae 0x14000554d
mov rcx, qword [rcx + 0x10]
jmp 0x14000555f
cmp byte [rdi + 0x19], 0
je 0x140005559
cmp esi, edx
cmovb rdi, rcx
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140005540
cmp byte [rdi + 0x19], 0
jne 0x14000556e
mov rax, qword [rdi]
cmp byte [rax + 0x19], 0
jne 0x14000558b
cmp esi, dword [rax + 0x20]
jae 0x140005581
mov rdi, rax
mov rax, qword [rax]
jmp 0x140005585
mov rax, qword [rax + 0x10]
cmp byte [rax + 0x19], 0
je 0x140005574
cmp rbx, rdi
je 0x140005638
cmp dword [rbx + 0x2c], 0
jne 0x14000562a
mov eax, dword [rbx + 0x28]
lea rdx, [rbx + 0x38]
mov dword [r15], eax
lea rcx, [r15 + 0x10]
mov eax, dword [rbx + 0x2c]
mov dword [r15 + 4], eax
mov eax, dword [rbx + 0x30]
mov dword [r15 + 8], eax
mov eax, dword [rbx + 0x34]
mov dword [r15 + 0xc], eax
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1400055f8
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1400055f3
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1400055f3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1400055e0
mov rbx, rax
jmp 0x14000561f
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x14000561f
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140005610
cmp rbx, rdi
jne 0x140005594
jmp 0x140005638
mov dword [r14 + 0x18], esi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r14 + 0x1c], eax
cmp dword [r15 + 8], 0
mov rdi, qword [rsp + 0x40]
jbe 0x1400054d4
cmp dword [r14 + 0x18], 0
sete al
jmp 0x1400054d6