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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r13, r9
mov ebx, r8d
mov r12, rcx
movaps xmmword [rax - 0x68], xmm8
cmp r8d, 0x21
jne 0x140038ebb
test byte [0x14010bda0], 0x50
je 0x140038f72
lea eax, [r8 - 0x1d]
jmp 0x14003996f
cmp ebx, 0x453
jne 0x140038f72
lea rcx, [rsp + 0x88]
mov edx, 0x19000
call fcn.1400571c8
mov rbx, qword [rsp + 0x88]
xor esi, esi
mov word [rbx], si
mov dword [rbx + 0x31ffc], esi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x7c]
lea r8, str.Text.Paramd
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], 0x31ffe
mov qword [rsp + 0x20], rbx
call fcn.1400507e0
cmp eax, esi
je 0x140038f33
mov word [rbx], si
mov rdx, rbx
mov rcx, r12
call fcn.14002ad18
mov rcx, qword [rsp + 0x178]
xor edx, edx
mov rbx, rax
bts rbx, 0xc
mov r8, rbx
or r8, 0x10
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rcx, [rsp + 0x88]
call fcn.14004f564
mov rax, rbx
jmp 0x14003996f
call qword [sym.imp.USER32.dll_GetDesktopWindow]
xor esi, esi
mov rbp, rax
mov eax, dword [0x14010c160]
cmp eax, esi
je 0x140038fb4
cmp eax, ebx
jne 0x140038fb4
mov rax, qword [0x14010bd90]
cmp rax, rsi
je 0x140038fbb
cmp rbp, rsi
je 0x140038fbb
mov rcx, qword [rsp + 0x178]
mov rdx, rbp
mov qword [0x14010bd90], rbp
call qword [sym.imp.USER32.dll_SetParent]
mov rax, qword [0x14010bd90]
mov r14d, 0x110
mov r15d, 0x44f
cmp ebx, r14d
je 0x140038fff
cmp ebx, r15d
je 0x140038fff
cmp rbp, rsi
je 0x140038fff
cmp rax, rsi
je 0x140038fff
cmp rax, rbp
je 0x140038fff
mov rcx, qword [rsp + 0x178]
mov rdx, rbp
mov qword [0x14010bd90], rbp
call qword [sym.imp.USER32.dll_SetParent]
mov rax, qword [0x14010bd90]
mov edi, 1
cmp ebx, r14d
ja 0x1400395df
je 0x14003932f
cmp ebx, 5
je 0x140039311
cmp ebx, 0xf
je 0x140039222
cmp ebx, 0x14
je 0x140039056
cmp ebx, 0x21
je 0x14003903d
cmp ebx, 0x7e
je 0x14003960a
jmp 0x1400397a4
mov al, byte [0x14010bda0]
and al, 0x50
neg al
sbb rax, rax
and rax, 3
inc rax
jmp 0x14003996f
mov qword [rsp + 0x98], rsi
cmp qword [0x14010bd60], rsi
je 0x140039212
lea rdx, [rsp + 0x98]
mov rcx, r13
call qword [0x14010bc60]
cmp eax, esi
jne 0x140039212
mov ebx, dword [0x14010bd70]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r13d, dword [0x14010bd74]
mov ecx, edi
mov dword [0x14010bd70], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, dword [0x14010bd70]
mov r12d, eax
mov dword [0x14010bd74], eax
cmp ebx, ebp
jne 0x1400390c2
mov r14d, esi
cmp r13d, eax
je 0x1400390c5
mov r14d, edi
test byte [0x14010bda0], 0x40
mov r15d, esi
mov r13d, esi
je 0x140039113
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, edi
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x3d
mov r12d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x3e
mov ebp, 0x12c
add r15d, 0xfffffed4
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r13d, [rax - 0x50]
sub r12d, r13d
cmp r14d, esi
je 0x14003913f
mov rcx, qword [rsp + 0x178]
mov dword [rsp + 0x30], 0x16
mov r9d, r13d
mov r8d, r15d
xor edx, edx
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x14010bd60]
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x180], esi
call qword [0x14010bca8]
mov rcx, qword [0x14010bd60]
lea rdx, [rsp + 0x180]
call qword [0x14010bcb0]
movsxd rcx, dword [0x14010bd74]
mov r11d, dword [rsp + 0x180]
mov r10d, dword [rsp + 0x70]
movsxd rbx, dword [0x14010bd70]
xor edx, edx
movsxd rax, r12d
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], 2
imul rax, r11
div rcx
xor edx, edx
mov rdi, rax
movsxd rax, ebp
mov dword [rsp + 0x48], edi
imul rax, r10
div rbx
xor edx, edx
mov r9, rax
movsxd rax, r13d
mov dword [rsp + 0x40], r9d
xor r9d, r9d
imul rax, r11
div rcx
mov rcx, qword [rsp + 0x98]
mov r8, rax
xor edx, edx
movsxd rax, r15d
mov dword [rsp + 0x38], r8d
xor r8d, r8d
imul rax, r10
div rbx
mov rdx, qword [0x14010bd60]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], ebp
call qword [0x14010bcb8]
mov ecx, 5
call qword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x14003996f
cmp rax, rsi
je 0x140039244
cmp rax, rbp
je 0x140039244
mov rcx, qword [rsp + 0x178]
mov rdx, rbp
mov qword [0x14010bd90], rbp
call qword [sym.imp.USER32.dll_SetParent]
mov rcx, qword [rsp + 0x178]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_BeginPaint]
cmp byte [0x14010bd52], sil
jne 0x1400392de
cmp byte [0x14010bbbf], sil
je 0x1400392ac
cmp byte [0x14010bda1], sil
je 0x14003929c
mov rcx, qword [rsp + 0x178]
lea rax, [rsp + 0xa0]
lea rdx, [rsp + 0xa0]
mov qword [0x14010bd78], rax
call qword [sym.imp.USER32.dll_GetClientRect]
jmp 0x1400392ba
lea rax, [0x140109208]
mov qword [0x14010bd78], rax
jmp 0x1400392ba
lea rdx, [0x14010bd68]
mov qword [0x14010bd78], rdx
mov ecx, dword [0x140116008]
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov rdx, qword [0x14010bd78]
mov rcx, qword [rsp + 0xb0]
mov r8, rax
call qword [sym.imp.USER32.dll_FillRect]
mov r8, qword [rsp + 0x178]
mov rdx, qword [rsp + 0xb0]
mov rcx, r12
call fcn.140016b04
mov rcx, qword [rsp + 0x178]
lea rdx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_EndPaint]
jmp 0x1400397a4
cmp r13, rdi
jne 0x1400397a4
mov rcx, qword [rsp + 0x178]
mov edx, edi
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1400397a4
call fcn.14005518c
mov rcx, qword [rsp + 0x178]
mov ebx, 0xffffffec
mov edx, ebx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [rsp + 0x178]
mov edx, ebx
bts rax, 0x1b
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea r12, [0x14010ce50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, str.LogohWnd
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
call fcn.140050914
lea rax, [rsp + 0x178]
lea r9d, [rbx + 0x1f]
lea r8, str.LogohWnd
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call fcn.1400508a0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r11b, byte [0x14010ba60]
and r11b, 0xc
cmp r11b, 8
jne 0x1400393e8
mov rcx, qword [rsp + 0x178]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, edi
mov dword [0x14010bd70], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14010bd74], eax
cmp byte [0x14010bda1], sil
je 0x140039447
mov eax, dword [0x140109214]
mov r9d, dword [0x14010920c]
mov r8d, dword [0x140109208]
mov rcx, qword [rsp + 0x178]
mov dword [rsp + 0x30], 0x14
mov dword [rsp + 0x28], eax
mov eax, dword [0x140109210]
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov qword [0x14010bd90], 0xffffffffffffeffb
cmp rbp, rsi
je 0x14003946f
mov rcx, qword [rsp + 0x178]
mov rdx, rbp
mov qword [0x14010bd90], rbp
call qword [sym.imp.USER32.dll_SetParent]
cmp byte [0x140109219], sil
movzx eax, word [0x14010921c]
mov ecx, 3
lea r9d, [rcx - 1]
mov ebx, 0xff
cmovge r9d, ecx
cmp ax, si
jl 0x140039496
sub bl, al
mov edx, dword [0x140116008]
mov rcx, qword [rsp + 0x178]
or r9d, 2
mov r8b, bl
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
test byte [0x14010bda0], 0x40
mov ebp, dword [0x14010bd70]
mov r13d, dword [0x14010bd74]
mov r14d, esi
mov ebx, esi
je 0x14003950a
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, edi
mov r14d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x3d
mov r13d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x3e
mov ebp, 0x12c
add r14d, 0xfffffed4
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ebx, [rax - 0x50]
sub r13d, ebx
mov rcx, qword [rsp + 0x178]
mov r9d, ebp
mov r8d, ebx
mov edx, r14d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r13d
call qword [sym.imp.USER32.dll_MoveWindow]
mov r11b, byte [0x14010bda0]
mov al, byte [0x14010bd57]
mov rcx, qword [rsp + 0x178]
and r11b, 0x10
neg al
sbb rdx, rdx
cmp r11b, sil
mov r9d, ebx
cmovne rdx, rdi
mov edi, 0x11
mov r8d, r14d
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
cmp eax, esi
jne 0x140039594
mov rcx, qword [rsp + 0x178]
mov dword [rsp + 0x30], edi
mov r9d, ebx
mov r8d, r14d
xor edx, edx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebp
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r11, qword [rsp + 0x178]
mov rcx, r12
mov qword [0x14010bd30], r11
mov qword [0x14010bd38], r11
mov byte [0x14010bd56], 2
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x178]
xor r9d, r9d
xor r8d, r8d
mov edx, r15d
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x1400397a4
mov eax, ebx
sub eax, 0x111
je 0x14003977e
sub eax, 0x103
je 0x140039776
sub eax, 0x23b
je 0x140039766
cmp eax, edi
jne 0x1400397a4
lea r12, [0x14010ce50]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp ebx, 0x450
jne 0x1400396b0
lea rcx, [rsp + 0x90]
mov edx, 0x20a
call fcn.1400571c8
mov rbx, qword [rsp + 0x90]
lea rax, [rsp + 0x78]
mov word [rbx], si
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x74]
lea r8, str.LogoFile
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x74], esi
mov dword [rsp + 0x78], 0x412
mov qword [rsp + 0x20], rbx
call fcn.1400507e0
mov ecx, esi
mov word [rbx + 0x410], si
cmp eax, esi
sete cl
cmp ecx, esi
je 0x1400396a3
cmp word [rbx], si
je 0x1400396a3
lea rcx, [0x14010bff8]
mov rdx, rbx
call fcn.140061724
lea rcx, [rsp + 0x90]
call fcn.14004f564
mov rbx, qword [0x14010bff8]
cmp rbx, rsi
je 0x1400396f2
cmp word [rbx], si
je 0x1400396f2
mov rcx, qword [0x14010bd60]
cmp rcx, rsi
je 0x1400396da
call qword [0x14010bc58]
mov qword [0x14010bd60], rsi
mov rax, qword [0x14010bc70]
cmp rax, rsi
je 0x1400396f2
lea rdx, [0x14010bd60]
mov rcx, rbx
call rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, edi
mov dword [0x14010bd70], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14010bd74], eax
cmp byte [0x14010bda1], sil
jne 0x14003974c
mov rcx, qword [rsp + 0x178]
mov dword [rsp + 0x30], 0x10
mov dword [rsp + 0x28], eax
mov eax, dword [0x14010bd70]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsp + 0x178]
lea rdx, [0x14010bd68]
mov r8d, edi
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14003976d
mov byte [0x14010bd56], 7
mov byte [0x14010bd56], sil
jmp 0x1400397a4
mov rax, rsi
jmp 0x14003996f
lea r12, [0x14010ce50]
cmp r13, 0x66
je 0x1400398c2
cmp r13, 0x67
je 0x1400397ab
cmp r13, 2
jne 0x1400397a4
test byte [0x14010ba60], 0xc
je 0x1400397ab
xor eax, eax
jmp 0x14003996f
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [0x14010c524], edi
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp r13, 0x67
jne 0x1400397d9
mov rax, qword [rsp + 0x190]
cmp rax, rsi
je 0x1400397d9
mov byte [rax], sil
cmp byte [0x140109219], sil
jge 0x140039898
test byte [0x14010ba60], 2
jne 0x140039898
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm7, xmm7
movss xmm8, dword [0x1400f394c]
mov r13d, eax
mov ebx, 0xff
movaps xmm6, xmm7
movaps xmm0, xmm7
mulss xmm0, dword [0x1400f3948]
divss xmm0, xmm8
cvttss2si rbp, xmm0
add ebp, r13d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebp
sub ecx, eax
cmp ecx, esi
jle 0x140039865
mov rcx, qword [rsp + 0x178]
mov r8d, ebx
unpcklps xmm6, xmm6
mov r9d, 2
xor edx, edx
cvtps2pd xmm0, xmm6
addsd xmm0, qword [0x1400f3940]
cvttsd2si rax, xmm0
sub r8b, al
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
addss xmm6, dword [0x1400f393c]
addss xmm7, dword [0x1400f393c]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub ebp, eax
cmp ebp, esi
jle 0x14003988e
mov edx, edi
mov ecx, 0xb
call qword [sym.imp.KERNEL32.dll_SleepEx]
comiss xmm8, xmm6
jae 0x140039810
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [0x14010c524]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x14010bc00]
cmp rcx, rsi
je 0x1400398c2
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and byte [0x14010ba60], 0xfd
lea r8, str.LogohWnd
lea rdx, str.SOFTWAREPELOGON
mov rcx, 0xffffffff80000002
call fcn.140050914
lea rcx, [0x14010bff8]
mov qword [0x14010bd90], rsi
mov byte [0x140109219], 0xff
call fcn.14004f564
mov rcx, qword [0x14010bd60]
cmp rcx, rsi
je 0x140039918
call qword [0x14010bc58]
mov rax, qword [0x14010bd38]
mov rcx, r12
mov qword [0x14010bd60], rsi
cmp rax, qword [0x14010bd30]
mov qword [0x14010bd30], rsi
mov byte [0x14010bda1], sil
cmove rax, rsi
mov qword [0x14010bd38], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov cl, byte [0x14010c465]
call fcn.1400551c0
mov rcx, qword [rsp + 0x178]
mov edx, 8
call qword [sym.imp.USER32.dll_EndDialog]
cdqe
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret