Function at 0x14003a0d0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x110
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 1
je 0x14003a124
cmp dword [rsp + 0x58], 2
je 0x14003a57f
cmp dword [rsp + 0x58], 0xf
je 0x14003a267
cmp dword [rsp + 0x58], 0x7e
je 0x14003a210
jmp 0x14003a5d8
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [0x14004f190], rax
mov r8d, dword [0x14004f17c]
mov edx, dword [0x14004f178]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [0x14004f1a8], rax
mov rdx, qword [0x14004f1a8]
mov rcx, qword [0x14004f190]
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov r8d, 0x10101
mov edx, 1
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov qword [0x14004f198], rax
mov r8d, 0xff
mov edx, 1
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreatePen]
mov qword [0x14004f1a0], rax
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x14004f1b0], rax
mov ecx, 0x10101
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x14004f188], rax
mov ecx, 0xafafaf
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
mov qword [0x14004f180], rax
mov rdx, qword [0x14004f1a0]
mov rcx, qword [0x14004f190]
call qword [sym.imp.GDI32.dll_SelectObject]
nop
jmp 0x14003a5ff
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14004f178], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [0x14004f17c], eax
mov dword [rsp + 0x30], 6
mov eax, dword [0x14004f17c]
mov dword [rsp + 0x28], eax
mov eax, dword [0x14004f178]
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_SetWindowPos]
nop
jmp 0x14003a5ff
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_BeginPaint]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0x98], 0
mov dword [rsp + 0x9c], 0
mov eax, dword [0x14004f178]
mov dword [rsp + 0xa0], eax
mov eax, dword [0x14004f17c]
mov dword [rsp + 0xa4], eax
mov r8, qword [0x14004f1b0]
lea rdx, [rsp + 0x98]
mov rcx, qword [0x14004f190]
call qword [sym.imp.USER32.dll_FillRect]
nop
lea rdx, [0x14004e110]
lea rcx, [0x14004e128]
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14003a4fb
mov edx, 0xfffffff0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
and rax, 0xc00000
test rax, rax
je 0x14003a323
mov ecx, 4
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsp + 0x5c], eax
jmp 0x14003a32b
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [0x14014f210]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0x10
jbe 0x14003a4e3
lea rax, [0x14014f210]
add rax, 0xc
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x80]
sub rax, 0xc
xor edx, edx
mov ecx, 0x10
div rcx
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0x68], 0
jmp 0x14003a3c1
mov rax, qword [rsp + 0x68]
inc rax
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x68], rax
jae 0x14003a4e3
imul rax, qword [rsp + 0x68], 0x10
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cvtsi2ss xmm0, dword [rsp + 0x88]
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x50]
movss dword [rax], xmm0
cvtsi2ss xmm0, dword [rsp + 0x88]
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 8]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x50]
movss dword [rax + 8], xmm0
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 4]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x50]
movss dword [rax + 4], xmm0
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x8c]
add ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov rax, qword [rsp + 0x50]
movss xmm1, dword [rax + 0xc]
addss xmm1, xmm0
movaps xmm0, xmm1
mov rax, qword [rsp + 0x50]
movss dword [rax + 0xc], xmm0
mov rax, qword [rsp + 0x50]
cvttss2si eax, dword [rax + 4]
mov rcx, qword [rsp + 0x50]
cvttss2si ecx, dword [rcx]
xor r9d, r9d
mov r8d, eax
mov edx, ecx
mov rcx, qword [0x14004f190]
call qword [sym.imp.GDI32.dll_MoveToEx]
mov rax, qword [rsp + 0x50]
cvttss2si eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
cvttss2si ecx, dword [rcx + 8]
mov r8d, eax
mov edx, ecx
mov rcx, qword [0x14004f190]
call qword [sym.imp.GDI32.dll_LineTo]
nop
jmp 0x14003a3b4
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
lea rcx, [0x14014f210]
call fcn.14000fe6c
nop
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [0x14004f190]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14004f17c]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x14004f178]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.GDI32.dll_BitBlt]
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_EndPaint]
mov ecx, 5
call fcn.14001b734
mov r8d, 1
xor edx, edx
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_InvalidateRect]
nop
jmp 0x14003a5ff
mov rcx, qword [0x14004f190]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, qword [0x14004f1a8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14004f198]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14004f1b0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14004f188]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x14004f180]
call qword [sym.imp.GDI32.dll_DeleteObject]
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
nop
jmp 0x14003a5ff
mov r9, qword [rsp + 0x140]
mov r8, qword [rsp + 0x138]
mov edx, dword [rsp + 0x130]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x14003a601
xor eax, eax
add rsp, 0x110
pop rdi
ret