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

Disassembly:
push rbp
push rsi
mov rbp, rsp
sub rsp, 0x58
cmp byte [0x140521fbc], 0
mov rsi, rcx
je 0x1400aebeb
mov r8, qword [0x140521770]
test r8, r8
jne 0x1400ae6d6
mov r8d, 0xfe1
lea rdx, str.G:OLoader1examplesexample_win32_directx11imguiimgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call fcn.14028ff68
mov r8, qword [0x140521770]
movss xmm2, dword [r8 + 0x18]
lea rcx, [rbp - 0x28]
mulss xmm2, dword [0x14036e0f8]
mov rax, qword [r8 + 0x3ed0]
movss xmm0, dword [0x14036e080]
subss xmm0, dword [0x140522050]
movss xmm1, dword [0x14036e010]
mov byte [rax + 0xb0], 1
movss dword [rbp - 0x24], xmm1
movss xmm1, dword [rsi + 4]
mulss xmm2, xmm0
mov qword [rsp + 0x70], rbx
movss xmm0, dword [0x14036e008]
movss dword [rbp - 0x28], xmm0
addss xmm2, dword [0x140522050]
movss xmm0, dword [0x14036e01c]
movss dword [rbp - 0x20], xmm0
mov qword [rsp + 0x88], rdi
movss dword [0x140522050], xmm2
movss dword [rbp - 0x1c], xmm2
movss xmm2, dword [rsi]
movaps xmm0, xmm2
addss xmm0, dword [0x14036e2e4]
addss xmm2, dword [0x14036e1ec]
movss dword [rbp + 0x20], xmm0
movaps xmm0, xmm1
addss xmm0, dword [0x14036e2bc]
addss xmm1, dword [0x14036e1ac]
movss dword [rbp + 0x28], xmm2
movss dword [rbp + 0x24], xmm0
movss dword [rbp + 0x2c], xmm1
call fcn.140060d40
mov rcx, qword [r8 + 0x3ed0]
lea rdx, [rbp + 0x28]
movss xmm0, dword [0x14036e104]
lea r8, [rbp + 0x20]
mov r9d, eax
mov dword [rsp + 0x28], 0x80
movss dword [rsp + 0x20], xmm0
mov rcx, qword [rcx + 0x290]
call fcn.140085fd0
movss xmm3, dword [0x140522038]
addss xmm3, dword [0x14036dfdc]
movss xmm0, dword [0x14036e098]
comiss xmm0, xmm3
movss dword [0x140522038], xmm3
jbe 0x1400aeb07
mov rcx, qword [0x140521770]
lea r8, [0x14035dbfa]
mov qword [rsp + 0x50], r14
lea rdx, [rbp + 0x20]
movaps xmm0, xmm3
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ed0]
movss xmm2, dword [rax + 0x18]
movss xmm1, dword [rax + 0x1c]
subss xmm2, dword [rax + 0x7c]
subss xmm1, dword [rax + 0x80]
mov byte [rax + 0x139], 1
addss xmm2, dword [0x14036e2c4]
addss xmm1, dword [0x14036e1a0]
movss dword [rax + 0xf8], xmm2
movss xmm2, dword [0x14036e0cc]
movss dword [rax + 0xfc], xmm1
movss xmm1, dword [0x14036e1d4]
movss dword [rbp + 0x20], xmm1
movss dword [rbp + 0x24], xmm2
call fcn.140099910
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140522250], eax
jle 0x1400ae8d2
lea rcx, [0x140522250]
call fcn.1402713ec
cmp dword [0x140522250], 0xffffffff
jne 0x1400ae8d2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x140522250]
mov dword [0x140522248], eax
call fcn.14027138c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140522248]
cmp eax, 0x172
jbe 0x1400ae904
mov eax, dword [0x140522030]
cmp eax, 0xc
jge 0x1400ae8f8
inc eax
mov dword [0x140522030], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140522248], eax
mov r8, qword [0x140521770]
lea rcx, [rbp - 0x28]
movss xmm6, dword [0x14052202c]
movaps xmm0, xmmword [0x14036e530]
addss xmm6, dword [0x14036dfe8]
mov rax, qword [r8 + 0x3ed0]
movups xmmword [rbp - 0x28], xmm0
mov byte [rax + 0xb0], 1
mov rax, qword [r8 + 0x3ed0]
movss dword [0x14052202c], xmm6
mov rbx, qword [rax + 0x290]
call fcn.140060d40
movss xmm0, dword [rsi]
xor edi, edi
movss xmm1, dword [rsi + 4]
mov r14d, eax
addss xmm0, dword [0x14036e2b4]
addss xmm1, dword [0x14036e23c]
movss dword [rbp + 0x20], xmm0
movss dword [rbp + 0x24], xmm1
test eax, 0xff000000
je 0x1400ae9e6
movss xmm2, dword [0x14036e178]
lea rdx, [rbp + 0x20]
xor r9d, r9d
mov dword [rsp + 0x20], Ordinal_50
mov rcx, rbx
call fcn.140084ea0
mov r8d, dword [rbx + 0x78]
mov r9d, r14d
movss xmm0, dword [0x14036e0d8]
dec r8d
mov rdx, qword [rbx + 0x80]
mov rcx, rbx
movss dword [rsp + 0x28], xmm0
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.140083a00
mov r8, qword [0x140521770]
movss xmm6, dword [0x14052202c]
mov dword [rbx + 0x78], edi
mov rax, qword [r8 + 0x3ed0]
lea rdx, [rbp + 0x20]
mulss xmm6, dword [0x14036e03c]
mov dword [rsp + 0x28], reloc.WLDAP32.dll_Ordinal_32
movss xmm3, dword [0x14036e0b0]
movss xmm2, dword [0x14036e17c]
mulss xmm6, dword [0x14036e0c8]
mov byte [rax + 0xb0], 1
mov rax, qword [r8 + 0x3ed0]
addss xmm6, xmm3
mov rcx, qword [rax + 0x290]
movss dword [rsp + 0x20], xmm6
mov dword [rcx + 0x78], edi
mov rax, qword [r8 + 0x3ed0]
mov byte [rax + 0xb0], 1
movss xmm0, dword [rsi]
movss xmm1, dword [rsi + 4]
addss xmm0, dword [0x14036e2b4]
addss xmm1, dword [0x14036e23c]
mov rax, qword [r8 + 0x3ed0]
movss dword [rbp + 0x20], xmm0
mov rcx, qword [rax + 0x290]
movss dword [rbp + 0x24], xmm1
call fcn.140085180
mov rcx, qword [0x140521770]
movaps xmm0, xmmword [0x14036e8b0]
movups xmmword [rbp - 0x28], xmm0
mov rax, qword [rcx + 0x3ed0]
mov byte [rax + 0xb0], 1
mov rax, qword [rcx + 0x3ed0]
lea rcx, [rbp - 0x28]
mov rbx, qword [rax + 0x290]
call fcn.140060d40
movss xmm0, dword [0x14036e0c0]
mov r9d, eax
mov r8d, dword [rbx + 0x78]
mov rcx, rbx
mov rdx, qword [rbx + 0x80]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], edi
call fcn.140083a00
cmp dword [0x140522030], 0xc
movaps xmm6, xmmword [rsp + 0x40]
mov r14, qword [rsp + 0x50]
mov dword [rbx + 0x78], edi
jl 0x1400aebde
mov dword [0x140521fc4], 1
jmp 0x1400aebde
mov rax, qword gs:[0x58]
mov ebx, 4
mov rsi, qword [rax]
mov eax, dword [rbx + rsi]
cmp dword [0x140522208], eax
jle 0x1400aeb50
lea rcx, [0x140522208]
call fcn.1402713ec
cmp dword [0x140522208], 0xffffffff
jne 0x1400aeb50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x140522208]
mov dword [0x140522214], eax
call fcn.14027138c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x140522214]
cmp eax, 0x7d0
jbe 0x1400aeb77
xor edi, edi
mov dword [0x140521fc4], edi
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x140522214], eax
cmp dword [0x140521fc4], 0
jne 0x1400aebde
mov eax, dword [rbx + rsi]
cmp dword [0x14052220c], eax
jle 0x1400aebb8
lea rcx, [0x14052220c]
call fcn.1402713ec
cmp dword [0x14052220c], 0xffffffff
jne 0x1400aebb8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x14052220c]
mov dword [0x1405221e0], eax
call fcn.14027138c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1405221e0]
cmp eax, 0x3e8
jbe 0x1400aebde
mov byte [0x140521fbc], 0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1405221e0], eax
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x88]
add rsp, 0x58
pop rsi
pop rbp
ret