Function at 0x1400348a0
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 [0x140148020]
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 [0x140151bf0], eax
jle 0x140034946
lea rcx, [0x140151bf0]
call fcn.1400a2a28
cmp dword [0x140151bf0], 0xffffffff
jne 0x140034946
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, [0x140151bf0]
mov qword [0x140151bf8], rax
call fcn.1400a29c8
mov rax, qword [0x140151bf8]
lea rcx, [0x140032c50]
test rax, rax
cmove rax, rcx
mov qword [0x140151bf8], rax
test rbx, rbx
je 0x140035c10
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 [0x140151bf8], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x31], xmm1
je 0x14003530e
cmp byte [rbp + 0x77], 0
movzx ecx, byte [rbp + 0x7f]
jne 0x1400349d0
cmp cl, 0xff
jae 0x14003530e
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 0x140034d09
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 0x140034d09
cmp byte [rbp + 0x8f], 0
jne 0x140034b8a
cmp byte [rbp + 0x97], 0
mov r8d, dword [rbp - 0x2d]
jne 0x140034ac9
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 [0x140151bf8]
jmp 0x140034d09
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 0x140034d05
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 0x140034b1e
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 [0x140151bf8]
sub qword [rbp - 0x61], 1
je 0x140034cfd
mov ecx, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
jmp 0x140034b00
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 0x140034dae
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 0x140034d05
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 0x140034c3a
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 0x140034ce9
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 0x140034c7e
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 [0x140151bf8]
sub qword [rsp + 0x68], 1
mov r8d, dword [rbp - 0x29]
mov r10d, dword [rbp - 0x2d]
mov r9d, dword [rbp - 0x31]
jne 0x140034c60
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 0x140034c10
mov rdi, qword [rbp - 0x71]
mov r13, qword [rbp - 0x41]
mov rsi, qword [rbp - 0x79]
mov edx, dword [r15]
test edx, edx
jle 0x140034e69
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x140034e69
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 0x140034e6d
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 [0x140151bf8]
jmp 0x140034e6d
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 0x140034d05
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 0x140034dfc
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 [0x140151bf8]
sub qword [rsp + 0x68], 1
je 0x140034cfd
mov ecx, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x31]
jmp 0x140034de0
mov r14, qword [rbp - 0x49]
mov edx, dword [r15 + 4]
test edx, edx
jle 0x140034f15
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 0x140034f15
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 [0x140151bf8]
mov r8d, dword [r15 + 8]
test r8d, r8d
jle 0x140034fb8
mov edx, dword [r15 + 4]
test edx, edx
jle 0x140034fb8
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 0x140034fb8
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 [0x140151bf8]
mov edx, dword [r15]
test edx, edx
jle 0x140035061
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 0x140035061
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 [0x140151bf8]
mov edx, dword [r15 + 8]
test edx, edx
jle 0x14003510e
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 0x14003510e
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 [0x140151bf8]
mov r8d, dword [r15]
mov rdi, qword [rbp - 0x71]
test r8d, r8d
jle 0x1400351b3
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x1400351b3
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 0x1400351b3
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 [0x140151bf8]
mov edx, dword [r15 + 0xc]
test edx, edx
jle 0x14003525b
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 0x14003525b
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 [0x140151bf8]
mov ecx, dword [r15 + 8]
test ecx, ecx
jle 0x140035bf2
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x140035bf2
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 0x140035bf2
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 [0x140151bf8]
jmp 0x140035bf2
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 0x1400353cb
mov ecx, dword [r12 + 0xc]
mov eax, dword [r13 + 0xc]
sub ecx, dword [r12 + 4]
sub eax, dword [r13 + 4]
cmp eax, ecx
jne 0x1400353cb
cmp dword [r15], 0
jne 0x1400353cb
cmp dword [r15 + 8], 0
jne 0x1400353cb
cmp dword [r15 + 4], 0
jne 0x1400353cb
cmp dword [r15 + 0xc], 0
jne 0x1400353cb
mov r8, r13
lea rcx, [rbp - 0x21]
mov rdx, rdi
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140035bf2
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 0x140035bf2
cmp byte [rbp + 0x87], 0
jne 0x1400356aa
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 0x1400356aa
cmp byte [rbp + 0x8f], 0
jne 0x14003556f
cmp byte [rbp + 0x97], 0
mov r8d, dword [rbp - 0x2d]
mov ebx, dword [r12 + 0xc]
jne 0x1400354aa
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 0x1400356aa
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 0x1400356aa
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 0x1400354fe
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 0x1400356a6
mov ecx, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
jmp 0x1400354e0
cmp byte [rbp + 0x97], 0
je 0x140035c2e
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 0x1400356aa
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 0x14003568e
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 0x140035620
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 0x1400355f0
mov r13, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x71]
mov edx, dword [r15]
test edx, edx
jle 0x140035746
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x140035746
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 0x140035746
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 0x1400357f2
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 0x1400357f2
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 0x140035899
mov edx, dword [r15 + 4]
test edx, edx
jle 0x140035899
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 0x140035899
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 0x140035946
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 0x140035946
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 0x1400359f7
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 0x1400359f7
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 0x140035a9c
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x140035a9c
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 0x140035a9c
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 0x140035b47
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 0x140035b47
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 0x140035bf2
mov r8d, dword [r15 + 0xc]
test r8d, r8d
jle 0x140035bf2
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 0x140035bf2
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.1400a24f0
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 0x1400356aa
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 0x140035c7c
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 0x1400356a6
mov ecx, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x31]
jmp 0x140035c60