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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x1800a98a0]
xor rax, rsp
mov qword [rsp + 0x138], rax
xor ebx, ebx
mov dword [rsp + 0x84], r8d
mov ebp, r8d
mov dword [rsp + 0x6c], edx
and ebp, 0x10000
mov qword [rsp + 0x110], rbx
mov eax, r8d
mov qword [rsp + 0x90], rbx
and eax, 0x40000
mov qword [rsp + 0xb0], rbx
test r8d, 0x8001f
mov dword [rsp + 0xb8], eax
mov r14, rcx
mov qword [rsp + 0xa8], rbx
setne cl
mov qword [rsp + 0xc8], rbx
test r8d, 0xfff0ffe0
mov qword [rsp + 0xd8], rbx
mov r12d, r8d
mov dword [rsp + 0x98], ebx
sete al
mov dword [rsp + 0x54], ebx
mov dword [rsp + 0xc0], ebx
mov dword [rsp + 0xbc], 1
mov qword [rsp + 0x108], rbx
test al, cl
je 0x180078ae7
mov rcx, r14
call fcn.18000b1b8
mov qword [rsp + 0x60], rax
mov r13, rax
test rax, rax
je 0x180078ae7
mov rcx, r14
call sym.USER32.dll_IsWindowVisible
test eax, eax
jne 0x180078b14
test ebp, ebp
je 0x180078b18
xor eax, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.180033470
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
test ebp, ebp
je 0x180078ae7
xor edx, edx
mov r8d, 0x10003
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserGetDCEx]
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x180078ae7
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetLayout]
movups xmm1, xmmword [r13 + 0x58]
mov esi, ebx
mov edi, ebx
mov r9d, 1
and eax, r9d
movdqa xmm0, xmm1
mov dword [rsp + 0xe8], eax
test ebp, ebp
mov eax, r12d
psrldq xmm0, 8
setne dil
movq rcx, xmm0
test ebp, ebp
mov qword [rsp + 0xf0], rcx
mov edx, ecx
sete sil
and eax, 0x20000
mov dword [rsp + 0xc4], eax
mov r15d, esi
mov eax, ebx
mov ebx, edi
setne al
shr rcx, 0x20
mov dword [rsp + 0x50], eax
xor r8d, r8d
movq rax, xmm1
sub edx, eax
mov qword [rsp + 0x100], rax
shr rax, 0x20
sub ecx, eax
mov dword [rsp + 0x58], edx
mov qword [rsp + 0x88], rcx
movups xmmword [rsp + 0x118], xmm1
test edx, edx
je 0x180079558
test ecx, ecx
je 0x180079558
test byte [r13 + 0x1f], 0x40
mov qword [rsp + 0xd0], r8
je 0x180078c33
mov qword [rsp + 0xd0], r8
cmp qword [r13 + 0x30], r8
je 0x180078c33
bt r12d, 0x13
jb 0x180079558
mov rcx, r13
call fcn.180086218
test rax, rax
jne 0x180078c18
mov qword [rsp + 0x108], r8
jmp 0x180078c2b
mov rcx, r13
call fcn.180086218
mov rax, qword [rax]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0xd0], r9
mov eax, 2
test byte [r13 + 0x1f], al
je 0x180078c53
mov edx, 0xf02
mov dword [rsp + 0x54], r9d
mov rcx, r13
call fcn.18002f07c
xor r8d, r8d
cmp qword [r13 + 0xa8], r8
je 0x180078c95
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rsp + 0x90], rax
mov r15d, esi
mov ebx, edi
test rax, rax
je 0x1800794c6
mov rdx, rax
mov rcx, r14
call sym.USER32.dll_GetWindowRgn
test eax, eax
je 0x1800794c6
xor r9d, r9d
mov dword [rsp + 0xc0], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rsp + 0xb0], rax
mov r15d, esi
mov ebx, edi
test rax, rax
je 0x1800794c6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov qword [rsp + 0xa8], rax
mov rcx, rax
test rax, rax
je 0x1800794c6
mov eax, dword [rsp + 0x11c]
mov qword [rsp + 0x118], rax
test ebp, ebp
je 0x180078d31
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x180078d1e
mov r9d, 5
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x180078d44
mov rax, qword [rsp + 0x88]
mov r9d, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
jmp 0x180078d39
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_SetRectRgn]
test eax, eax
je 0x1800794c6
mov r15d, esi
and r12d, 0x80000
jne 0x180078d90
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov ebx, edi
test rax, rax
je 0x1800794c6
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call fcn.18002af90
test ebp, ebp
jne 0x180078d90
mov rcx, r13
call fcn.18007820c
xor r15d, r15d
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x110], rax
mov rsi, rax
mov ebx, edi
test rax, rax
je 0x1800794c6
mov rdx, qword [rsp + 0xa0]
mov r8, rax
mov rcx, r14
call fcn.180078908
mov qword [rsp + 0xd8], rax
test rax, rax
je 0x1800794c6
mov rcx, qword [rsp + 0x100]
sub rcx, qword [r13 + 0x58]
jne 0x180078df2
mov rcx, qword [rsp + 0xf0]
sub rcx, qword [r13 + 0x60]
test rcx, rcx
je 0x180078ee7
movups xmm0, xmmword [r13 + 0x58]
movq r8, xmm0
psrldq xmm0, 8
movq rax, xmm0
mov qword [rsp + 0x100], r8
mov ecx, eax
mov rdx, r8
shr rdx, 0x20
sub ecx, r8d
shr rax, 0x20
sub eax, edx
mov qword [rsp + 0x118], rdx
mov rdx, qword [rsp + 0x90]
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x88], rax
test rdx, rdx
je 0x180078e6e
mov rcx, r14
call sym.USER32.dll_GetWindowRgn
test eax, eax
je 0x1800794c6
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x90]
mov ebx, edi
test ebp, ebp
je 0x180078e9b
test rdx, rdx
je 0x180078e92
mov rcx, qword [rsp + 0xa8]
mov r9d, 5
xor r8d, r8d
call qword [sym.imp.GDI32.dll_CombineRgn]
jmp 0x180078eb6
mov dword [rsp + 0x20], eax
mov r9d, ecx
jmp 0x180078ea3
and dword [rsp + 0x20], 0
xor r9d, r9d
mov rcx, qword [rsp + 0xa8]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.GDI32.dll_SetRectRgn]
test eax, eax
je 0x1800794c6
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0xa0]
mov r8, rsi
mov rcx, r14
call fcn.180078908
mov qword [rsp + 0xd8], rax
mov ebx, edi
test rax, rax
je 0x1800794c6
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [rsp + 0x6c]
xor r10d, r10d
test eax, eax
mov ecx, 0xa5
cmovne ecx, eax
mov dword [rsp + 0x80], ecx
test r12d, r12d
je 0x180078f5c
mov r12d, dword [rsp + 0x50]
mov r9d, ecx
mov rdx, qword [rsp + 0xa0]
mov rcx, r13
mov dword [rsp + 0x28], r12d
mov r8, rsi
mov dword [rsp + 0x20], ebp
call fcn.180077cc0
mov edi, dword [rsp + 0x54]
mov dword [rsp + 0x98], eax
test eax, eax
je 0x1800794cf
xor ebx, ebx
xor r15d, r15d
jmp 0x1800794cf
mov edx, dword [rsp + 0x58]
mov eax, ebp
mov rcx, qword [rsp + 0x88]
neg eax
mov r12d, dword [rsp + 0x84]
mov eax, ebp
sbb esi, esi
mov dword [rsp + 0x5c], r10d
and esi, edx
mov r9d, r12d
neg eax
mov ebx, r10d
mov dword [rsp + 0x68], ebx
sbb r13d, r13d
or r8d, 0xffffffff
and r13d, ecx
mov dword [rsp + 0x70], r8d
and r9d, 0x10
mov dword [rsp + 0xe4], r9d
je 0x180078fc5
mov eax, edx
mov dword [rsp + 0x78], r8d
cdq
mov dword [rsp + 0xb8], r10d
lea r11d, [r8 + 3]
idiv r11d
mov dword [rsp + 0x7c], eax
jmp 0x180079021
test r12b, 1
je 0x180078fec
mov eax, ebp
mov dword [rsp + 0x7c], esi
neg eax
sbb eax, eax
mov dword [rsp + 0x78], eax
test r12b, 4
je 0x180079032
mov eax, ebp
mov dword [rsp + 0x74], r13d
neg eax
sbb eax, eax
jmp 0x18007904e
mov r11d, 2
test r11b, r12b
je 0x180079011
test ebp, ebp
mov r8d, r10d
mov eax, ebp
cmove r8d, edx
neg eax
mov dword [rsp + 0x7c], r8d
sbb eax, eax
neg eax
dec eax
jmp 0x180078fd5
mov dword [rsp + 0x7c], r10d
mov ebx, edx
mov dword [rsp + 0x78], r10d
mov dword [rsp + 0x68], edx
test r9d, r9d
je 0x180078fd9
mov eax, ecx
cdq
idiv r11d
mov dword [rsp + 0x74], eax
jmp 0x180079062
test r12b, 8
je 0x180079054
test ebp, ebp
mov eax, r10d
cmove eax, ecx
mov dword [rsp + 0x74], eax
mov eax, ebp
neg eax
sbb eax, eax
neg eax
dec eax
mov dword [rsp + 0x70], eax
jmp 0x180079062
mov dword [rsp + 0x74], r10d
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x5c], ecx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rsp + 0xf8], eax
mov eax, r12d
and eax, 0x13
mov dword [rsp + 0xfc], eax
mov eax, r12d
and eax, 0x1c
mov dword [rsp + 0xe0], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [rsp + 0xf8]
cmp dword [rsp + 0xfc], 0
mov dword [rsp + 0x6c], ecx
je 0x1800790d8
mov r8d, dword [rsp + 0x80]
lea rdx, [0x180077ca0]
test ebp, ebp
lea rax, [0x180077c70]
cmove rax, rdx
mov edx, ecx
mov ecx, dword [rsp + 0x58]
call qword [case.0x18001f7d3.0]
mov ecx, dword [rsp + 0x6c]
mov ebx, eax
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0xe0], 0
je 0x180079111
mov r8d, dword [rsp + 0x80]
lea rdx, [0x180077ca0]
test ebp, ebp
lea rax, [0x180077c70]
cmove rax, rdx
mov edx, ecx
mov ecx, dword [rsp + 0x88]
call qword [case.0x18001f7d3.0]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov r10, qword [rsp + 0x88]
cmp dword [rsp + 0x6c], eax
jbe 0x18007914f
xor ebx, ebx
test ebp, ebp
cmove ebx, ecx
mov dword [rsp + 0x68], ebx
je 0x180079141
xor r8d, r8d
mov dword [rsp + 0x5c], r8d
jmp 0x180079154
mov r8d, r10d
mov dword [rsp + 0x5c], r10d
mov dword [rsp + 0x68], ebx
jmp 0x180079154
mov r8d, dword [rsp + 0x5c]
cmp esi, ebx
jne 0x18007916d
cmp r13d, r8d
jne 0x18007916d
mov ecx, 1
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x180079089
mov r11d, dword [rsp + 0xe4]
mov esi, 2
mov r9d, dword [rsp + 0x74]
mov eax, r8d
cdq
idiv esi
test r11d, r11d
cmove eax, r8d
imul eax, dword [rsp + 0x70]
add r9d, eax
mov eax, ebx
cdq
mov dword [rsp + 0xec], r9d
idiv esi
mov edx, dword [rsp + 0x7c]
test r11d, r11d
mov dword [rsp + 0x12c], r9d
cmove eax, ebx
imul eax, dword [rsp + 0x78]
add edx, eax
cmp dword [rsp + 0xb8], 0
mov dword [rsp + 0xf0], edx
mov dword [rsp + 0x128], edx
lea eax, [rdx + rbx]
mov dword [rsp + 0x130], eax
lea eax, [r9 + r8]
mov dword [rsp + 0x134], eax
je 0x18007925d
test r12b, 1
je 0x1800791fc
xor r13d, r13d
mov eax, ecx
sub eax, ebx
test ebp, ebp
cmove r13d, eax
jmp 0x180079212
test sil, r12b
je 0x18007920f
sub ecx, ebx
mov eax, ebp
neg eax
sbb r13d, r13d
and r13d, ecx
jmp 0x180079212
mov r13d, edx
mov esi, r13d
neg esi
test r13d, r13d
cmove esi, edx
test r12b, 4
je 0x180079234
xor r12d, r12d
mov eax, r10d
sub eax, r8d
test ebp, ebp
cmove r12d, eax
jmp 0x18007924f
test r12b, 8
je 0x18007924c
mov ecx, r10d
mov eax, ebp
sub ecx, r8d
neg eax
sbb r12d, r12d
and r12d, ecx
jmp 0x18007924f
mov r12d, r9d
mov ebx, r12d
neg ebx
test r12d, r12d
cmove ebx, r9d
jmp 0x180079267
xor esi, esi
mov r13d, edx
xor ebx, ebx
mov r12d, r9d
lea rcx, [rsp + 0x128]
call qword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
mov qword [rsp + 0xc8], rax
test rax, rax
je 0x1800794bf
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1800792ef
mov r8d, ebx
mov edx, esi
mov rcx, rax
call qword [sym.imp.GDI32.dll_OffsetRgn]
test eax, eax
je 0x1800794bf
mov rcx, qword [rsp + 0xc8]
mov r9d, 1
mov rdx, qword [rsp + 0x90]
mov r8, rcx
call qword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x1800794bf
mov rcx, qword [rsp + 0x90]
neg ebx
neg esi
mov r8d, ebx
mov edx, esi
call qword [sym.imp.GDI32.dll_OffsetRgn]
test eax, eax
je 0x1800794bf
mov rsi, qword [rsp + 0xc8]
mov r9d, 4
mov rbx, qword [rsp + 0xa8]
mov r8, rsi
mov rcx, qword [rsp + 0xb0]
mov rdx, rbx
call qword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x1800794bf
cmp dword [rsp + 0xe8], 0
je 0x18007933c
mov rdx, qword [rsp + 0xb0]
mov rcx, r14
call qword [sym.imp.GDI32.dll_MirrorRgn]
mov r8d, dword [rsp + 0x118]
mov edx, dword [rsp + 0x100]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.GDI32.dll_OffsetRgn]
test eax, eax
je 0x1800794bf
mov r9d, 5
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CombineRgn]
xor ebx, ebx
test eax, eax
je 0x1800794bf
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.18002af90
test eax, eax
je 0x1800794bf
mov qword [rsp + 0xc8], rbx
cmp dword [rsp + 0xbc], ebx
je 0x1800793d1
cmp dword [rsp + 0xc4], ebx
je 0x1800793d1
mov dword [rsp + 0x30], 0x20b
xor r9d, r9d
mov dword [rsp + 0x28], ebx
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserSetWindowPos]
mov dword [rsp + 0xbc], ebx
mov r9d, 0x485
mov rbx, qword [rsp + 0xb0]
xor edx, edx
mov r8, rbx
xor ecx, ecx
call qword [sym.imp.win32u.dll_NtUserRedrawWindow]
test eax, eax
je 0x1800794bf
cmp qword [rsp + 0xd0], 0
je 0x180079426
mov rcx, qword [rsp + 0x108]
mov r8d, 0x7e
mov rdx, rbx
call qword [sym.imp.win32u.dll_NtUserCallHwndParamLock]
test rax, rax
je 0x1800794bf
mov rax, qword [rsp + 0x110]
mov ebx, dword [rsp + 0x68]
mov r9d, ebx
mov r8d, dword [rsp + 0xec]
mov edx, dword [rsp + 0xf0]
mov rcx, qword [rsp + 0xa0]
mov dword [rsp + 0x40], 0x80cc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x1800794bf
mov ecx, dword [rsp + 0x80]
mov esi, ebx
mov eax, dword [rsp + 0x5c]
mov r13d, eax
cmp dword [rsp + 0x6c], ecx
ja 0x1800794e6
test ebp, ebp
je 0x180079497
test ebx, ebx
je 0x1800794e6
test eax, eax
jmp 0x1800794b0
mov r12d, dword [rsp + 0x84]
cmp ebx, dword [rsp + 0x58]
jne 0x180079089
cmp eax, dword [rsp + 0x88]
je 0x1800794e6
mov r12d, dword [rsp + 0x84]
jmp 0x180079089
mov r13, qword [rsp + 0x60]
mov ebx, edi
mov edi, dword [rsp + 0x54]
mov r12d, dword [rsp + 0x50]
test edi, edi
je 0x18007955d
mov edx, 0xf02
mov rcx, r13
call fcn.18007d800
jmp 0x18007955d
mov dword [rsp + 0x98], 1
test ebp, ebp
je 0x18007953f
mov edi, dword [rsp + 0x54]
mov r13, qword [rsp + 0x60]
test edi, edi
je 0x180079518
mov edx, 0xf02
mov rcx, r13
call fcn.18007d800
and dword [rsp + 0x54], 0
mov edi, dword [rsp + 0x54]
mov dword [rsp + 0x30], 0x29f
xor r9d, r9d
and dword [rsp + 0x28], 0
xor r8d, r8d
and dword [rsp + 0x20], 0
xor edx, edx
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserSetWindowPos]
xor ebx, ebx
jmp 0x1800794ca
mov r9d, 0x838
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserRedrawWindow]
jmp 0x1800794bf
mov r12d, dword [rsp + 0x50]
xor edi, edi
test ebx, ebx
je 0x18007956e
xor edx, edx
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserShowWindow]
cmp dword [rsp + 0xc0], edi
je 0x18007958a
mov rdx, qword [rsp + 0x90]
xor r8d, r8d
mov rcx, r14
call fcn.18002af90
test r15d, r15d
je 0x1800795f4
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0xc4], edi
je 0x1800795c9
mov dword [rsp + 0x30], 0x263
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserSetWindowPos]
mov r15d, edi
mov r12d, edi
jmp 0x1800795ce
mov r12d, dword [rsp + 0x50]
test r15d, r15d
je 0x1800795f4
mov dword [rsp + 0x30], 0x257
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserSetWindowPos]
test r12d, r12d
je 0x18007961a
mov dword [rsp + 0x30], 0x223
xor r9d, r9d
mov dword [rsp + 0x28], edi
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], edi
mov rcx, r14
call qword [sym.imp.win32u.dll_NtUserSetWindowPos]
mov rax, qword [rsp + 0x110]
test rax, rax
je 0x180079630
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rax, qword [rsp + 0xd8]
test rax, rax
je 0x180079646
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0xa0]
mov rcx, r14
call sym.USER32.dll_ReleaseDC
mov rax, qword [rsp + 0xc8]
test rax, rax
je 0x18007966c
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180079682
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rax, qword [rsp + 0xb0]
test rax, rax
je 0x180079698
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [rsp + 0x98]
jmp 0x180078ae9