Function at 0x140100a50
Capabilities:
Capture screenshot

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0xf0
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp - 0x11], rax
mov rax, qword gs:[0x58]
mov rbx, rdx
mov r12, qword [rbp + 0x67]
mov rdi, rcx
mov r15, qword [rbp + 0x6f]
mov rsi, r9
mov qword [rsp + 0x68], rcx
mov r14, r8
mov rcx, qword [rax]
mov edx, Ordinal_27
mov qword [rbp - 0x71], r9
mov qword [rbp - 0x59], r8
mov eax, dword [rdx + rcx]
cmp dword [0x140462308], eax
jle 0x140100af7
lea rcx, [0x140462308]
call fcn.14012a4bc
cmp dword [0x140462308], 0xffffffff
jne 0x140100af7
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, [0x140462308]
mov qword [0x140462310], rax
call fcn.14012a45c
mov rax, qword [0x140462310]
lea rcx, [0x1400fef00]
test rax, rax
cmove rax, rcx
mov qword [0x140462310], rax
test rbx, rbx
je 0x140101c4f
mov rcx, rdi
mov qword [rsp + 0xe8], r13
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rcx, rax
mov qword [rbp - 0x79], rax
mov rdx, rbx
mov r13, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov edx, 4
mov rcx, rdi
mov qword [rbp - 0x39], rax
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
cmp qword [0x140462310], 0
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm0
movdqu xmmword [rbp - 0x31], xmm1
je 0x1401014f7
cmp byte [rbp + 0x77], 0
movzx ecx, byte [rbp + 0x7f]
jne 0x140100b83
cmp cl, 0xff
jae 0x1401014f7
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 0x140100f7b
mov edx, dword [r15]
mov eax, dword [r14]
mov ecx, dword [r14 + 4]
mov r8d, dword [r14 + 8]
sub r8d, dword [r15 + 8]
mov r9d, dword [r15 + 4]
lea r11d, [rax + rdx]
sub r8d, eax
mov dword [rbp - 0x31], r11d
mov eax, dword [r14 + 0xc]
sub r8d, edx
sub eax, ecx
add r8d, r11d
lea r10d, [rcx + r9]
mov dword [rbp - 0x29], r8d
sub eax, r9d
mov dword [rbp - 0x2d], r10d
sub eax, dword [r15 + 0xc]
lea r8, [rbp - 0x31]
add eax, r10d
lea rcx, [rbp - 0x21]
mov rdx, rsi
mov dword [rbp - 0x25], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140100f7b
cmp byte [rbp + 0x8f], 0
jne 0x140100d5a
cmp byte [rbp + 0x97], 0
mov r8d, dword [rbp - 0x2d]
mov edi, dword [r12 + 0xc]
jne 0x140100c9a
mov ecx, dword [r12]
mov eax, dword [r12 + 4]
sub edi, eax
mov r9d, dword [rbp - 0x29]
mov r14d, dword [rbp - 0x25]
mov r10d, dword [r12 + 8]
sub r14d, r8d
sub r10d, dword [r15 + 8]
sub edi, dword [r15 + 4]
sub r10d, ecx
add ecx, dword [r15]
sub edi, dword [r15 + 0xc]
sub r10d, dword [r15]
add eax, dword [r15 + 4]
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov rsi, qword [rsp + 0x68]
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov rcx, rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r14d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r14d
call qword [0x140462310]
mov r14, qword [rbp - 0x59]
jmp 0x140100f7e
sub edi, dword [r12 + 4]
sub edi, dword [r15 + 0xc]
sub edi, dword [r15 + 4]
mov ecx, dword [rbp - 0x25]
mov eax, edi
sub eax, r8d
dec eax
add eax, ecx
cdq
idiv edi
test eax, eax
jle 0x140100eb1
mov r14, qword [rsp + 0x68]
xor esi, esi
mov qword [rbp - 0x61], rax
nop dword [rax]
lea eax, [rsi + rdi]
lea r10d, [rax + r8]
lea r11d, [rsi + r8]
mov r8d, edi
lea esi, [rax]
cmp r10d, ecx
jle 0x140100cee
sub r8d, r10d
mov r10d, ecx
add r8d, ecx
mov eax, dword [r12]
sub r10d, r11d
mov ecx, dword [r12 + 4]
add ecx, dword [r15 + 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, r14
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r10d
call qword [0x140462310]
sub qword [rbp - 0x61], 1
je 0x140100ead
mov ecx, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
jmp 0x140100cd0
cmp byte [rbp + 0x97], 0
je 0x140100ebb
mov r14d, dword [r12 + 8]
sub r14d, dword [r15 + 8]
sub r14d, dword [r15]
sub r14d, dword [r12]
mov r9d, dword [rbp - 0x31]
mov eax, r14d
mov r8d, dword [rbp - 0x29]
sub eax, r9d
mov edi, dword [r12 + 0xc]
dec eax
sub edi, dword [r12 + 4]
add eax, r8d
sub edi, dword [r15 + 0xc]
cdq
sub edi, dword [r15 + 4]
mov r11d, dword [rbp - 0x25]
mov ecx, edi
mov r10d, dword [rbp - 0x2d]
sub ecx, r10d
idiv r14d
mov dword [rbp - 0x65], edi
mov dword [rbp - 0x69], eax
lea eax, [r11 - 1]
add eax, ecx
cdq
idiv edi
mov ecx, eax
test eax, eax
jle 0x140100ead
xor esi, esi
mov qword [rbp - 0x49], rcx
mov eax, esi
mov edx, ecx
mov dword [rbp - 0x51], eax
lea ecx, [rax + r10]
mov dword [rsp + 0x60], edi
add eax, edi
mov dword [rbp - 0x61], eax
lea r13d, [rax + r10]
cmp r13d, r11d
jle 0x140100df8
mov eax, edi
sub eax, r13d
mov r13d, r11d
add eax, r11d
mov dword [rsp + 0x60], eax
mov eax, dword [rbp - 0x69]
test eax, eax
jle 0x140100e95
mov edi, esi
mov qword [rbp - 0x41], rax
mov esi, dword [rsp + 0x60]
sub r13d, ecx
lea r11d, [rdi + r9]
mov edx, r14d
add edi, r14d
add r9d, edi
cmp r9d, r8d
jle 0x140100e2b
sub edx, r9d
mov r9d, r8d
add edx, r8d
mov ecx, dword [r12 + 4]
sub r9d, r11d
mov eax, dword [r15]
add ecx, dword [r15 + 4]
add eax, dword [r12]
mov r8d, dword [rbp - 0x51]
mov dword [rsp + 0x50], ebx
add r8d, r10d
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], edx
mov edx, r11d
mov dword [rsp + 0x38], ecx
mov rcx, qword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp - 0x79]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
call qword [0x140462310]
sub qword [rbp - 0x41], 1
mov r8d, dword [rbp - 0x29]
mov r10d, dword [rbp - 0x2d]
mov r9d, dword [rbp - 0x31]
jne 0x140100e10
mov r11d, dword [rbp - 0x25]
xor esi, esi
mov edi, dword [rbp - 0x65]
mov rdx, qword [rbp - 0x49]
mov eax, dword [rbp - 0x61]
sub rdx, 1
mov qword [rbp - 0x49], rdx
mov dword [rbp - 0x51], eax
jne 0x140100dd3
mov r13, qword [rbp - 0x79]
mov r14, qword [rbp - 0x59]
mov rsi, qword [rsp + 0x68]
jmp 0x140100f7e
mov edi, dword [r12 + 8]
sub edi, dword [r15 + 8]
sub edi, dword [r15]
sub edi, dword [r12]
mov r8d, dword [rbp - 0x31]
mov eax, edi
mov ecx, dword [rbp - 0x29]
sub eax, r8d
dec eax
add eax, ecx
cdq
idiv edi
test eax, eax
jle 0x140100eb1
mov r14, qword [rsp + 0x68]
xor esi, esi
mov qword [rbp - 0x79], rax
nop dword [rax]
lea eax, [rsi + rdi]
mov edx, edi
lea r9d, [rax + r8]
lea r11d, [rsi + r8]
lea esi, [rax]
cmp r9d, ecx
jle 0x140100f0c
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], ebx
sub r10d, ecx
sub r10d, dword [r15 + 0xc]
lea r8d, [rax + rcx]
mov eax, dword [r15]
mov rcx, r14
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], r13
mov dword [rsp + 0x20], eax
call qword [0x140462310]
sub qword [rbp - 0x79], 1
je 0x140100ead
mov ecx, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x31]
jmp 0x140100ef0
mov rsi, rdi
mov edx, dword [r15]
mov rdi, qword [rbp - 0x71]
test edx, edx
jle 0x140101015
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x140101015
mov ecx, dword [r14 + 4]
add r8d, ecx
mov eax, dword [r14]
add edx, eax
mov dword [rbp - 0x29], edx
mov rdx, rdi
mov dword [rbp - 0x25], r8d
lea r8, [rbp - 0x31]
mov dword [rbp - 0x2d], ecx
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x31], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101015
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], r13
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rbp - 0x29], r9d
call qword [0x140462310]
mov r10d, dword [r15 + 4]
test r10d, r10d
jle 0x1401010cb
mov edx, dword [r15]
mov ecx, dword [r14]
mov r9d, dword [r14 + 4]
add r10d, r9d
mov eax, dword [r14 + 8]
sub eax, dword [r15 + 8]
lea r8d, [rcx + rdx]
mov dword [rbp - 0x2d], r9d
sub eax, ecx
mov dword [rbp - 0x31], r8d
sub eax, edx
mov dword [rbp - 0x25], r10d
add eax, r8d
lea rcx, [rbp - 0x21]
lea r8, [rbp - 0x31]
mov dword [rbp - 0x29], eax
mov rdx, rdi
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1401010cb
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], r13
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [0x140462310]
mov edx, dword [r15 + 8]
test edx, edx
jle 0x14010116f
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x14010116f
mov ecx, dword [r14 + 8]
mov eax, dword [r14 + 4]
sub ecx, edx
add edx, ecx
mov dword [rbp - 0x31], ecx
add r8d, eax
mov dword [rbp - 0x29], edx
mov dword [rbp - 0x25], r8d
lea rcx, [rbp - 0x21]
mov rdx, rdi
mov dword [rbp - 0x2d], eax
lea r8, [rbp - 0x31]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14010116f
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], r13
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [0x140462310]
mov r10d, dword [r15]
test r10d, r10d
jle 0x140101226
mov ecx, dword [r15 + 4]
mov edx, dword [r14 + 0xc]
mov eax, dword [r14 + 4]
sub edx, eax
mov r9d, dword [r14]
sub edx, ecx
sub edx, dword [r15 + 0xc]
add r10d, r9d
mov dword [rbp - 0x31], r9d
lea r8d, [rax + rcx]
mov dword [rbp - 0x29], r10d
add edx, r8d
mov dword [rbp - 0x2d], r8d
mov dword [rbp - 0x25], edx
lea r8, [rbp - 0x31]
mov rdx, rdi
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101226
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], 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], r13
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [0x140462310]
mov r10d, dword [r15 + 8]
test r10d, r10d
jle 0x1401012e4
mov ecx, dword [r15 + 4]
mov edx, dword [r14 + 0xc]
mov eax, dword [r14 + 4]
sub edx, eax
mov r9d, dword [r14 + 8]
sub edx, ecx
sub edx, dword [r15 + 0xc]
sub r9d, r10d
add r10d, r9d
mov dword [rbp - 0x31], r9d
lea r8d, [rax + rcx]
mov dword [rbp - 0x29], r10d
add edx, r8d
mov dword [rbp - 0x2d], r8d
mov dword [rbp - 0x25], edx
lea r8, [rbp - 0x31]
mov rdx, rdi
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1401012e4
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]
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 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], r13
mov dword [rsp + 0x20], edi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], edi
call qword [0x140462310]
mov r8d, dword [r15]
mov rdi, qword [rbp - 0x71]
test r8d, r8d
jle 0x140101386
mov edx, dword [r15 + 0xc]
test edx, edx
jle 0x140101386
mov ecx, dword [r14 + 0xc]
mov eax, dword [r14]
sub ecx, edx
add edx, ecx
mov dword [rbp - 0x2d], ecx
add r8d, eax
mov dword [rbp - 0x25], edx
mov dword [rbp - 0x29], r8d
lea rcx, [rbp - 0x21]
mov rdx, rdi
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x31]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101386
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], r13
mov dword [rsp + 0x20], r10d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r10d
call qword [0x140462310]
mov r10d, dword [r15 + 0xc]
test r10d, r10d
jle 0x14010143f
mov edx, dword [r15]
mov ecx, dword [r14]
mov eax, dword [r14 + 8]
sub eax, dword [r15 + 8]
mov r9d, dword [r14 + 0xc]
sub eax, ecx
lea r8d, [rcx + rdx]
sub eax, edx
sub r9d, r10d
mov dword [rbp - 0x31], r8d
add eax, r8d
mov dword [rbp - 0x2d], r9d
add r10d, r9d
mov dword [rbp - 0x29], eax
lea r8, [rbp - 0x31]
mov dword [rbp - 0x25], r10d
mov rdx, rdi
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x14010143f
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 [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], esi
call qword [0x140462310]
mov r8d, dword [r15 + 8]
test r8d, r8d
jle 0x140101c31
mov r9d, dword [r15 + 0xc]
test r9d, r9d
jle 0x140101c31
mov ecx, dword [r14 + 8]
mov eax, dword [r14 + 0xc]
sub ecx, r8d
mov rdx, qword [rbp - 0x71]
add r8d, ecx
sub eax, r9d
mov dword [rbp - 0x29], r8d
mov dword [rbp - 0x31], ecx
lea r8, [rbp - 0x31]
add r9d, eax
mov dword [rbp - 0x2d], eax
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x25], r9d
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101c31
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 [rsp + 0x68]
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], r13
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], esi
call qword [0x140462310]
jmp 0x140101c31
mov r10d, dword [r14 + 8]
mov eax, r10d
mov ecx, dword [r12 + 8]
mov r11d, dword [r14]
sub eax, r11d
sub ecx, dword [r12]
cmp eax, ecx
jne 0x1401015b3
mov ecx, dword [r12 + 0xc]
mov eax, dword [r14 + 0xc]
sub ecx, dword [r12 + 4]
sub eax, dword [r14 + 4]
cmp eax, ecx
jne 0x1401015b3
cmp dword [r15], 0
jne 0x1401015b3
cmp dword [r15 + 8], 0
jne 0x1401015b3
cmp dword [r15 + 4], 0
jne 0x1401015b3
cmp dword [r15 + 0xc], 0
jne 0x1401015b3
mov r8, r14
lea rcx, [rbp - 0x21]
mov rdx, rsi
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101c31
mov ecx, dword [r12]
mov r8d, dword [rbp - 0x1d]
sub ecx, dword [r14]
mov edx, dword [rbp - 0x21]
add ecx, edx
mov r10d, dword [r12 + 4]
sub r10d, dword [r14 + 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, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_BitBlt]
jmp 0x140101c31
cmp byte [rbp + 0x87], 0
jne 0x1401016a9
mov eax, dword [r15]
sub r10d, dword [r15 + 8]
mov edx, dword [r15 + 4]
sub r10d, eax
mov ecx, dword [r14 + 4]
sub r10d, r11d
lea r9d, [rax + r11]
mov eax, dword [r14 + 0xc]
sub eax, ecx
mov dword [rbp - 0x31], r9d
sub eax, edx
add r10d, r9d
sub eax, dword [r15 + 0xc]
lea r8d, [rcx + rdx]
add eax, r8d
mov dword [rbp - 0x2d], r8d
lea r8, [rbp - 0x31]
mov dword [rbp - 0x25], eax
mov rdx, rsi
mov dword [rbp - 0x29], r10d
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1401016a9
cmp byte [rbp + 0x8f], 0
jne 0x140101d2e
cmp byte [rbp + 0x97], 0
mov r8d, dword [rbp - 0x2d]
mov ebx, dword [r12 + 0xc]
jne 0x140101c6d
mov ecx, dword [r12]
mov eax, dword [r12 + 4]
sub ebx, eax
mov r9d, dword [rbp - 0x29]
mov esi, dword [rbp - 0x25]
mov r10d, dword [r12 + 8]
sub esi, r8d
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 rcx, rdi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], esi
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], esi
call qword [sym.imp.GDI32.dll_StretchBlt]
mov rsi, qword [rbp - 0x71]
mov edx, dword [r15]
test edx, edx
jle 0x140101744
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x140101744
mov ecx, dword [r14 + 4]
add r8d, ecx
mov eax, dword [r14]
add edx, eax
mov dword [rbp - 0x29], edx
mov rdx, rsi
mov dword [rbp - 0x25], r8d
lea r8, [rbp - 0x31]
mov dword [rbp - 0x2d], ecx
lea rcx, [rbp - 0x21]
mov dword [rbp - 0x31], eax
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101744
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], r13
mov dword [rsp + 0x20], ecx
mov rcx, rdi
mov dword [rbp - 0x29], r9d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r10d, dword [r15 + 4]
test r10d, r10d
jle 0x1401017fe
mov edx, dword [r15]
mov ecx, dword [r14]
mov r9d, dword [r14 + 4]
add r10d, r9d
mov eax, dword [r14 + 8]
sub eax, dword [r15 + 8]
lea r8d, [rcx + rdx]
mov dword [rbp - 0x2d], r9d
sub eax, ecx
mov dword [rbp - 0x31], r8d
sub eax, edx
mov dword [rbp - 0x25], r10d
add eax, r8d
lea rcx, [rbp - 0x21]
lea r8, [rbp - 0x31]
mov dword [rbp - 0x29], eax
mov rdx, rsi
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1401017fe
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, rdi
mov qword [rsp + 0x28], r13
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 0x1401018a6
mov r8d, dword [r15 + 4]
test r8d, r8d
jle 0x1401018a6
mov ecx, dword [r14 + 8]
mov eax, dword [r14 + 4]
sub ecx, edx
add edx, ecx
mov dword [rbp - 0x31], ecx
add r8d, eax
mov dword [rbp - 0x29], edx
mov dword [rbp - 0x25], r8d
lea rcx, [rbp - 0x21]
mov rdx, rsi
mov dword [rbp - 0x2d], eax
lea r8, [rbp - 0x31]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x1401018a6
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, rdi
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r10d
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r10d, dword [r15]
test r10d, r10d
jle 0x140101961
mov ecx, dword [r15 + 4]
mov edx, dword [r14 + 0xc]
mov eax, dword [r14 + 4]
sub edx, eax
mov r9d, dword [r14]
sub edx, ecx
sub edx, dword [r15 + 0xc]
add r10d, r9d
mov dword [rbp - 0x31], r9d
lea r8d, [rax + rcx]
mov dword [rbp - 0x29], r10d
add edx, r8d
mov dword [rbp - 0x2d], r8d
mov dword [rbp - 0x25], edx
lea r8, [rbp - 0x31]
mov rdx, rsi
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101961
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, rdi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r11d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r11d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r10d, dword [r15 + 8]
test r10d, r10d
jle 0x140101a23
mov ecx, dword [r15 + 4]
mov edx, dword [r14 + 0xc]
mov eax, dword [r14 + 4]
sub edx, eax
mov r9d, dword [r14 + 8]
sub edx, ecx
sub edx, dword [r15 + 0xc]
sub r9d, r10d
add r10d, r9d
mov dword [rbp - 0x31], r9d
lea r8d, [rax + rcx]
mov dword [rbp - 0x29], r10d
add edx, r8d
mov dword [rbp - 0x2d], r8d
mov dword [rbp - 0x25], edx
lea r8, [rbp - 0x31]
mov rdx, rsi
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101a23
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, rdi
mov qword [rsp + 0x28], r13
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 0x140101ac5
mov edx, dword [r15 + 0xc]
test edx, edx
jle 0x140101ac5
mov ecx, dword [r14 + 0xc]
mov eax, dword [r14]
sub ecx, edx
add edx, ecx
mov dword [rbp - 0x2d], ecx
add r8d, eax
mov dword [rbp - 0x25], edx
mov dword [rbp - 0x29], r8d
lea rcx, [rbp - 0x21]
mov rdx, rsi
mov dword [rbp - 0x31], eax
lea r8, [rbp - 0x31]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101ac5
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, rdi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r10d
mov dword [rbp - 0x29], r9d
mov dword [rbp - 0x25], r10d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov r10d, dword [r15 + 0xc]
test r10d, r10d
jle 0x140101b85
mov edx, dword [r15]
mov ecx, dword [r14]
mov eax, dword [r14 + 8]
sub eax, dword [r15 + 8]
mov r9d, dword [r14 + 0xc]
sub eax, ecx
lea r8d, [rcx + rdx]
sub eax, edx
sub r9d, r10d
mov dword [rbp - 0x31], r8d
add eax, r8d
mov dword [rbp - 0x2d], r9d
add r10d, r9d
mov dword [rbp - 0x29], eax
lea r8, [rbp - 0x31]
mov dword [rbp - 0x25], r10d
mov rdx, rsi
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101b85
mov edi, dword [rbp - 0x25]
mov eax, dword [r12]
mov ecx, dword [r12 + 0xc]
mov ebx, dword [r15 + 0xc]
sub ecx, ebx
mov r9d, dword [rbp - 0x29]
mov r11d, dword [r12 + 8]
sub r11d, dword [r15 + 8]
mov r8d, dword [rbp - 0x2d]
sub r11d, eax
sub r11d, dword [r15]
sub edi, r8d
add eax, dword [r15]
mov edx, dword [rbp - 0x31]
sub r9d, edx
mov dword [rsp + 0x50], 0xcc0020
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], eax
mov dword [rbp - 0x25], edi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
mov dword [rbp - 0x29], r9d
call qword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [r15 + 8]
test edx, edx
jle 0x140101c31
mov r8d, dword [r15 + 0xc]
test r8d, r8d
jle 0x140101c31
mov ecx, dword [r14 + 8]
mov eax, dword [r14 + 0xc]
sub ecx, edx
sub eax, r8d
mov dword [rbp - 0x31], ecx
add edx, ecx
mov dword [rbp - 0x2d], eax
add r8d, eax
mov dword [rbp - 0x29], edx
mov dword [rbp - 0x25], r8d
lea rcx, [rbp - 0x21]
lea r8, [rbp - 0x31]
mov rdx, rsi
call qword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x140101c31
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, rdi
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
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, r13
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteDC]
mov r13, qword [rsp + 0xe8]
mov rcx, qword [rbp - 0x11]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0xf0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
sub ebx, dword [r12 + 4]
sub ebx, dword [r15 + 0xc]
sub ebx, dword [r15 + 4]
mov ecx, dword [rbp - 0x25]
mov eax, ebx
sub eax, r8d
dec eax
add eax, ecx
cdq
idiv ebx
test eax, eax
jle 0x1401016a9
xor esi, esi
mov qword [rbp - 0x79], rax
nop word [rax + rax]
lea eax, [rbx + rsi]
lea r10d, [rax + r8]
lea r11d, [rsi + r8]
mov r8d, ebx
lea esi, [rax]
cmp r10d, ecx
jle 0x140101cbe
sub r8d, r10d
mov r10d, ecx
add r8d, ecx
mov eax, dword [r12]
sub r10d, r11d
mov ecx, dword [r12 + 4]
add ecx, dword [r15 + 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, rdi
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r10d
call qword [sym.imp.GDI32.dll_StretchBlt]
sub qword [rbp - 0x79], 1
je 0x1401016a5
mov ecx, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
jmp 0x140101ca0
cmp byte [rbp + 0x97], 0
je 0x140101e6f
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 + 0xc]
cdq
sub ebx, dword [r15 + 4]
mov r11d, dword [rbp - 0x25]
mov r8d, dword [rbp - 0x2d]
idiv ecx
mov dword [rbp - 0x61], ecx
mov ecx, ebx
mov dword [rsp + 0x60], eax
sub ecx, r8d
lea eax, [r11 - 1]
mov dword [rbp - 0x69], ebx
add eax, ecx
cdq
idiv ebx
test eax, eax
jle 0x1401016a9
mov edi, dword [rsp + 0x60]
xor esi, esi
mov edx, eax
mov r14d, esi
mov qword [rbp - 0x49], rdx
nop dword [rax]
lea ecx, [rbx + r14]
lea ebx, [rcx + r8]
mov dword [rbp - 0x65], ecx
cmp ebx, r11d
lea eax, [r14 + r8]
cmovg ebx, r11d
test edi, edi
jle 0x140101e4d
sub ebx, eax
mov edi, esi
mov eax, dword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov qword [rbp - 0x79], rax
nop
mov ecx, dword [r12 + 4]
lea edx, [r9 + rdi]
add edi, dword [rbp - 0x61]
mov eax, dword [r15]
add r9d, edi
mov dword [rsp + 0x40], 0xcc0020
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, r14d
mov dword [rsp + 0x30], eax
mov rcx, rsi
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], ebx
call qword [sym.imp.GDI32.dll_BitBlt]
sub qword [rbp - 0x79], 1
mov r10d, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x2d]
mov r9d, dword [rbp - 0x31]
jne 0x140101de0
mov r11d, dword [rbp - 0x25]
xor esi, esi
mov ecx, dword [rbp - 0x65]
mov rdx, qword [rbp - 0x49]
mov edi, dword [rsp + 0x60]
mov ebx, dword [rbp - 0x69]
sub rdx, 1
mov qword [rbp - 0x49], rdx
mov r14d, ecx
jne 0x140101db0
mov r14, qword [rbp - 0x59]
mov rdi, qword [rsp + 0x68]
jmp 0x1401016a5
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 0x1401016a9
xor esi, esi
mov qword [rbp - 0x79], rax
lea eax, [rbx + rsi]
mov edx, ebx
lea r9d, [rax + r8]
lea r11d, [rsi + r8]
lea esi, [rax]
cmp r9d, ecx
jle 0x140101ebc
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, rdi
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], r13
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchBlt]
sub qword [rbp - 0x79], 1
je 0x1401016a5
mov ecx, dword [rbp - 0x29]
mov r8d, dword [rbp - 0x31]
jmp 0x140101ea0