Function at 0x14003c310
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov rax, qword [0x140144038]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword gs:[0x58]
mov rbx, rdx
mov r12, qword [rbp + 0x67]
mov rsi, rcx
mov r15, qword [rbp + 0x6f]
mov rdi, r9
mov qword [rbp - 0x79], rcx
mov r13, r8
mov rcx, qword [rax]
mov edx, 8
mov qword [rbp - 0x71], r9
mov qword [rbp - 0x41], r8
mov eax, dword [rdx + rcx]
cmp dword [0x14014aa98], eax
jle 0x14003c3b6
lea rcx, [0x14014aa98]
call fcn.1400a2928
cmp dword [0x14014aa98], 0xffffffff
jne 0x14003c3b6
lea rcx, str.msimg32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.AlphaBlend
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x14014aa98]
mov qword [0x14014aaa0], rax
call fcn.1400a28c8
mov rax, qword [0x14014aaa0]
lea rcx, [0x14003a230]
test rax, rax
cmove rax, rcx
mov qword [0x14014aaa0], rax
test rbx, rbx
je 0x14003d680
mov rcx, rsi
mov qword [rsp + 0xe8], r14
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov qword [rbp - 0x49], rax
mov rdx, rbx
mov r14, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, 4
mov rcx, rsi
mov qword [rbp - 0x39], rax
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp qword [0x14014aaa0], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x31], xmm1
je 0x14003cd7e
cmp byte [rbp + 0x77], 0
movzx ecx, byte [rbp + 0x7f]
jne 0x14003c440
cmp cl, 0xff
jae 0x14003cd7e
cmp byte [rbp + 0x87], 0
mov word [rsp + 0x60], 0
mov byte [rsp + 0x62], cl
mov byte [rsp + 0x63], 1
mov ebx, dword [rsp + 0x60]
jne 0x14003c779
mov eax, dword [r15]
lea r8, [rbp - 0x31]
add eax, dword [r13]
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x31], eax
mov rdx, rdi
mov eax, dword [r13 + 4]
add eax, dword [r15 + 4]
mov dword [rbp - 0x2d], eax
mov eax, dword [r13 + 8]
sub eax, dword [r15 + 8]
mov dword [rbp - 0x29], eax
mov eax, dword [r13 + 0xc]
sub eax, dword [r15 + 0xc]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003c779
cmp byte [rbp + 0x8f], 0
jne 0x14003c5fa
cmp byte [rbp + 0x97], 0
mov r8d, dword [rbp - 0x2d]
jne 0x14003c539
mov eax, dword [r12 + 4]
mov ecx, dword [r12]
mov r9d, dword [rbp - 0x29]
mov r14d, dword [rbp - 0x25]
mov r11d, dword [r12 + 0xc]
sub r14d, r8d
sub r11d, dword [r15 + 0xc]
mov r10d, dword [r12 + 8]
sub r11d, eax
sub r10d, dword [r15 + 8]
add eax, dword [r15 + 4]
sub r10d, ecx
add ecx, dword [r15]
sub r11d, dword [r15 + 4]
sub r10d, dword [r15]
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], eax
mov rax, qword [rbp - 0x49]
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r14d
call qword [0x14014aaa0]
jmp 0x14003c779
mov esi, dword [r12 + 0xc]
sub esi, dword [r15 + 4]
sub esi, dword [r12 + 4]
sub esi, dword [r15 + 0xc]
mov ecx, dword [rbp - 0x25]
mov eax, esi
sub eax, r8d
dec eax
add eax, ecx
cdq
idiv esi
test eax, eax
jle 0x14003c775
mov r13, qword [rbp - 0x79]
xor edi, edi
mov qword [rbp - 0x61], rax
nop dword [rax]
lea eax, [rdi + rsi]
lea r10d, [rax + r8]
lea r11d, [rdi + r8]
mov r8d, esi
lea edi, [rax]
cmp r10d, ecx
jle 0x14003c58e
sub r8d, r10d
mov r10d, ecx
add r8d, ecx
mov eax, dword [r12]
sub r10d, r11d
mov ecx, dword [r15 + 4]
add ecx, dword [r12 + 4]
mov r9d, dword [r12 + 8]
sub r9d, dword [r15 + 8]
mov edx, dword [rbp - 0x31]
sub r9d, eax
sub r9d, dword [r15]
add eax, dword [r15]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r8d
mov r8d, r11d
mov dword [rsp + 0x40], r9d
mov r9d, dword [rbp - 0x29]
mov dword [rsp + 0x38], ecx
mov rcx, r13
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r10d
call qword [0x14014aaa0]
sub qword [rbp - 0x61], 1
je 0x14003c76d
mov ecx, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
jmp 0x14003c570
mov esi, dword [r12 + 8]
sub esi, dword [r15 + 8]
sub esi, dword [r15]
sub esi, dword [r12]
cmp byte [rbp + 0x97], 0
mov eax, esi
je 0x14003c81e
mov r9d, dword [rbp - 0x31]
sub eax, r9d
mov r8d, dword [rbp - 0x29]
dec eax
mov r14d, dword [r12 + 0xc]
add eax, r8d
sub r14d, dword [r15 + 4]
cdq
sub r14d, dword [r12 + 4]
sub r14d, dword [r15 + 0xc]
mov r11d, dword [rbp - 0x25]
mov ecx, r14d
mov r10d, dword [rbp - 0x2d]
sub ecx, r10d
idiv esi
mov dword [rbp - 0x51], r14d
mov dword [rbp - 0x59], eax
lea eax, [r11 - 1]
add eax, ecx
cdq
idiv r14d
mov ecx, eax
test eax, eax
jle 0x14003c775
xor edi, edi
mov qword [rbp - 0x61], rcx
mov eax, edi
mov dword [rbp - 0x69], eax
nop dword [rax]
nop word [rax + rax]
lea edx, [rax + r10]
mov dword [rsp + 0x60], r14d
add eax, r14d
mov dword [rbp - 0x4d], eax
add eax, r10d
cmp eax, r11d
jle 0x14003c6aa
mov ecx, r14d
sub ecx, eax
mov eax, r11d
add ecx, r11d
mov dword [rsp + 0x60], ecx
mov rcx, qword [rbp - 0x61]
mov r13d, dword [rbp - 0x59]
test r13d, r13d
jle 0x14003c759
sub eax, edx
mov qword [rsp + 0x68], r13
mov r14d, edi
mov r13d, eax
mov edi, dword [rsp + 0x60]
nop dword [rax + rax]
lea eax, [r14 + rsi]
mov edx, esi
lea r11d, [r14 + r9]
add r9d, eax
mov r14d, eax
cmp r9d, r8d
jle 0x14003c6ee
sub edx, r9d
mov r9d, r8d
add edx, r8d
mov ecx, dword [r15 + 4]
sub r9d, r11d
mov eax, dword [r15]
add ecx, dword [r12 + 4]
add eax, dword [r12]
mov r8d, dword [rbp - 0x69]
mov dword [rsp + 0x50], ebx
add r8d, r10d
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edx
mov edx, r11d
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbp - 0x79]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x49]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call qword [0x14014aaa0]
sub qword [rsp + 0x68], 1
mov r8d, dword [rbp - 0x29]
mov r10d, dword [rbp - 0x2d]
mov r9d, dword [rbp - 0x31]
jne 0x14003c6d0
mov r11d, dword [rbp - 0x25]
xor edi, edi
mov r14d, dword [rbp - 0x51]
mov rcx, qword [rbp - 0x61]
mov eax, dword [rbp - 0x4d]
sub rcx, 1
mov qword [rbp - 0x61], rcx
mov dword [rbp - 0x69], eax
jne 0x14003c680
mov rdi, qword [rbp - 0x71]
mov r13, qword [rbp - 0x41]
mov rsi, qword [rbp - 0x79]
mov edx, dword [r15]
test edx, edx
jle 0x14003c8d9
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x14003c8d9
mov ecx, dword [r13 + 4]
mov eax, dword [r13]
mov dword [rbp - 0x31], eax
add eax, edx
mov dword [rbp - 0x29], eax
mov rdx, rdi
lea eax, [rcx + r8]
mov dword [rbp - 0x2d], ecx
lea r8, [rbp - 0x31]
mov dword [rbp - 0x25], eax
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
mov r14, qword [rbp - 0x49]
test eax, eax
je 0x14003c8dd
mov ecx, dword [rbp - 0x25]
mov eax, dword [r15 + 4]
mov r9d, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x2d]
sub ecx, r8d
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], eax
mov eax, dword [r15]
mov dword [rsp + 0x40], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [r12]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x25], ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rbp - 0x29], r9d
call qword [0x14014aaa0]
jmp 0x14003c8dd
mov r8d, dword [rbp - 0x31]
sub eax, r8d
mov ecx, dword [rbp - 0x29]
dec eax
add eax, ecx
cdq
idiv esi
test eax, eax
jle 0x14003c775
mov r13, qword [rbp - 0x79]
xor edi, edi
mov qword [rsp + 0x68], rax
nop dword [rax]
nop word [rax + rax]
lea eax, [rdi + rsi]
mov edx, esi
lea r9d, [rax + r8]
lea r10d, [rdi + r8]
lea edi, [rax]
cmp r9d, ecx
jle 0x14003c86c
sub edx, r9d
mov r9d, ecx
add edx, ecx
mov ecx, dword [r15 + 4]
sub r9d, r10d
mov r8d, dword [r12 + 0xc]
sub r8d, dword [r15 + 0xc]
sub r8d, dword [r12 + 4]
mov eax, dword [r15]
sub r8d, ecx
add ecx, dword [r12 + 4]
add eax, dword [r12]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r8d
mov r8d, dword [rbp - 0x2d]
mov dword [rsp + 0x40], edx
mov edx, r10d
mov dword [rsp + 0x38], ecx
mov rcx, r13
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x25]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call qword [0x14014aaa0]
sub qword [rsp + 0x68], 1
je 0x14003c76d
mov ecx, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x31]
jmp 0x14003c850
mov r14, qword [rbp - 0x49]
mov edx, dword [r15 + 4]
test edx, edx
jle 0x14003c985
mov ecx, dword [r13 + 4]
lea r8, [rbp - 0x31]
mov eax, dword [r15]
add eax, dword [r13]
mov dword [rbp - 0x31], eax
mov eax, dword [r13 + 8]
sub eax, dword [r15 + 8]
mov dword [rbp - 0x29], eax
lea eax, [rcx + rdx]
mov dword [rbp - 0x2d], ecx
mov rdx, rdi
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003c985
mov ecx, dword [r15]
mov eax, dword [r15 + 4]
mov r9d, dword [rbp - 0x29]
mov r11d, dword [rbp - 0x25]
mov r10d, dword [r12 + 8]
sub r10d, dword [r15 + 8]
sub r10d, dword [r12]
mov edx, dword [rbp - 0x31]
sub r10d, ecx
add ecx, dword [r12]
sub r9d, edx
mov r8d, dword [rbp - 0x2d]
sub r11d, r8d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [0x14014aaa0]
mov r8d, dword [r15 + 8]
test r8d, r8d
jle 0x14003ca28
mov edx, dword [r15 + 4]
test edx, edx
jle 0x14003ca28
mov ecx, dword [r13 + 8]
mov eax, ecx
sub eax, r8d
mov dword [rbp - 0x29], ecx
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x31]
mov eax, dword [r13 + 4]
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x2d], eax
add eax, edx
mov rdx, rdi
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003ca28
mov ecx, dword [r15 + 8]
mov eax, dword [r15 + 4]
mov r9d, dword [rbp - 0x29]
mov r11d, dword [rbp - 0x25]
mov r10d, dword [r12 + 8]
mov edx, dword [rbp - 0x31]
sub r10d, ecx
mov r8d, dword [rbp - 0x2d]
sub r9d, edx
mov dword [rsp + 0x50], ebx
sub r11d, r8d
mov dword [rsp + 0x48], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x40], ecx
mov rcx, rsi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [0x14014aaa0]
mov edx, dword [r15]
test edx, edx
jle 0x14003cad1
mov ecx, dword [r13]
lea r8, [rbp - 0x31]
mov eax, dword [r13 + 4]
add eax, dword [r15 + 4]
mov dword [rbp - 0x2d], eax
lea eax, [rcx + rdx]
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x21]
mov eax, dword [r13 + 0xc]
mov rdx, rdi
sub eax, dword [r15 + 0xc]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003cad1
mov ecx, dword [r15 + 4]
mov eax, dword [r15]
mov r9d, dword [rbp - 0x29]
mov r11d, dword [rbp - 0x25]
mov r10d, dword [r12 + 0xc]
sub r10d, dword [r15 + 0xc]
sub r10d, dword [r12 + 4]
mov edx, dword [rbp - 0x31]
sub r10d, ecx
add ecx, dword [r12 + 4]
sub r9d, edx
mov r8d, dword [rbp - 0x2d]
sub r11d, r8d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], eax
mov eax, dword [r12]
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [0x14014aaa0]
mov edx, dword [r15 + 8]
test edx, edx
jle 0x14003cb7e
mov ecx, dword [r13 + 8]
lea r8, [rbp - 0x31]
mov eax, ecx
mov dword [rbp - 0x29], ecx
sub eax, edx
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x31], eax
mov rdx, rdi
mov eax, dword [r13 + 4]
add eax, dword [r15 + 4]
mov dword [rbp - 0x2d], eax
mov eax, dword [r13 + 0xc]
sub eax, dword [r15 + 0xc]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003cb7e
mov eax, dword [r12 + 4]
mov ecx, dword [r12 + 8]
mov r11d, dword [r15 + 8]
sub ecx, r11d
mov r9d, dword [rbp - 0x29]
mov edi, dword [rbp - 0x25]
mov r10d, dword [r12 + 0xc]
sub r10d, dword [r15 + 0xc]
mov edx, dword [rbp - 0x31]
sub r10d, eax
sub r10d, dword [r15 + 4]
sub r9d, edx
add eax, dword [r15 + 4]
mov r8d, dword [rbp - 0x2d]
sub edi, r8d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], edi
call qword [0x14014aaa0]
mov r8d, dword [r15]
mov rdi, qword [rbp - 0x71]
test r8d, r8d
jle 0x14003cc23
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x14003cc23
mov edx, dword [r13 + 0xc]
mov eax, edx
mov ecx, dword [r13]
sub eax, r9d
mov dword [rbp - 0x2d], eax
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x25], edx
mov rdx, rdi
lea eax, [rcx + r8]
lea r8, [rbp - 0x31]
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003cc23
mov eax, dword [r15 + 0xc]
mov ecx, dword [r12 + 0xc]
mov r9d, dword [rbp - 0x29]
sub ecx, eax
mov r10d, dword [rbp - 0x25]
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov r8d, dword [rbp - 0x2d]
sub r10d, r8d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], eax
mov eax, dword [r15]
mov dword [rsp + 0x40], eax
mov eax, dword [r12]
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r10d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r10d
call qword [0x14014aaa0]
mov edx, dword [r15 + 0xc]
test edx, edx
jle 0x14003cccb
mov ecx, dword [r13 + 0xc]
lea r8, [rbp - 0x31]
mov eax, dword [r15]
add eax, dword [r13]
mov dword [rbp - 0x31], eax
mov eax, ecx
sub eax, edx
mov dword [rbp - 0x25], ecx
mov dword [rbp - 0x2d], eax
lea rcx, [rbp - 0x21]
mov eax, dword [r13 + 8]
mov rdx, rdi
sub eax, dword [r15 + 8]
mov dword [rbp - 0x29], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003cccb
mov eax, dword [r12]
mov ecx, dword [r12 + 0xc]
mov edi, dword [r15 + 0xc]
sub ecx, edi
mov r9d, dword [rbp - 0x29]
mov esi, dword [rbp - 0x25]
mov r11d, dword [r12 + 8]
sub r11d, dword [r15 + 8]
mov edx, dword [rbp - 0x31]
sub r11d, eax
sub r11d, dword [r15]
sub r9d, edx
add eax, dword [r15]
mov r8d, dword [rbp - 0x2d]
sub esi, r8d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ecx
mov rcx, qword [rbp - 0x79]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], esi
call qword [0x14014aaa0]
mov ecx, dword [r15 + 8]
test ecx, ecx
jle 0x14003d662
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x14003d662
mov r8d, dword [r13 + 8]
mov eax, r8d
mov rdx, qword [rbp - 0x71]
sub eax, ecx
mov ecx, dword [r13 + 0xc]
mov dword [rbp - 0x31], eax
mov eax, ecx
sub eax, r9d
mov dword [rbp - 0x29], r8d
mov dword [rbp - 0x25], ecx
lea r8, [rbp - 0x31]
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x2d], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d662
mov r10d, dword [r15 + 0xc]
mov r11d, dword [r15 + 8]
mov r9d, dword [rbp - 0x29]
mov esi, dword [rbp - 0x25]
mov edi, dword [r12 + 0xc]
mov eax, dword [r12 + 8]
sub edi, r10d
mov edx, dword [rbp - 0x31]
sub eax, r11d
mov r8d, dword [rbp - 0x2d]
sub r9d, edx
mov rcx, qword [rbp - 0x79]
sub esi, r8d
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], esi
call qword [0x14014aaa0]
jmp 0x14003d662
mov edx, dword [r13 + 8]
mov eax, edx
mov ecx, dword [r12 + 8]
mov r8d, dword [r13]
sub eax, r8d
sub ecx, dword [r12]
cmp eax, ecx
jne 0x14003ce3b
mov ecx, dword [r12 + 0xc]
mov eax, dword [r13 + 0xc]
sub ecx, dword [r12 + 4]
sub eax, dword [r13 + 4]
cmp eax, ecx
jne 0x14003ce3b
cmp dword [r15], 0
jne 0x14003ce3b
cmp dword [r15 + 8], 0
jne 0x14003ce3b
cmp dword [r15 + 4], 0
jne 0x14003ce3b
cmp dword [r15 + 0xc], 0
jne 0x14003ce3b
mov r8, r13
lea rcx, [rbp - 0x21]
mov rdx, rdi
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d662
mov ecx, dword [r12]
mov r8d, dword [rbp - 0x1d]
sub ecx, dword [r13]
mov edx, dword [rbp - 0x21]
add ecx, edx
mov r10d, dword [r12 + 4]
sub r10d, dword [r13 + 4]
mov eax, dword [rbp - 0x15]
add r10d, r8d
mov r9d, dword [rbp - 0x19]
sub eax, r8d
mov dword [rsp + 0x40], 0xcc0020
sub r9d, edx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x14003d662
cmp byte [rbp + 0x87], 0
jne 0x14003d11a
mov ecx, dword [r15]
sub edx, dword [r15 + 8]
add ecx, r8d
mov eax, dword [r13 + 4]
lea r8, [rbp - 0x31]
add eax, dword [r15 + 4]
mov dword [rbp - 0x2d], eax
mov eax, dword [r13 + 0xc]
sub eax, dword [r15 + 0xc]
mov dword [rbp - 0x31], ecx
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x29], edx
mov rdx, rdi
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d11a
cmp byte [rbp + 0x8f], 0
jne 0x14003cfdf
cmp byte [rbp + 0x97], 0
mov r8d, dword [rbp - 0x2d]
mov ebx, dword [r12 + 0xc]
jne 0x14003cf1a
mov ecx, dword [r12]
mov esi, dword [rbp - 0x25]
mov eax, dword [r12 + 4]
sub esi, r8d
mov r9d, dword [rbp - 0x29]
sub ebx, eax
mov r10d, dword [r12 + 8]
sub r10d, dword [r15 + 8]
sub ebx, dword [r15 + 4]
sub r10d, ecx
add ecx, dword [r15]
sub ebx, dword [r15 + 0xc]
sub r10d, dword [r15]
add eax, dword [r15 + 4]
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rbp - 0x25], esi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov rsi, qword [rbp - 0x79]
mov rcx, rsi
mov dword [rbp - 0x29], r9d
call qword [sym.imp.GDI32.dll_StretchBlt]
jmp 0x14003d11a
sub ebx, dword [r12 + 4]
sub ebx, dword [r15 + 4]
sub ebx, dword [r15 + 0xc]
mov ecx, dword [rbp - 0x25]
mov eax, ebx
sub eax, r8d
dec eax
add eax, ecx
cdq
idiv ebx
test eax, eax
jle 0x14003d11a
xor edi, edi
mov qword [rsp + 0x68], rax
nop word [rax + rax]
lea eax, [rdi + rbx]
lea r10d, [rax + r8]
lea r11d, [rdi + r8]
mov r8d, ebx
lea edi, [rax]
cmp r10d, ecx
jle 0x14003cf6e
sub r8d, r10d
mov r10d, ecx
add r8d, ecx
mov eax, dword [r12]
sub r10d, r11d
mov ecx, dword [r15 + 4]
add ecx, dword [r12 + 4]
mov r9d, dword [r12 + 8]
sub r9d, dword [r15 + 8]
mov edx, dword [rbp - 0x31]
sub r9d, eax
sub r9d, dword [r15]
add eax, dword [r15]
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], r8d
mov r8d, r11d
mov dword [rsp + 0x40], r9d
mov r9d, dword [rbp - 0x29]
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r10d
call qword [sym.imp.GDI32.dll_StretchBlt]
sub qword [rsp + 0x68], 1
je 0x14003d116
mov ecx, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
jmp 0x14003cf50
cmp byte [rbp + 0x97], 0
je 0x14003d69e
mov ecx, dword [r12 + 8]
sub ecx, dword [r15 + 8]
sub ecx, dword [r15]
sub ecx, dword [r12]
mov r9d, dword [rbp - 0x31]
mov eax, ecx
mov r10d, dword [rbp - 0x29]
sub eax, r9d
mov ebx, dword [r12 + 0xc]
dec eax
sub ebx, dword [r12 + 4]
add eax, r10d
sub ebx, dword [r15 + 4]
cdq
sub ebx, dword [r15 + 0xc]
mov r11d, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
idiv ecx
mov dword [rbp - 0x51], ecx
mov ecx, ebx
mov dword [rbp - 0x69], eax
sub ecx, r8d
lea eax, [r11 - 1]
mov dword [rbp - 0x59], ebx
add eax, ecx
cdq
idiv ebx
test eax, eax
jle 0x14003d11a
xor edi, edi
mov edx, eax
mov r13d, edi
mov qword [rbp - 0x61], rdx
nop word [rax + rax]
lea ecx, [rbx + r13]
lea ebx, [rcx + r8]
mov dword [rbp - 0x55], ecx
cmp ebx, r11d
lea eax, [r8 + r13]
cmovg ebx, r11d
cmp dword [rbp - 0x69], 0
jle 0x14003d0fe
sub ebx, eax
mov eax, dword [rbp - 0x69]
mov qword [rsp + 0x68], rax
nop word [rax + rax]
mov ecx, dword [r12 + 4]
lea edx, [rdi + r9]
mov eax, dword [rbp - 0x51]
add eax, edi
mov dword [rsp + 0x40], 0xcc0020
add r9d, eax
mov edi, eax
mov eax, dword [r15]
cmp r9d, r10d
cmovg r9d, r10d
add ecx, dword [r15 + 4]
add eax, dword [r12]
sub r9d, edx
mov dword [rsp + 0x38], ecx
add r8d, r13d
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.GDI32.dll_BitBlt]
sub qword [rsp + 0x68], 1
mov r10d, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x2d]
mov r9d, dword [rbp - 0x31]
jne 0x14003d090
mov r11d, dword [rbp - 0x25]
xor edi, edi
mov ecx, dword [rbp - 0x55]
mov rdx, qword [rbp - 0x61]
mov ebx, dword [rbp - 0x59]
sub rdx, 1
mov qword [rbp - 0x61], rdx
mov r13d, ecx
jne 0x14003d060
mov r13, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x71]
mov edx, dword [r15]
test edx, edx
jle 0x14003d1b6
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x14003d1b6
mov ecx, dword [r13 + 4]
mov eax, dword [r13]
mov dword [rbp - 0x31], eax
add eax, edx
mov dword [rbp - 0x29], eax
mov rdx, rdi
lea eax, [rcx + r8]
mov dword [rbp - 0x2d], ecx
lea r8, [rbp - 0x31]
mov dword [rbp - 0x25], eax
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d1b6
mov ecx, dword [rbp - 0x25]
mov eax, dword [r15 + 4]
mov r9d, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x2d]
sub ecx, r8d
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], eax
mov eax, dword [r15]
mov dword [rsp + 0x40], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x38], eax
mov eax, dword [r12]
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x25], ecx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rbp - 0x29], r9d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [r15 + 4]
test edx, edx
jle 0x14003d262
mov ecx, dword [r13 + 4]
lea r8, [rbp - 0x31]
mov eax, dword [r15]
add eax, dword [r13]
mov dword [rbp - 0x31], eax
mov eax, dword [r13 + 8]
sub eax, dword [r15 + 8]
mov dword [rbp - 0x29], eax
lea eax, [rcx + rdx]
mov dword [rbp - 0x2d], ecx
mov rdx, rdi
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d262
mov ecx, dword [r15]
mov eax, dword [r15 + 4]
mov r9d, dword [rbp - 0x29]
mov r11d, dword [rbp - 0x25]
mov r10d, dword [r12 + 8]
sub r10d, dword [r15 + 8]
sub r10d, dword [r12]
mov edx, dword [rbp - 0x31]
sub r10d, ecx
add ecx, dword [r12]
sub r9d, edx
mov r8d, dword [rbp - 0x2d]
sub r11d, r8d
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r8d, dword [r15 + 8]
test r8d, r8d
jle 0x14003d309
mov edx, dword [r15 + 4]
test edx, edx
jle 0x14003d309
mov ecx, dword [r13 + 8]
mov eax, ecx
sub eax, r8d
mov dword [rbp - 0x29], ecx
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x31]
mov eax, dword [r13 + 4]
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x2d], eax
add eax, edx
mov rdx, rdi
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d309
mov ecx, dword [r15 + 8]
mov eax, dword [r15 + 4]
mov r9d, dword [rbp - 0x29]
mov r11d, dword [rbp - 0x25]
mov r10d, dword [r12 + 8]
mov edx, dword [rbp - 0x31]
sub r10d, ecx
mov r8d, dword [rbp - 0x2d]
sub r9d, edx
mov dword [rsp + 0x50], 0xcc0020
sub r11d, r8d
mov dword [rsp + 0x48], eax
mov eax, dword [r12 + 4]
mov dword [rsp + 0x40], ecx
mov rcx, rsi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [r15]
test edx, edx
jle 0x14003d3b6
mov ecx, dword [r13]
lea r8, [rbp - 0x31]
mov eax, dword [r13 + 4]
add eax, dword [r15 + 4]
mov dword [rbp - 0x2d], eax
lea eax, [rcx + rdx]
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x21]
mov eax, dword [r13 + 0xc]
mov rdx, rdi
sub eax, dword [r15 + 0xc]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d3b6
mov ecx, dword [r15 + 4]
mov eax, dword [r15]
mov r9d, dword [rbp - 0x29]
mov r11d, dword [rbp - 0x25]
mov r10d, dword [r12 + 0xc]
sub r10d, dword [r12 + 4]
mov edx, dword [rbp - 0x31]
sub r10d, ecx
add ecx, dword [r12 + 4]
sub r9d, edx
sub r10d, dword [r15 + 0xc]
mov r8d, dword [rbp - 0x2d]
sub r11d, r8d
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], eax
mov eax, dword [r12]
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [r15 + 8]
test edx, edx
jle 0x14003d467
mov ecx, dword [r13 + 8]
lea r8, [rbp - 0x31]
mov eax, ecx
mov dword [rbp - 0x29], ecx
sub eax, edx
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x31], eax
mov rdx, rdi
mov eax, dword [r13 + 4]
add eax, dword [r15 + 4]
mov dword [rbp - 0x2d], eax
mov eax, dword [r13 + 0xc]
sub eax, dword [r15 + 0xc]
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d467
mov eax, dword [r12 + 4]
mov ecx, dword [r12 + 8]
mov r11d, dword [r15 + 8]
sub ecx, r11d
mov r9d, dword [rbp - 0x29]
mov ebx, dword [rbp - 0x25]
mov r10d, dword [r12 + 0xc]
mov edx, dword [rbp - 0x31]
sub r10d, eax
sub r10d, dword [r15 + 4]
sub r9d, edx
sub r10d, dword [r15 + 0xc]
add eax, dword [r15 + 4]
mov r8d, dword [rbp - 0x2d]
sub ebx, r8d
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], ebx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r8d, dword [r15]
test r8d, r8d
jle 0x14003d50c
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x14003d50c
mov edx, dword [r13 + 0xc]
mov eax, edx
mov ecx, dword [r13]
sub eax, r9d
mov dword [rbp - 0x2d], eax
mov dword [rbp - 0x31], ecx
mov dword [rbp - 0x25], edx
mov rdx, rdi
lea eax, [rcx + r8]
lea r8, [rbp - 0x31]
mov dword [rbp - 0x29], eax
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d50c
mov eax, dword [r15 + 0xc]
mov ecx, dword [r12 + 0xc]
mov r9d, dword [rbp - 0x29]
sub ecx, eax
mov r10d, dword [rbp - 0x25]
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov r8d, dword [rbp - 0x2d]
sub r10d, r8d
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], eax
mov eax, dword [r15]
mov dword [rsp + 0x40], eax
mov eax, dword [r12]
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r10d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r10d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [r15 + 0xc]
test edx, edx
jle 0x14003d5b7
mov ecx, dword [r13 + 0xc]
lea r8, [rbp - 0x31]
mov eax, dword [r15]
add eax, dword [r13]
mov dword [rbp - 0x31], eax
mov eax, ecx
sub eax, edx
mov dword [rbp - 0x25], ecx
mov dword [rbp - 0x2d], eax
lea rcx, [rbp - 0x21]
mov eax, dword [r13 + 8]
mov rdx, rdi
sub eax, dword [r15 + 8]
mov dword [rbp - 0x29], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d5b7
mov eax, dword [r12]
mov ecx, dword [r12 + 0xc]
mov ebx, dword [r15 + 0xc]
sub ecx, ebx
mov r9d, dword [rbp - 0x29]
mov edi, dword [rbp - 0x25]
mov r11d, dword [r12 + 8]
sub r11d, dword [r15 + 8]
mov edx, dword [rbp - 0x31]
sub r11d, eax
sub r11d, dword [r15]
sub r9d, edx
add eax, dword [r15]
mov r8d, dword [rbp - 0x2d]
sub edi, r8d
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ecx
mov rcx, rsi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], edi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov ecx, dword [r15 + 8]
test ecx, ecx
jle 0x14003d662
mov r8d, dword [r15 + 0xc]
test r8d, r8d
jle 0x14003d662
mov edx, dword [r13 + 8]
mov eax, edx
sub eax, ecx
mov dword [rbp - 0x29], edx
mov ecx, dword [r13 + 0xc]
mov rdx, qword [rbp - 0x71]
mov dword [rbp - 0x31], eax
mov eax, ecx
sub eax, r8d
mov dword [rbp - 0x25], ecx
lea r8, [rbp - 0x31]
mov dword [rbp - 0x2d], eax
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14003d662
mov ecx, dword [r15 + 0xc]
mov r10d, dword [r15 + 8]
mov r9d, dword [rbp - 0x29]
mov ebx, dword [rbp - 0x25]
mov r11d, dword [r12 + 0xc]
mov eax, dword [r12 + 8]
sub r11d, ecx
mov edx, dword [rbp - 0x31]
sub eax, r10d
mov r8d, dword [rbp - 0x2d]
sub r9d, edx
mov dword [rsp + 0x50], 0xcc0020
sub ebx, r8d
mov dword [rsp + 0x48], ecx
mov rcx, rsi
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], ebx
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rdx, qword [rbp - 0x39]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r14, qword [rsp + 0xe8]
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.1400a23f0
add rsp, 0xf0
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ebx, dword [r12 + 8]
sub ebx, dword [r15 + 8]
sub ebx, dword [r15]
sub ebx, dword [r12]
mov r8d, dword [rbp - 0x31]
mov eax, ebx
mov ecx, dword [rbp - 0x29]
sub eax, r8d
dec eax
add eax, ecx
cdq
idiv ebx
test eax, eax
jle 0x14003d11a
xor edi, edi
mov qword [rsp + 0x68], rax
lea eax, [rdi + rbx]
mov edx, ebx
lea r9d, [rax + r8]
lea r11d, [rdi + r8]
lea edi, [rax]
cmp r9d, ecx
jle 0x14003d6ec
sub edx, r9d
mov r9d, ecx
add edx, ecx
mov ecx, dword [r15 + 4]
sub r9d, r11d
mov eax, dword [r12 + 4]
mov r10d, dword [r12 + 0xc]
sub r10d, eax
mov dword [rsp + 0x50], 0xcc0020
sub r10d, ecx
sub r10d, dword [r15 + 0xc]
lea r8d, [rax + rcx]
mov eax, dword [r15]
mov rcx, rsi
add eax, dword [r12]
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], edx
mov edx, r11d
mov dword [rsp + 0x38], r8d
mov r8d, dword [rbp - 0x2d]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x25]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchBlt]
sub qword [rsp + 0x68], 1
je 0x14003d116
mov ecx, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x31]
jmp 0x14003d6d0