Function at 0x18024bae0
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [rsp + 0x68], r9
mov byte [rsp + 0x50], r8b
mov rbx, rdx
mov qword [rsp + 0x60], rdx
mov rdi, rcx
call fcn.180246a00
mov rsi, rax
mov r15, qword [rax]
mov qword [rbp - 0x10], r15
test r15, r15
jne 0x18024bb81
mov ecx, 0x500
call fcn.1802994e4
mov rbx, rax
mov qword [rbp - 0x68], rax
xor edx, edx
mov r8d, 0x500
mov rcx, rax
call fcn.18029c350
mov rcx, rbx
call fcn.18024f3d0
mov r15, rax
mov qword [rbp - 0x10], rax
mov qword [rsi], rax
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x18024c91f
test rbx, rbx
je 0x18024c91f
xor eax, eax
mov qword [rbp - 8], rax
mov qword [rbp], rax
lea rdx, [rbp - 8]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [rbp]
sub esi, dword [rbp - 8]
mov r14d, dword [rbp + 4]
sub r14d, dword [rbp - 4]
xor r12b, r12b
xor r13d, r13d
cmp qword [rdi + 0xf8], r13
jne 0x18024bd5e
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rdi + 0xf8], rax
mov r8d, r14d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rdi + 0x100], rax
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rdi + 0x108], rax
mov r8d, r14d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rdi + 0x110], rax
mov rdx, qword [rdi + 0x100]
mov rcx, qword [rdi + 0xf8]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rdi + 0x118], rax
mov rdx, qword [rdi + 0x110]
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rdi + 0x120], rax
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov rax, qword [r15]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x40]
mov rcx, r15
call qword [rax + 0x58]
mov rax, qword [r15]
lea rdx, [rbp - 0x68]
mov rcx, r15
call qword [rax + 0x78]
mov r9d, dword [rbp - 0x78]
add r9d, dword [rbp - 0x80]
add r9d, esi
mov edx, dword [rbp - 0x74]
add edx, dword [rbp - 0x7c]
add edx, r14d
mov dword [rsp + 0x20], edx
lea r8, [rbp - 8]
mov rdx, rbx
mov rcx, rdi
call fcn.180248fa0
mov byte [rdi + 0x130], 1
mov r9b, 1
mov rdx, qword [rdi + 0xf8]
mov rcx, rdi
call fcn.18024ca90
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_BitBlt]
xor r9d, r9d
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.18024ca90
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.18024e590
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x18024bd3b
mov rdx, qword [rdi + 0x108]
mov rcx, rax
call fcn.1802564f0
mov rax, qword [rdi + 0x68]
mov eax, dword [rax + 0x44]
mov dword [rdi + 0xf0], eax
mov eax, dword [rdi + 0x98]
mov dword [rdi + 0xec], eax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r12b, 1
mov rax, qword [rdi + 0x68]
mov ecx, dword [rax + 0x44]
cmp dword [rdi + 0xf0], ecx
je 0x18024be68
call fcn.180248970
mov qword [rbp - 0x30], r13
mov rcx, qword [rax]
test rcx, rcx
je 0x18024bd94
mov rax, qword [rcx]
mov rdx, qword [rdi + 0xf8]
call qword [rax + 0x20]
mov rbx, rax
jmp 0x18024bd97
mov rbx, r13
mov qword [rbp - 0x30], rbx
test rbx, rbx
je 0x18024bda9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
test rbx, rbx
jne 0x18024bdb0
jmp 0x18024bdc9
lea r9, [rbp - 8]
xor r8d, r8d
mov rdx, rbx
call fcn.18024c950
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r9b, 1
mov rdx, qword [rdi + 0xf8]
mov rcx, rdi
call fcn.18024ca90
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_BitBlt]
xor r9d, r9d
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.18024ca90
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.18024e590
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x18024be50
mov rdx, qword [rdi + 0x108]
mov rcx, rax
call fcn.1802564f0
mov rax, qword [rdi + 0x68]
mov eax, dword [rax + 0x44]
mov dword [rdi + 0xf0], eax
mov eax, dword [rdi + 0x98]
mov dword [rdi + 0xec], eax
mov r12b, 1
cmp byte [rdi + 0x130], 0
je 0x18024c010
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov rax, qword [r15]
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x58]
mov rcx, r15
call qword [rax + 0x58]
lea rdx, [rbp - 0x20]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp - 0x3c]
mov r13d, dword [rbp - 0x34]
add r13d, edx
add r13d, r14d
mov rcx, qword [rbp - 0x40]
mov eax, dword [rbp - 0x38]
add eax, ecx
add eax, esi
mov dword [rsp + 0x54], eax
mov eax, dword [rbp - 0x1c]
sub eax, edx
mov dword [rsp + 0x58], eax
mov eax, dword [rbp - 0x20]
sub eax, ecx
mov dword [rsp + 0x5c], eax
call fcn.180246a00
mov rsi, rax
mov r15, qword [rax]
test r15, r15
jne 0x18024bf1c
mov ecx, 0x500
call fcn.1802994e4
mov rbx, rax
mov qword [rbp - 0x80], rax
xor edx, edx
mov r8d, 0x500
mov rcx, rax
call fcn.18029c350
mov rcx, rbx
call fcn.18024f3d0
mov r15, rax
mov qword [rsi], rax
test rax, rax
je 0x18024c00d
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rsi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov rdx, qword [rdi + 0x128]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rbx, rax
mov word [rbp - 0x70], 0
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx + 0xf8]
mov byte [rbp - 0x6e], al
mov byte [rbp - 0x6d], 1
mov dword [rsp + 0x30], 0x50
mov dword [rsp + 0x28], r13d
mov r15d, dword [rsp + 0x54]
mov dword [rsp + 0x20], r15d
mov r9d, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rdi + 0x28]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x30], eax
mov eax, dword [rsp + 0x58]
mov dword [rbp - 0x2c], eax
mov dword [rbp + 8], r15d
mov dword [rbp + 0xc], r13d
xor r13d, r13d
mov qword [rbp - 0x68], r13
mov dword [rsp + 0x40], 2
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 8]
lea r8, [rbp - 0x30]
mov rdx, rsi
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov byte [rdi + 0x130], r13b
jmp 0x18024c010
xor r13d, r13d
mov cl, 1
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x18024c01f
movzx ecx, byte [rax + 0x3f]
test r12b, r12b
jne 0x18024c4e1
test cl, cl
jne 0x18024c035
cmp byte [rax + 0x3c], cl
je 0x18024c4e1
mov eax, dword [rdi + 0x1b0]
cmp dword [rdi + 0x1a0], eax
jne 0x18024c055
mov eax, dword [rdi + 0x1b4]
cmp dword [rdi + 0x1a4], eax
jne 0x18024c055
mov dl, 1
jmp 0x18024c057
xor dl, dl
mov eax, dword [rdi + 0x1b8]
cmp dword [rdi + 0x1a8], eax
jne 0x18024c077
mov eax, dword [rdi + 0x1bc]
cmp dword [rdi + 0x1ac], eax
jne 0x18024c077
mov cl, 1
jmp 0x18024c079
xor cl, cl
lea r14, [rdi + 0xe0]
lea r15, [rdi + 0xdc]
mov eax, dword [r14]
cmp dword [r15], eax
jne 0x18024c09b
test dl, dl
je 0x18024c09b
test cl, cl
jne 0x18024c4e1
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x80], r13
mov qword [rbp - 0x78], r13
call fcn.1800f51f0
mov qword [rbp - 0x80], rax
movsxd rcx, dword [r15]
cmp ecx, 0xffffffff
jle 0x18024c186
mov rdx, qword [rdi + 0x188]
mov rax, qword [rdi + 0x190]
sub rax, rdx
sar rax, 3
cmp eax, ecx
jle 0x18024c186
mov rbx, qword [rdx + rcx*8]
mov edx, 0x10
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18024c104
lea rdx, [rbx + 0x60]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_CopyRect]
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
mov r9, r15
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.180122890
mov eax, dword [rdi + 0x1a4]
cmp dword [rbp - 0x1c], eax
movsxd rax, dword [r15]
jne 0x18024c143
test eax, eax
jle 0x18024c186
lea edx, [rax - 1]
mov rcx, rax
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax + rcx*8 - 8]
jmp 0x18024c15d
lea edx, [rax + 1]
cmp edx, dword [rdi + 0xac]
jge 0x18024c186
mov rcx, rax
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax + rcx*8 + 8]
mov eax, dword [rcx + 0x30]
shr eax, 2
test al, 1
jne 0x18024c186
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0x54], edx
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x54]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.180122890
movsxd rcx, dword [r14]
cmp ecx, 0xffffffff
jle 0x18024c256
mov rdx, qword [rdi + 0x188]
mov rax, qword [rdi + 0x190]
sub rax, rdx
sar rax, 3
cmp eax, ecx
jle 0x18024c256
mov rbx, qword [rdx + rcx*8]
mov edx, 0x10
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18024c1d4
lea rdx, [rbx + 0x60]
lea rcx, [rbp - 0x20]
call qword [sym.imp.USER32.dll_CopyRect]
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
mov r9, r14
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.180122890
mov eax, dword [rdi + 0x1b4]
cmp dword [rbp - 0x1c], eax
movsxd rax, dword [r14]
jne 0x18024c213
test eax, eax
jle 0x18024c256
lea edx, [rax - 1]
mov rcx, rax
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax + rcx*8 - 8]
jmp 0x18024c22d
lea edx, [rax + 1]
cmp edx, dword [rdi + 0xac]
jge 0x18024c256
mov rcx, rax
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax + rcx*8 + 8]
mov eax, dword [rcx + 0x30]
shr eax, 2
test al, 1
jne 0x18024c256
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0x54], edx
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x54]
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x80]
call fcn.180122890
mov ecx, dword [rdi + 0xec]
mov eax, dword [rdi + 0x98]
cmp ecx, eax
je 0x18024c2b0
cmp ecx, 0xffffffff
jle 0x18024c28e
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
lea r9, [rdi + 0xec]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.180122890
mov eax, dword [rdi + 0x98]
cmp eax, 0xffffffff
jle 0x18024c2b0
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
lea r9, [rdi + 0x98]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.180122890
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov rax, qword [rbp - 0x80]
mov rbx, qword [rax]
cmp rbx, rax
je 0x18024c3ad
nop word [rax + rax]
movsxd rcx, dword [rbx + 0x1c]
mov rax, qword [rdi + 0x188]
mov rsi, qword [rax + rcx*8]
mov edx, 0x10
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18024c300
lea rdx, [rsi + 0x60]
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_CopyRect]
mov r8d, dword [rbp - 0x64]
sub r8d, 2
mov dword [rbp - 0x64], r8d
mov ecx, dword [rbp - 0x5c]
add ecx, 2
mov dword [rbp - 0x5c], ecx
mov r9d, dword [rbp - 0x60]
inc r9d
mov dword [rbp - 0x60], r9d
sub ecx, r8d
mov edx, dword [rbp - 0x68]
sub r9d, edx
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18024c388
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18024c383
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x18024c383
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18024c370
mov rbx, rax
jmp 0x18024c3a0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18024c3a0
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18024c394
mov rax, qword [rbp - 0x80]
cmp rbx, rax
jne 0x18024c2d0
mov rbx, qword [rax]
cmp rbx, rax
je 0x18024c422
movsxd rax, dword [rbx + 0x1c]
mov rcx, qword [rdi + 0x188]
mov rdx, qword [rdi + 0x108]
mov rcx, qword [rcx + rax*8]
call fcn.1802545f0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18024c3fc
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18024c3f7
cmp rbx, qword [rax + 0x10]
jne 0x18024c3f7
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18024c3e4
mov rbx, rax
jmp 0x18024c41c
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x18024c41c
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x18024c410
cmp rbx, qword [rbp - 0x80]
jne 0x18024c3b5
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.18024e590
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x18024c446
mov rdx, qword [rdi + 0x108]
call fcn.1802564f0
mov eax, dword [rdi + 0x98]
mov dword [rdi + 0xec], eax
mov eax, dword [r15]
mov dword [r14], eax
mov rax, qword [rdi + 0x1a0]
mov qword [rdi + 0x1b0], rax
mov rax, qword [rdi + 0x1a8]
mov qword [rdi + 0x1b8], rax
mov rax, qword [rbp - 0x80]
mov r14, rax
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x18024c4ba
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.1800f5190
mov rbx, qword [rbx]
mov edx, 0x20
mov rcx, rsi
call fcn.180299904
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x18024c490
mov rax, qword [rbp - 0x80]
mov qword [rax + 8], r14
mov rax, qword [rbp - 0x80]
mov qword [rax], r14
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x10], r14
xor r13d, r13d
mov qword [rbp - 0x78], r13
lea edx, [r13 + 0x20]
mov rcx, qword [rbp - 0x80]
call fcn.180299904
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
mov r9, r13
mov qword [rbp - 0x48], r13
mov edx, r13d
mov dword [rsp + 0x58], edx
mov r8, qword [rdi + 0x190]
mov rcx, qword [rdi + 0x188]
mov rax, r8
sub rax, rcx
sar rax, 3
mov rbx, qword [rbp - 0x50]
test eax, eax
jle 0x18024c58f
mov esi, r13d
nop dword [rax + rax]
movsxd rax, esi
mov rcx, qword [rcx + rax*8]
cmp byte [rcx + 0x498], 0
je 0x18024c56a
cmp r9, rbx
je 0x18024c551
mov dword [rbx], edx
add rbx, 4
mov qword [rbp - 0x50], rbx
jmp 0x18024c56a
lea r8, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.180055a00
mov r9, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x50]
lea edx, [rsi + 1]
mov dword [rsp + 0x58], edx
mov r8, qword [rdi + 0x190]
mov rcx, qword [rdi + 0x188]
mov esi, edx
mov rax, r8
sub rax, rcx
sar rax, 3
cmp edx, eax
jl 0x18024c530
mov eax, dword [rdi + 0xec]
cmp eax, dword [rdi + 0x98]
je 0x18024c631
test eax, eax
js 0x18024c5dd
sub r8, rcx
sar r8, 3
cmp eax, r8d
jge 0x18024c5dd
cmp r9, rbx
je 0x18024c5c2
mov dword [rbx], eax
add rbx, 4
mov qword [rbp - 0x50], rbx
jmp 0x18024c5dd
lea r8, [rdi + 0xec]
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.180055a00
mov r9, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x50]
mov ecx, dword [rdi + 0x98]
test ecx, ecx
js 0x18024c625
mov rax, qword [rdi + 0x190]
sub rax, qword [rdi + 0x188]
sar rax, 3
cmp ecx, eax
jge 0x18024c625
cmp r9, rbx
je 0x18024c60e
mov dword [rbx], ecx
add rbx, 4
mov qword [rbp - 0x50], rbx
jmp 0x18024c625
lea r8, [rdi + 0x98]
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.180055a00
mov rbx, qword [rbp - 0x50]
mov eax, dword [rdi + 0x98]
mov dword [rdi + 0xec], eax
mov r15, rbx
mov r14, qword [rbp - 0x58]
sub r15, r14
sar r15, 2
movzx r9d, byte [rsp + 0x50]
mov r8, r15
mov rdx, rbx
mov rcx, r14
call fcn.18024ea20
cmp r14, rbx
je 0x18024c7da
xor eax, eax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov rbx, r13
mov rdx, qword [rdi + 0x68]
test rdx, rdx
je 0x18024c697
add rdx, 0x10
lea rcx, [rbp - 0x68]
call qword [sym.imp.USER32.dll_CopyRect]
mov r9d, dword [rbp - 0x5c]
mov r8d, dword [rbp - 0x60]
mov edx, dword [rbp - 0x64]
mov ecx, dword [rbp - 0x68]
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov rbx, rax
mov rsi, r13
test r15, r15
je 0x18024c7cc
nop dword [rax]
nop word [rax + rax]
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
movsxd rax, dword [r14 + rsi*4]
lea r14, [rax*8]
mov rax, qword [rdi + 0x188]
mov r13, qword [r14 + rax]
mov edx, 0x10
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x18024c6f2
lea rdx, [r13 + 0x60]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_CopyRect]
mov r8d, dword [rbp - 0x7c]
dec r8d
mov dword [rbp - 0x7c], r8d
mov ecx, dword [rbp - 0x74]
inc ecx
mov dword [rbp - 0x74], ecx
mov eax, dword [rdi + 0x98]
mov rdx, qword [rbp - 0x58]
cmp dword [rdx + rsi*4], eax
je 0x18024c717
inc dword [rbp - 0x78]
test rbx, rbx
je 0x18024c73e
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_IntersectRect]
mov ecx, dword [rbp - 0x74]
mov r8d, dword [rbp - 0x7c]
sub ecx, r8d
mov r9d, dword [rbp - 0x78]
mov edx, dword [rbp - 0x80]
sub r9d, edx
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov rax, qword [rdi + 0xf8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_BitBlt]
test rbx, rbx
je 0x18024c78e
mov rdx, rbx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_SelectClipRgn]
mov rcx, qword [rdi + 0x188]
mov rdx, qword [rdi + 0x108]
mov rcx, qword [r14 + rcx]
call fcn.1802545f0
test rbx, rbx
je 0x18024c7b9
xor edx, edx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_SelectClipRgn]
inc rsi
cmp rsi, r15
mov r14, qword [rbp - 0x58]
jb 0x18024c6b0
xor r13d, r13d
test rbx, rbx
je 0x18024c7da
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [rsp + 0x50], 0
jne 0x18024c8cf
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x18024c8cf
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x18024c80a
mov eax, r13d
jmp 0x18024c819
mov edx, 0xffffffec
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
shr eax, 0x13
and al, 1
je 0x18024c8cf
mov word [rbp - 0x70], 0
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov byte [rbp - 0x6e], al
mov byte [rbp - 0x6d], 1
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x40]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rbp - 0x40]
mov dword [rbp - 0x30], ecx
mov edx, dword [rbp - 0x3c]
mov dword [rbp - 0x2c], edx
mov eax, dword [rbp - 0x38]
sub eax, ecx
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0x34]
sub eax, edx
mov dword [rbp - 0xc], eax
mov qword [rbp - 0x68], r13
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov dword [rsp + 0x40], 2
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
mov rcx, qword [rdi + 0x108]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x10]
lea r8, [rbp - 0x30]
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_UpdateLayeredWindow]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x18024c916
mov rax, qword [rsp + 0x68]
mov r8d, dword [rax + 4]
mov edx, dword [rax]
mov r10d, dword [rax + 0xc]
sub r10d, r8d
mov r9d, dword [rax + 8]
sub r9d, edx
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], edx
mov rax, qword [rdi + 0x108]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r10d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.GDI32.dll_BitBlt]
nop
lea rcx, [rbp - 0x58]
call fcn.180055620
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1802994c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret