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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
sub rsp, 0x110
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x140197b10]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, r9
mov ebp, r8d
mov rdi, rcx
mov qword [rsp + 0x40], rdx
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rbx, rax
mov eax, dword [0x14019c334]
xor r12d, r12d
cmp eax, r12d
je 0x1400310e6
cmp eax, ebp
jne 0x1400310e6
mov rcx, qword [0x14019c090]
cmp rcx, r12
je 0x1400310ed
cmp rbx, r12
je 0x1400310ed
mov qword [0x14019c090], rbx
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetParent]
mov rcx, qword [0x14019c090]
jmp 0x1400310ed
mov rcx, qword [0x14019c090]
cmp ebp, 0x110
je 0x140031128
cmp ebp, 0x44f
je 0x140031128
cmp rbx, r12
je 0x140031128
cmp rcx, r12
je 0x140031128
cmp rcx, rbx
je 0x140031128
mov qword [0x14019c090], rbx
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetParent]
mov rcx, qword [0x14019c090]
mov eax, ebp
sub eax, 5
je 0x1400317e6
sub eax, 0xa
je 0x140031742
sub eax, 5
je 0x140031676
sub eax, 0x6a
je 0x14003151d
sub eax, 0x92
je 0x14003134e
sub eax, 1
je 0x140031186
sub eax, 0x33e
je 0x140031173
cmp eax, 1
je 0x14003151d
jmp 0x1400317f9
mov byte [0x14019c052], 7
mov byte [0x14019c052], r12b
jmp 0x1400317f9
lea rdi, [0x14019cf50]
cmp rsi, 0x66
je 0x1400312b8
cmp rsi, 0x67
je 0x1400311b4
cmp rsi, 2
jne 0x1400317f9
test byte [0x14019bdc8], 4
jne 0x1400317f9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x14019c66c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp rsi, 0x67
jne 0x1400311e2
mov rax, qword [rsp + 0x150]
cmp rax, r12
je 0x1400311e2
mov byte [rax], r12b
cmp byte [0x1401958a9], r12b
jge 0x1400312a0
test byte [0x14019bdc8], 2
jne 0x1400312a0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, eax
xorps xmm7, xmm7
movaps xmm6, xmm7
mov ebx, 0xff
movss xmm8, dword [0x140149074]
movaps xmm0, xmm7
mulss xmm0, dword [0x140149070]
divss xmm0, xmm8
cvttss2si rsi, xmm0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [rsi + rbp]
sub ecx, eax
cmp ecx, r12d
jle 0x140031269
unpcklps xmm6, xmm6
cvtps2pd xmm0, xmm6
addsd xmm0, qword [0x140149068]
cvttsd2si rax, xmm0
mov r8d, ebx
sub r8b, al
mov r9d, 2
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
addss xmm6, dword [0x140149064]
addss xmm7, dword [0x140149064]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
sub esi, eax
cmp esi, r12d
jle 0x140031296
mov edx, 1
lea ecx, [rdx + 0xa]
call qword [sym.imp.KERNEL32.dll_SleepEx]
comiss xmm8, xmm6
jae 0x140031218
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [0x14019c66c]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x78], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
and byte [0x14019bdc8], 0xfd
lea r8, str.LogohWnd
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
call qword [0x14019c380]
mov qword [0x14019c090], r12
mov byte [0x1401958a9], 0xff
lea rcx, [0x14019c250]
call fcn.14005b520
mov rcx, qword [0x14019c060]
cmp rcx, r12
je 0x140031315
call qword [0x14019bfb0]
mov qword [0x14019c060], r12
mov qword [0x14019c038], r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, byte [0x14019c660]
call fcn.1400600c0
mov edx, 8
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_EndDialog]
cdqe
jmp 0x1400317fb
call fcn.140060080
lea rdi, [0x14019cf50]
mov qword [rsp + 0x58], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea r8, str.LogohWnd
lea rdx, str.SOFTWAREPELOGON
mov rsi, 0xffffffff80000002
mov rcx, rsi
call qword [0x14019c380]
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, VariantTimeToDosDateTime
lea r8, str.LogohWnd
lea rdx, str.SOFTWAREPELOGON
mov rcx, rsi
call qword [0x14019c378]
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x58], r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14019c070], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14019c074], eax
mov qword [0x14019c090], 0xffffffffffffeffb
cmp rbx, r12
je 0x140031409
mov qword [0x14019c090], rbx
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetParent]
mov ebx, 0xff
mov eax, 3
lea r9d, [rax - 1]
cmp byte [0x1401958a9], r12b
cmovge r9d, eax
movzx eax, word [0x1401958ac]
cmp ax, r12w
jl 0x140031431
sub bl, al
or r9d, 2
mov r8b, bl
mov edx, dword [0x1401b5008]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov dword [rsp + 0x28], r12d
mov eax, dword [0x14019c074]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x14019c070]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MoveWindow]
mov r11b, byte [0x14019c053]
neg r11b
sbb rdx, rdx
mov dword [rsp + 0x30], 0x10
mov eax, dword [0x14019c074]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14019c070]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp eax, r12d
jne 0x1400314dd
mov dword [rsp + 0x30], 0x10
mov eax, dword [0x14019c074]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14019c070]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [rsp + 0x40]
mov qword [0x14019c038], r11
mov byte [0x14019c052], 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x44f
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400317f9
lea rdi, [0x14019cf50]
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp ebp, 0x450
jne 0x1400315b8
mov edx, 0x20a
lea rcx, [rsp + 0x50]
call fcn.140063580
nop
mov rbx, qword [rsp + 0x50]
mov word [rbx], r12w
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x4c], 0x412
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x48]
lea r8, str.LogoFile
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
call qword [0x14019bf60]
mov word [rbx + 0x410], r12w
cmp word [rbx], r12w
je 0x1400315ae
mov rdx, rbx
lea rcx, [0x14019c250]
call fcn.140071480
nop
lea rcx, [rsp + 0x50]
call fcn.14005b520
mov rbx, qword [0x14019c250]
cmp rbx, r12
je 0x1400315fc
cmp word [rbx], r12w
je 0x1400315fc
mov rcx, qword [0x14019c060]
cmp rcx, r12
je 0x1400315e3
call qword [0x14019bfb0]
mov qword [0x14019c060], r12
mov rax, qword [0x14019bfc8]
cmp rax, r12
je 0x1400315fc
lea rdx, [0x14019c060]
mov rcx, rbx
call rax
nop
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x60], r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14019c070], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14019c074], eax
mov dword [rsp + 0x30], 0x10
mov dword [rsp + 0x28], eax
mov eax, dword [0x14019c070]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r8d, 1
lea rdx, [0x14019c068]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov byte [0x14019c052], r12b
jmp 0x1400317f9
cmp qword [0x14019c060], r12
je 0x140031732
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [0x14019bfb8]
cmp eax, r12d
jne 0x140031732
mov ebx, dword [0x14019c070]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14019c070], eax
mov edi, dword [0x14019c074]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14019c074], eax
mov ecx, dword [0x14019c070]
cmp ebx, ecx
jne 0x1400316d3
cmp edi, eax
je 0x140031702
mov dword [rsp + 0x30], 0x16
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [0x14019c074]
mov ecx, dword [0x14019c070]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x14019c060]
mov rcx, qword [rsp + 0x68]
call qword [0x14019bfc0]
mov ecx, 5
call qword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1400317fb
mov ecx, 5
call qword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1400317fb
cmp rcx, r12
je 0x140031761
cmp rcx, rbx
je 0x140031761
mov qword [0x14019c090], rbx
mov rdx, rbx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetParent]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x14019bf27], r12b
jne 0x1400317c1
lea rax, [0x140195898]
lea rcx, [0x14019c068]
cmp byte [0x14019bf26], r12b
cmove rax, rcx
mov qword [0x14019c078], rax
mov ecx, dword [0x1401b5008]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov r8, rax
mov rdx, qword [0x14019c078]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.USER32.dll_FillRect]
mov rdx, qword [rsp + 0x80]
mov rcx, rdi
call fcn.14002ba78
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x1400317f9
cmp rsi, 1
jne 0x1400317f9
mov edx, esi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14010bcc0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret