Function at 0x140015c00
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x48]
sub rsp, 0x130
mov rax, qword [0x140079008]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [r11 + 0x10], rbx
xor ebx, ebx
cmp dword [0x140079048], ebx
mov edi, ebx
mov qword [r11 + 0x18], r12
mov esi, ebx
mov qword [r11 + 0x20], r13
lea r12, str.CreateBackupScreenWndProc
mov qword [r11 - 0x20], r14
mov r14, rcx
mov qword [r11 - 0x28], r15
lea r15, str.CreateSimulationScreenWndProc
je 0x140015cef
lea rax, [0x140016190]
mov dword [rsp + 0x60], ebx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rbx
call qword [sym.imp.mfc140u.dll_AfxFieldText]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov rcx, qword [rax + 0x10]
lea rax, [0x140016350]
mov qword [rbp - 0x48], rax
mov qword [rsp + 0x78], rcx
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x40], rbx
call qword [sym.imp.mfc140u.dll_AfxFieldText]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov rcx, qword [rax + 0x10]
mov qword [rbp - 0x38], rcx
lea rcx, [rsp + 0x60]
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmmword [rbp - 0x20], xmm1
mov qword [rbp - 0x10], r12
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140015f31
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140015f31
mov dword [0x140079048], ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rcx, [rbp]
mov qword [0x14007b870], rax
call qword [sym.imp.CrlCtl.dll_class_CRect___cdecl_GetVirtualScreenRect_void_]
xor ecx, ecx
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x140015f31
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r15d, dword [rbp + 0xc]
mov rcx, rdi
mov r12d, dword [rbp + 8]
mov r13d, dword [rbp + 4]
sub r15d, r13d
sub r12d, dword [rbp]
mov r8d, r15d
mov edx, r12d
mov qword [0x14007b868], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [0x14007b868]
mov qword [0x14007b860], rax
test rcx, rcx
je 0x140015f31
test rax, rax
je 0x140015f31
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x14007b868]
mov r9d, r12d
mov dword [rsp + 0x40], 0xcc0020
xor r8d, r8d
mov dword [rsp + 0x38], ebx
xor edx, edx
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x140015f31
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov qword [rsp + 0x58], rbx
lea rdx, str.CreateBackupScreenWndProc
xor r8d, r8d
mov r9d, 0x90000000
mov rcx, qword [rax + 0x10]
mov eax, dword [rbp]
mov qword [rsp + 0x50], rcx
lea ecx, [r8 + 8]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14007b878], rax
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov qword [rsp + 0x58], rbx
lea rdx, str.CreateSimulationScreenWndProc
mov r9d, 0x90000000
xor r8d, r8d
mov rcx, qword [rax + 0x10]
mov eax, dword [rbp]
mov qword [rsp + 0x50], rcx
mov ecx, 0x80008
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14007b880], rax
test rax, rax
je 0x140015f31
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140015f31
mov rcx, qword [0x14007b878]
test rcx, rcx
je 0x140015f31
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140015f31
mov rcx, qword [0x14007b880]
mov r9d, 2
mov r8b, 0xb4
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r8, qword [0x14007b868]
mov edx, 0xffffffeb
mov rcx, qword [0x14007b880]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rdx, qword [0x14007b878]
xor r9d, r9d
mov rcx, qword [0x14007b880]
xor r8d, r8d
mov dword [rsp + 0x30], 0x67
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rdx, qword [0x14007b880]
call fcn.140016420
mov rdx, qword [0x14007b878]
call fcn.140016420
mov rcx, qword [0x14007b880]
call qword [sym.imp.CAPHK.dll_SetDrawingWnd]
mov esi, 1
test r14, r14
je 0x140015f24
mov rbx, qword [r14 + 0x40]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.CAPHK.dll_SetKeyboardHook]
jmp 0x140015f39
mov rcx, r14
call fcn.140015f90
mov r15, qword [rsp + 0x120]
mov r14, qword [rsp + 0x128]
mov r13, qword [rsp + 0x168]
mov r12, qword [rsp + 0x160]
mov rbx, qword [rsp + 0x158]
test rdi, rdi
je 0x140015f71
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, esi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140047b30
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret