Function at 0x1400012c0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r12d, dword [rsp + 0xf0]
mov eax, ecx
shr eax, 0x10
mov r10d, ecx
movzx ebp, cx
xor ebx, ebx
movzx ecx, al
and ebp, 0xffffff00
movzx eax, r10b
or ebp, ecx
shl eax, 0x10
mov r13d, edx
or ebp, eax
mov dword [rsp + 0x54], r9d
mov dword [rsp + 0x58], r8d
mov qword [rsp + 0x68], rbx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov r14d, ebx
mov edi, ebx
mov r15, rax
mov esi, ebx
test rax, rax
je 0x140001379
mov rcx, rax
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x140001379
lea rdx, [rsp + 0x80]
mov qword [rsp + 0x80], rbx
mov rcx, r15
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x140001379
mov r14d, dword [rsp + 0x84]
mov edi, dword [rsp + 0x80]
mov esi, edi
add r14d, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x58]
lea r9d, [rdi + r13]
mov r8d, dword [rsp + 0x54]
lea ecx, [r14 + r12]
add r8d, esi
mov dword [rsp + 0x74], ecx
mov edi, eax
mov dword [rsp + 0x78], r9d
lea edx, [rax + r14]
mov dword [rsp + 0x7c], r8d
cmp r9d, r8d
mov dword [rsp + 0x70], edx
mov esi, r9d
mov byte [rsp + 0x50], bl
cmovle esi, r8d
mov r13d, r8d
cmovle r13d, r9d
cmp edx, ecx
cmovle edi, r12d
add edi, r14d
cmp edx, ecx
cmovle r12d, eax
movzx eax, bp
shr ax, 8
xor ecx, ecx
mov word [rsp + 0x5c], ax
add r12d, r14d
mov eax, ebp
shr eax, 0x10
mov dword [rsp + 0x58], eax
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x140001403
xor ecx, ecx
call qword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x140001793
sub esi, r13d
sub edi, r12d
inc esi
inc edi
mov rcx, rax
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x60], edi
mov r15, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
test rax, rax
je 0x140001767
mov rcx, qword [rsp + 0x80]
mov r8d, edi
mov edx, esi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
test rax, rax
je 0x140001767
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140001480
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x14000178a
mov dword [rsp + 0x40], 0xcc0020
mov r9d, esi
mov dword [rsp + 0x38], r12d
xor r8d, r8d
mov r12, qword [rsp + 0x80]
xor edx, edx
mov dword [rsp + 0x30], r13d
mov rcx, r14
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x140001743
lea rax, [rsp + 0x51]
mov rdx, r14
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x54]
mov rcx, r15
call section..text
mov rdi, rax
test rax, rax
je 0x140001743
mov r10d, dword [rsp + 0x60]
mov r9d, dword [rsp + 0x54]
imul r10d, r9d
cmp byte [rsp + 0x51], bl
je 0x1400015c7
mov edx, ebx
test r10d, r10d
jle 0x140001594
cmp r10d, 0x10
jb 0x140001594
mov ecx, r10d
and ecx, 0x8000000f
jge 0x140001526
dec ecx
or ecx, 0xfffffff0
inc ecx
movdqa xmm2, xmmword [0x140003350]
mov eax, r10d
sub eax, ecx
mov rcx, rbx
movsxd r8, eax
lea rax, [rdi + 0x20]
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x20]
lea rax, [rax + 0x40]
add edx, 0x10
movdqa xmm1, xmm2
add rcx, 0x10
andps xmm1, xmm0
movdqu xmmword [rax - 0x60], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x50]
andps xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x40]
andps xmm1, xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqa xmm1, xmm2
movdqu xmm0, xmmword [rax - 0x30]
andps xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
cmp rcx, r8
jl 0x140001540
movsxd rax, edx
movsxd rcx, r10d
cmp rax, rcx
jge 0x1400015af
nop
and dword [rdi + rax*4], 0xf8f8f8f8
inc rax
cmp rax, rcx
jl 0x1400015a0
movzx r12d, word [rsp + 0x5c]
and bpl, 0xf8
mov esi, dword [rsp + 0x58]
and r12b, 0xf8
and sil, 0xf8
jmp 0x1400015d1
mov esi, dword [rsp + 0x58]
movzx r12d, word [rsp + 0x5c]
movzx ecx, bpl
lea eax, [rbp - 2]
movzx eax, al
cmp ecx, 2
mov edx, ebx
movzx r8d, r12b
cmovae edx, eax
movzx r11d, sil
mov dword [rsp + 0x58], edx
lea eax, [r12 - 2]
movzx eax, al
cmp r8d, 2
mov edx, ebx
cmovae edx, eax
cmp r11d, 2
mov dword [rsp + 0x54], edx
lea eax, [rsi - 2]
movzx eax, al
mov edx, ebx
cmovae edx, eax
mov dword [rsp + 0x60], edx
mov edx, 0xff
mov eax, edx
sub eax, ecx
cmp eax, 2
jge 0x14000162a
movzx ebp, dl
jmp 0x14000162e
add bpl, 2
mov eax, edx
sub eax, r8d
cmp eax, 2
jge 0x14000163e
movzx r12d, dl
jmp 0x140001642
add r12b, 2
sub edx, r11d
cmp edx, 2
jge 0x14000164f
mov sil, 0xff
jmp 0x140001653
add sil, 2
test r10d, r10d
jle 0x140001703
mov r11d, dword [rsp + 0x70]
lea r8d, [r10 - 1]
mov r13d, dword [rsp + 0x74]
nop word [rax + rax]
mov eax, dword [rsp + 0x78]
cmp eax, dword [rsp + 0x7c]
jle 0x14000169d
cmp r11d, r13d
jle 0x140001684
mov ecx, r8d
jmp 0x1400016bb
mov eax, ebx
cdq
idiv r9d
lea ecx, [rax + 1]
mov eax, ebx
cdq
imul ecx, r9d
idiv r9d
sub ecx, edx
dec ecx
jmp 0x1400016bb
cmp r11d, r13d
jle 0x1400016b9
mov eax, r8d
cdq
idiv r9d
mov ecx, eax
mov eax, ebx
cdq
imul ecx, r9d
idiv r9d
add ecx, edx
jmp 0x1400016bb
mov ecx, ebx
movsxd rax, ecx
mov ecx, dword [rdi + rax*4]
mov edx, ecx
movzx eax, cx
shr edx, 0x10
shr ax, 8
cmp dl, byte [rsp + 0x58]
jb 0x1400016ee
cmp dl, bpl
ja 0x1400016ee
cmp al, byte [rsp + 0x54]
jb 0x1400016ee
cmp al, r12b
ja 0x1400016ee
cmp cl, byte [rsp + 0x60]
jb 0x1400016ee
cmp cl, sil
jbe 0x1400016fe
inc ebx
dec r8d
cmp ebx, r10d
jl 0x140001670
jmp 0x140001703
mov byte [rsp + 0x50], 1
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx eax, byte [rsp + 0x50]
jmp 0x140001795
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rdx, qword [rsp + 0x68]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x14000178a
mov rdx, qword [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
test r14, r14
je 0x140001793
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
test r15, r15
je 0x140001793
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
xor al, al
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140001b70
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret