Function at 0x1801f1680
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 [0x1804cd010]
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.1801ecf10
mov rsi, rax
mov r15, qword [rax]
mov qword [rbp - 0x10], r15
test r15, r15
jne 0x1801f1721
mov ecx, 0x500
call fcn.180388424
mov rbx, rax
mov qword [rbp - 0x58], rax
xor edx, edx
mov r8d, 0x500
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.1801f4e50
mov r15, rax
mov qword [rbp - 0x10], rax
mov qword [rsi], rax
mov rbx, qword [rsp + 0x60]
test rax, rax
je 0x1801f2509
test rbx, rbx
je 0x1801f2509
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 0x1801f18fe
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 - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov rax, qword [r15]
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x30]
mov rcx, r15
call qword [rax + 0x58]
mov rax, qword [r15]
lea rdx, [rbp - 0x58]
mov rcx, r15
call qword [rax + 0x78]
mov r9d, dword [rbp - 0x68]
add r9d, dword [rbp - 0x70]
add r9d, esi
mov edx, dword [rbp - 0x64]
add edx, dword [rbp - 0x6c]
add edx, r14d
mov dword [rsp + 0x20], edx
lea r8, [rbp - 8]
mov rdx, rbx
mov rcx, rdi
call fcn.1801eeb40
mov byte [rdi + 0x130], 1
mov r9b, 1
mov rdx, qword [rdi + 0xf8]
mov rcx, rdi
call fcn.1801f2680
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.1801f2680
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.1801f4260
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x1801f18db
mov rdx, qword [rdi + 0x108]
mov rcx, rax
call fcn.1801fc3c0
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 0x1801f1a0a
call fcn.1801ee4a0
mov qword [rsp + 0x78], r13
mov rcx, qword [rax]
test rcx, rcx
je 0x1801f1935
mov rax, qword [rcx]
mov rdx, qword [rdi + 0xf8]
call qword [rax + 0x20]
mov rbx, rax
jmp 0x1801f1938
mov rbx, r13
mov qword [rsp + 0x78], rbx
test rbx, rbx
je 0x1801f194b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
test rbx, rbx
jne 0x1801f1952
jmp 0x1801f196b
lea r9, [rbp - 8]
xor r8d, r8d
mov rdx, rbx
call fcn.1801f2530
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r9b, 1
mov rdx, qword [rdi + 0xf8]
mov rcx, rdi
call fcn.1801f2680
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.1801f2680
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.1801f4260
mov rax, qword [rdi + 0x68]
test rax, rax
je 0x1801f19f2
mov rdx, qword [rdi + 0x108]
mov rcx, rax
call fcn.1801fc3c0
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 0x1801f1bb5
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword [r15]
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x48]
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 - 0x2c]
mov r13d, dword [rbp - 0x24]
add r13d, edx
add r13d, r14d
mov rcx, qword [rbp - 0x30]
mov eax, dword [rbp - 0x28]
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.1801ecf10
mov rsi, rax
mov r15, qword [rax]
test r15, r15
jne 0x1801f1abe
mov ecx, 0x500
call fcn.180388424
mov rbx, rax
mov qword [rbp - 0x70], rax
xor edx, edx
mov r8d, 0x500
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call fcn.1801f4e50
mov r15, rax
mov qword [rsi], rax
test rax, rax
je 0x1801f1bb2
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 - 0x60], 0
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx + 0xf8]
mov byte [rbp - 0x5e], al
mov byte [rbp - 0x5d], 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 [rsp + 0x78], eax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x7c], eax
mov dword [rbp + 8], r15d
mov dword [rbp + 0xc], r13d
xor r13d, r13d
mov qword [rbp - 0x58], r13
mov dword [rsp + 0x40], 2
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], r13d
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp + 8]
lea r8, [rsp + 0x78]
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 0x1801f1bb5
xor r13d, r13d
mov cl, 1
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x1801f1bc4
movzx ecx, byte [rax + 0x3f]
test r12b, r12b
jne 0x1801f2081
test cl, cl
jne 0x1801f1bda
cmp byte [rax + 0x3c], cl
je 0x1801f2081
mov eax, dword [rdi + 0x1b0]
cmp dword [rdi + 0x1a0], eax
jne 0x1801f1bfa
mov eax, dword [rdi + 0x1b4]
cmp dword [rdi + 0x1a4], eax
jne 0x1801f1bfa
mov dl, 1
jmp 0x1801f1bfc
xor dl, dl
mov eax, dword [rdi + 0x1b8]
cmp dword [rdi + 0x1a8], eax
jne 0x1801f1c1c
mov eax, dword [rdi + 0x1bc]
cmp dword [rdi + 0x1ac], eax
jne 0x1801f1c1c
mov cl, 1
jmp 0x1801f1c1e
xor cl, cl
lea r14, [rdi + 0xe0]
lea r15, [rdi + 0xdc]
mov eax, dword [r14]
cmp dword [r15], eax
jne 0x1801f1c40
test dl, dl
je 0x1801f1c40
test cl, cl
jne 0x1801f2081
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
call fcn.1801653a0
mov qword [rbp - 0x70], rax
movsxd rcx, dword [r15]
cmp ecx, 0xffffffff
jle 0x1801f1d2b
mov rdx, qword [rdi + 0x188]
mov rax, qword [rdi + 0x190]
sub rax, rdx
sar rax, 3
cmp eax, ecx
jle 0x1801f1d2b
mov rbx, qword [rdx + rcx*8]
mov edx, 0x10
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1801f1ca9
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 - 0x48]
lea rcx, [rbp - 0x70]
call fcn.1801f48a0
mov eax, dword [rdi + 0x1a4]
cmp dword [rbp - 0x1c], eax
movsxd rax, dword [r15]
jne 0x1801f1ce8
test eax, eax
jle 0x1801f1d2b
lea edx, [rax - 1]
mov rcx, rax
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax + rcx*8 - 8]
jmp 0x1801f1d02
lea edx, [rax + 1]
cmp edx, dword [rdi + 0xac]
jge 0x1801f1d2b
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 0x1801f1d2b
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0x54], edx
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x54]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.1801f48a0
movsxd rcx, dword [r14]
cmp ecx, 0xffffffff
jle 0x1801f1dfb
mov rdx, qword [rdi + 0x188]
mov rax, qword [rdi + 0x190]
sub rax, rdx
sar rax, 3
cmp eax, ecx
jle 0x1801f1dfb
mov rbx, qword [rdx + rcx*8]
mov edx, 0x10
lea rcx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1801f1d79
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 - 0x48]
lea rcx, [rbp - 0x70]
call fcn.1801f48a0
mov eax, dword [rdi + 0x1b4]
cmp dword [rbp - 0x1c], eax
movsxd rax, dword [r14]
jne 0x1801f1db8
test eax, eax
jle 0x1801f1dfb
lea edx, [rax - 1]
mov rcx, rax
mov rax, qword [rdi + 0x188]
mov rcx, qword [rax + rcx*8 - 8]
jmp 0x1801f1dd2
lea edx, [rax + 1]
cmp edx, dword [rdi + 0xac]
jge 0x1801f1dfb
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 0x1801f1dfb
movzx eax, byte [rsp + 0x50]
mov dword [rsp + 0x54], edx
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x54]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.1801f48a0
mov ecx, dword [rdi + 0xec]
mov eax, dword [rdi + 0x98]
cmp ecx, eax
je 0x1801f1e55
cmp ecx, 0xffffffff
jle 0x1801f1e33
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
lea r9, [rdi + 0xec]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1801f48a0
mov eax, dword [rdi + 0x98]
cmp eax, 0xffffffff
jle 0x1801f1e55
movzx eax, byte [rsp + 0x50]
mov byte [rsp + 0x20], al
lea r9, [rdi + 0x98]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1801f48a0
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x70]
mov rbx, qword [rax]
cmp rbx, rax
je 0x1801f1f4d
nop
movsxd rcx, dword [rbx + 0x1c]
mov rax, qword [rdi + 0x188]
mov rsi, qword [rax + rcx*8]
mov edx, 0x10
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1801f1ea0
lea rdx, [rsi + 0x60]
lea rcx, [rbp - 0x58]
call qword [sym.imp.USER32.dll_CopyRect]
mov r8d, dword [rbp - 0x54]
sub r8d, 2
mov dword [rbp - 0x54], r8d
mov ecx, dword [rbp - 0x4c]
add ecx, 2
mov dword [rbp - 0x4c], ecx
mov r9d, dword [rbp - 0x50]
inc r9d
mov dword [rbp - 0x50], r9d
sub ecx, r8d
mov edx, dword [rbp - 0x58]
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 0x1801f1f28
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1801f1f23
nop dword [rax + rax]
cmp rbx, qword [rax + 0x10]
jne 0x1801f1f23
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1801f1f10
mov rbx, rax
jmp 0x1801f1f40
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1801f1f40
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1801f1f34
mov rax, qword [rbp - 0x70]
cmp rbx, rax
jne 0x1801f1e70
mov rbx, qword [rax]
cmp rbx, rax
je 0x1801f1fc2
movsxd rax, dword [rbx + 0x1c]
mov rcx, qword [rdi + 0x188]
mov rdx, qword [rdi + 0x108]
mov rcx, qword [rcx + rax*8]
call fcn.1801fa1a0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x1801f1f9c
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1801f1f97
cmp rbx, qword [rax + 0x10]
jne 0x1801f1f97
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1801f1f84
mov rbx, rax
jmp 0x1801f1fbc
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1801f1fbc
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1801f1fb0
cmp rbx, qword [rbp - 0x70]
jne 0x1801f1f55
mov rdx, qword [rdi + 0x108]
mov rcx, rdi
call fcn.1801f4260
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1801f1fe6
mov rdx, qword [rdi + 0x108]
call fcn.1801fc3c0
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 - 0x70]
mov r14, rax
mov rsi, qword [rax + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x1801f205a
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1801653e0
mov rbx, qword [rbx]
mov edx, 0x20
mov rcx, rsi
call fcn.180388460
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x1801f2030
mov rax, qword [rbp - 0x70]
mov qword [rax + 8], r14
mov rax, qword [rbp - 0x70]
mov qword [rax], r14
mov rax, qword [rbp - 0x70]
mov qword [rax + 0x10], r14
xor r13d, r13d
mov qword [rbp - 0x68], r13
lea edx, [r13 + 0x20]
mov rcx, qword [rbp - 0x70]
call fcn.180388460
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov r14, r13
mov qword [rbp - 0x38], 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 - 0x40]
test eax, eax
jle 0x1801f212f
mov esi, r13d
nop dword [rax + rax]
movsxd rax, esi
mov rcx, qword [rcx + rax*8]
cmp byte [rcx + 0x498], 0
je 0x1801f210a
cmp r14, rbx
je 0x1801f20f1
mov dword [rbx], edx
add rbx, 4
mov qword [rbp - 0x40], rbx
jmp 0x1801f210a
lea r8, [rsp + 0x58]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1800a8bd0
mov r14, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
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 0x1801f20d0
mov eax, dword [rdi + 0xec]
cmp eax, dword [rdi + 0x98]
je 0x1801f21d5
test eax, eax
js 0x1801f217d
sub r8, rcx
sar r8, 3
cmp eax, r8d
jge 0x1801f217d
cmp r14, rbx
je 0x1801f2162
mov dword [rbx], eax
add rbx, 4
mov qword [rbp - 0x40], rbx
jmp 0x1801f217d
lea r8, [rdi + 0xec]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1800a8bd0
mov r14, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
mov ecx, dword [rdi + 0x98]
test ecx, ecx
js 0x1801f21c9
mov rax, qword [rdi + 0x190]
sub rax, qword [rdi + 0x188]
sar rax, 3
cmp ecx, eax
jge 0x1801f21c9
cmp r14, rbx
je 0x1801f21ae
mov dword [rbx], ecx
add rbx, 4
mov qword [rbp - 0x40], rbx
jmp 0x1801f21c9
lea r8, [rdi + 0x98]
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1800a8bd0
mov r14, qword [rbp - 0x38]
mov rbx, qword [rbp - 0x40]
mov eax, dword [rdi + 0x98]
mov dword [rdi + 0xec], eax
mov r13, rbx
mov r15, qword [rbp - 0x48]
sub r13, r15
sar r13, 2
movzx r9d, byte [rsp + 0x50]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.1800a92c0
cmp r15, rbx
je 0x1801f2379
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
xor ebx, ebx
mov rdx, qword [rdi + 0x68]
test rdx, rdx
je 0x1801f223e
add rdx, 0x10
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_CopyRect]
mov r9d, dword [rbp - 0x7c]
mov r8d, dword [rbp - 0x80]
mov edx, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_CreateRectRgn]
mov rbx, rax
xor esi, esi
test r13, r13
je 0x1801f236b
nop dword [rax]
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
movsxd rax, dword [r15 + rsi*4]
lea r12, [rax*8]
mov rax, qword [rdi + 0x188]
mov rax, qword [r12 + rax]
mov qword [rbp - 0x58], rax
mov edx, 0x10
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1801f229a
mov rdx, qword [rbp - 0x58]
add rdx, 0x60
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_CopyRect]
mov r8d, dword [rbp - 0x6c]
dec r8d
mov dword [rbp - 0x6c], r8d
mov ecx, dword [rbp - 0x64]
inc ecx
mov dword [rbp - 0x64], ecx
mov eax, dword [rdi + 0x98]
cmp dword [r15 + rsi*4], eax
je 0x1801f22bc
inc dword [rbp - 0x68]
test rbx, rbx
je 0x1801f22e4
movaps xmm0, xmmword [rbp - 0x70]
movdqa xmmword [rbp - 0x20], xmm0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x70]
call qword [sym.imp.USER32.dll_IntersectRect]
mov ecx, dword [rbp - 0x64]
mov r8d, dword [rbp - 0x6c]
sub ecx, r8d
mov r9d, dword [rbp - 0x68]
mov edx, dword [rbp - 0x70]
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 0x1801f2334
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 [r12 + rcx]
call fcn.1801fa1a0
test rbx, rbx
je 0x1801f235f
xor edx, edx
mov rcx, qword [rdi + 0x108]
call qword [sym.imp.GDI32.dll_SelectClipRgn]
inc rsi
cmp rsi, r13
jb 0x1801f2250
test rbx, rbx
je 0x1801f2379
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [rsp + 0x50], 0
jne 0x1801f2473
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1801f2473
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1801f23b3
mov edx, 0xffffffec
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
shr eax, 0x13
and al, 1
je 0x1801f2473
mov word [rbp - 0x60], 0
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0xf8]
mov byte [rbp - 0x5e], al
mov byte [rbp - 0x5d], 1
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x30]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rbp - 0x30]
mov dword [rsp + 0x78], ecx
mov edx, dword [rbp - 0x2c]
mov dword [rsp + 0x7c], edx
mov eax, dword [rbp - 0x28]
sub eax, ecx
mov dword [rbp - 0x10], eax
mov eax, dword [rbp - 0x24]
sub eax, edx
mov dword [rbp - 0xc], eax
mov qword [rbp - 0x58], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov dword [rsp + 0x40], 2
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0
lea rax, [rbp - 0x58]
mov qword [rsp + 0x28], rax
mov rcx, qword [rdi + 0x108]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x10]
lea r8, [rsp + 0x78]
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 0x1801f24ba
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
test r15, r15
je 0x1801f2509
sub r14, r15
and r14, 0xfffffffffffffffc
mov rax, r15
cmp r14, 0x1000
jb 0x1801f24ee
add r14, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801f24ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r14
mov rcx, r15
call fcn.180388460
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], 0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret