Function at 0x140009870
Capabilities:
Capture screenshot

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
lea rbp, [r11 - 0x48]
sub rsp, 0x130
mov rax, qword [0x14005b010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov qword [r11 + 0x10], rbx
xor ebx, ebx
cmp dword [0x14005b058], 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 0x14000995f
lea rax, [0x140009cf0]
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, [0x140009eb0]
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 0x140009ba1
lea rcx, [rbp - 0x50]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140009ba1
mov dword [0x14005b058], ebx
call qword [sym.imp.USER32.dll_GetFocus]
lea rcx, [rbp]
mov qword [0x140060f70], rax
call qword [sym.imp.WindowPainter.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 0x140009ba1
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 [0x140060f78], rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rcx, qword [0x140060f78]
mov qword [0x140060f80], rax
test rcx, rcx
je 0x140009ba1
test rax, rax
je 0x140009ba1
mov rdx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [0x140060f78]
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 0x140009ba1
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 [0x140060f68], 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 [0x140060f60], rax
test rax, rax
je 0x140009ba1
mov rcx, rax
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009ba1
mov rcx, qword [0x140060f68]
test rcx, rcx
je 0x140009ba1
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140009ba1
mov rcx, qword [0x140060f60]
mov r9d, 2
mov r8b, 0xb4
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov r8, qword [0x140060f78]
mov edx, 0xffffffeb
mov rcx, qword [0x140060f60]
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rdx, qword [0x140060f68]
xor r9d, r9d
mov rcx, qword [0x140060f60]
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 [0x140060f60]
call fcn.140009f80
mov rdx, qword [0x140060f68]
call fcn.140009f80
mov rcx, qword [0x140060f60]
call qword [sym.imp.Caphk.dll_void___cdecl_SetDrawingWnd_struct_HWND______ptr64_]
mov esi, 1
test r14, r14
je 0x140009b94
mov rbx, qword [r14 + 0x40]
mov edx, esi
mov rcx, rbx
call qword [sym.imp.Caphk.dll_int___cdecl_SetKeyboardHook_struct_HWND______ptr64__int_]
jmp 0x140009ba9
mov rcx, r14
call fcn.140009c00
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 0x140009be1
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.140031b80
add rsp, 0x130
pop rdi
pop rsi
pop rbp
ret