Function at 0x140004230
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x140032040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r12, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15, rax
mov edx, 8
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x1400349f0], eax
mov edx, 0xa
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [0x1400349b8], eax
mov r8d, eax
mov edx, dword [0x1400349f0]
mov rcx, r12
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [0x1400349c0], rax
mov rdx, rax
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov r13, rax
mov dword [rsp + 0x40], 0xcc0020
xor ebx, ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], r12
mov ecx, dword [0x1400349b8]
mov dword [rsp + 0x20], ecx
mov r9d, dword [0x1400349f0]
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.GDI32.dll_BitBlt]
mov dword [0x1400349c8], 0x28
mov ecx, dword [0x1400349f0]
mov dword [0x1400349cc], ecx
mov r9d, dword [0x1400349b8]
mov eax, r9d
neg eax
mov dword [0x1400349d0], eax
mov qword [0x1400349d4], 0x180001
mov dword [0x1400349dc], ebx
mov qword [0x1400349e8], rbx
xorps xmm0, xmm0
mov eax, r9d
imul eax, ecx
lea eax, [rax + rax*2]
movsxd rdi, eax
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
test eax, eax
je 0x1400043cf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1400045bd
cmp rdi, 0x1000
jb 0x14000439e
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1400045c3
call fcn.14000720c
mov rcx, rax
test rax, rax
je 0x1400045b7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400043a6
mov rcx, rdi
call fcn.14000720c
mov qword [rsp + 0x50], rax
lea rbx, [rax + rdi]
mov qword [rsp + 0x60], rbx
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140021240
mov qword [rsp + 0x58], rbx
mov r9d, dword [0x1400349b8]
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [0x1400349c8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [0x1400349c0]
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetDIBits]
mov r14d, dword [0x1400349b8]
mov eax, r14d
mov esi, dword [0x1400349f0]
imul eax, esi
movsxd r9, eax
mov r8, qword [0x140032c98]
mov r11, qword [0x140032c90]
mov rcx, r8
sub rcx, r11
movabs rdi, 0x2aaaaaaaaaaaaaab
mov rax, rdi
imul rcx
mov r10, rdx
sar r10, 1
mov rax, r10
shr rax, 0x3f
add r10, rax
cmp r9, r10
jae 0x14000445c
lea rax, [r9 + r9*2]
lea rcx, [r11 + rax*4]
mov qword [0x140032c98], rcx
jmp 0x1400044bc
jbe 0x1400044bc
mov rcx, qword [0x140032ca0]
sub rcx, r11
mov rax, rdi
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jbe 0x140004497
mov rdx, r9
call fcn.140004650
mov esi, dword [0x1400349f0]
mov r14d, dword [0x1400349b8]
jmp 0x1400044bc
sub r9, r10
je 0x1400044b5
nop dword [rax]
mov qword [r8], 0
mov dword [r8 + 8], ebx
add r8, 0xc
sub r9, 1
jne 0x1400044a0
mov qword [0x140032c98], r8
mov ebp, ebx
test r14d, r14d
jle 0x140004526
mov eax, ebx
test esi, esi
jle 0x14000451f
mov edi, ebp
imul edi, esi
movsxd rcx, edi
lea rbx, [rcx + rcx*2]
shl rbx, 2
nop dword [rax]
lea ecx, [rdi + rax]
lea edx, [rcx + rcx*2]
movsxd r11, edx
mov r8, qword [rsp + 0x50]
movzx r9d, byte [r11 + r8 + 1]
movzx r10d, byte [r11 + r8]
mov rdx, qword [0x140032c90]
movzx ecx, byte [r11 + r8 + 2]
mov dword [rdx + rbx], ecx
mov dword [rdx + rbx + 4], r9d
mov dword [rdx + rbx + 8], r10d
inc eax
lea rbx, [rbx + 0xc]
cmp eax, esi
jl 0x1400044e0
xor ebx, ebx
inc ebp
cmp ebp, r14d
jl 0x1400044c3
mov rdx, r13
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [0x1400349c0]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000458c
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004587
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400045b7
call fcn.140007120
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140007100
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14000d058
int3
call fcn.140004630
int3
call fcn.140001260
int3