Function at 0x1400090b0
Capabilities:
Capture screenshot
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor ebx, ebx
mov dword [rbp + 0x50], 1
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x60], rbx
xor r8d, r8d
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
lea ecx, [rbx + 0x50]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jg 0x14000913c
lea rdx, str.Failed_to_retrieve_the_number_of_monitors.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001eb0
lea rdx, [0x140002080]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400091a5
movsxd rcx, eax
mov qword [rsp + 0x70], rcx
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000ba18
mov r13, rax
mov r9, rax
lea r8, [0x140009870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_EnumDisplayMonitors]
test eax, eax
jne 0x1400091df
lea rdx, str.Failed_to_retrieve_monitor_handles.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001eb0
lea rdx, [0x140002080]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r13
call fcn.14000b914
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14000b8b0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov r14d, ebx
mov r15, rbx
cmp qword [rsp + 0x70], rbx
jle 0x14000919d
nop dword [rax]
mov dword [rbp + 0x20], 0x28
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
mov dword [rbp + 0x44], eax
lea rdx, [rbp + 0x20]
mov rcx, qword [r13 + r15*8]
call qword [sym.imp.USER32.dll_GetMonitorInfoA]
test eax, eax
je 0x140009820
mov edi, dword [rbp + 0x2c]
sub edi, dword [rbp + 0x24]
mov ebx, dword [rbp + 0x30]
sub ebx, dword [rbp + 0x28]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.DISPLAY
call qword [sym.imp.GDI32.dll_CreateDCA]
mov rsi, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbp - 0x10], rax
mov r8d, ebx
mov edx, edi
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r12, rax
mov rdx, rax
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x40], 0xcc0020
mov ecx, dword [rbp + 0x28]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x24]
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], ebx
mov r9d, edi
xor r8d, r8d
xor edx, edx
mov rdi, qword [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
xor ebx, ebx
mov dword [rbp - 8], ebx
mov dword [rbp - 0x18], ebx
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [rbp - 0x18]
test eax, eax
je 0x140009353
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x140009351
mov r8, rax
mov edx, dword [rbp - 0x18]
mov ecx, dword [rbp - 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor eax, eax
mov r8d, eax
mov r10d, dword [rbp - 8]
test r10d, r10d
je 0x140009348
lea r11, str.image_jpeg
nop
mov eax, r8d
imul r9, rax, 0x68
mov rdx, qword [r9 + rbx + 0x40]
mov rax, 0xffffffffffffffff
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r11 + rax*2 + 2]
jne 0x140009335
add rax, 2
cmp rax, 0xb
je 0x14000933f
movzx ecx, word [rdx + rax*2]
cmp cx, word [r11 + rax*2]
je 0x140009313
inc r8d
cmp r8d, r10d
jae 0x140009348
jmp 0x140009300
movups xmm0, xmmword [r9 + rbx]
movups xmmword [rbp + 0x68], xmm0
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor ebx, ebx
lea rdx, [rbp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0xa2]
mov r8d, r14d
test r14d, r14d
jns 0x1400093c0
neg r8d
nop word [rax + rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x140009380
add r9, 0xfffffffffffffffe
mov word [r9], 0x2d
jmp 0x1400093f0
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400093c0
lea r8, [rbp + 0xa2]
mov rdx, r9
lea rcx, [rbp - 0x38]
call fcn.14000ab90
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rbp + 0xb0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140009424
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x140009866
mov qword [rsp + 0x68], 7
cmp rbx, 8
jae 0x140009478
mov qword [rsp + 0x60], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rsp + rbx + 0x50], ax
jmp 0x140009537
mov rsi, rbx
or rsi, 7
cmp rsi, rax
jbe 0x140009497
mov rsi, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x1400094c7
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140009860
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400094f3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140009860
mov rcx, rax
call fcn.14000b8d0
test rax, rax
je 0x140009836
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140009504
test rcx, rcx
je 0x1400094ff
call fcn.14000b8d0
jmp 0x140009501
xor eax, eax
mov rdi, rax
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0xb0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rdi], ax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rbp - 0x10]
lea rdx, str.screenshot_
lea rcx, [rsp + 0x50]
call fcn.14000a8e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
lea rcx, [rbp - 0x78]
call fcn.14000a970
nop
lea rdx, str..jpg
lea rcx, [rbp - 0x78]
call fcn.14000a8e0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1400095f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400095f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000983d
call fcn.14000b914
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], 7
mov word [rbp - 0x78], bx
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x140009648
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009844
call fcn.14000b914
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14000968a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009685
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000984b
call fcn.14000b914
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x1400096dd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400096d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009852
call fcn.14000b914
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
je 0x14000972d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rbx], rax
xor eax, eax
mov qword [rbp - 0x10], rax
lea r8, [rbp - 0x10]
xor edx, edx
mov rcx, r12
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [rbx + 0x10], eax
mov rax, qword [rbp - 0x10]
mov qword [rbx + 8], rax
jmp 0x140009730
mov rbx, rax
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
xor r9d, r9d
lea r8, [rbp + 0x68]
mov rcx, qword [rbx + 8]
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x140009756
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
mov rdx, qword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteDC]
lea rdx, str.Screenshot
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a590
mov edx, r14d
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._captured_and_saved_as
call fcn.14000a590
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
mov rcx, rax
call fcn.14000ace0
lea rdx, [0x14000a770]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x140009820
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000981b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009859
call fcn.14000b914
inc r14d
inc r15
cmp r15, qword [rsp + 0x70]
jge 0x14000919d
jmp 0x1400091f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001120
int3
call fcn.1400011c0
int3