Function at 0x140044e40
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov r15, rcx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov qword [rsp + 0x78], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
mov edx, 8
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ebx, eax
mov edx, 0xa
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
mov dword [rbp + 0x108], eax
mov r8d, eax
mov edx, ebx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp + 0x110], rax
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp + 0x118], rax
mov dword [rsp + 0x40], 0xcc0020
xor r13d, r13d
mov dword [rsp + 0x38], r13d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov dword [rbp - 0x80], Ordinal_45
mov dword [rbp - 0x7c], ebx
mov eax, esi
neg eax
mov dword [rbp - 0x78], eax
mov qword [rbp - 0x74], 0x200001
mov dword [rbp - 0x6c], r13d
mov eax, esi
imul eax, ebx
shl eax, 2
movsxd r14, eax
movdqu xmmword [rsp + 0x50], xmm0
mov edi, r13d
mov qword [rsp + 0x60], r13
mov esi, r13d
test eax, eax
je 0x140044f75
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14006e850
mov rbx, qword [rsp + 0x50]
lea rsi, [r14 + rbx]
mov r8, r14
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov r14, rsi
mov qword [rsp + 0x58], rsi
mov r13d, ebx
mov rdi, qword [rsp + 0x60]
jmp 0x140044f7f
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov dword [rsp + 0x30], 0
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, dword [rbp + 0x108]
xor r8d, r8d
mov rdx, qword [rbp + 0x110]
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetDIBits]
mov dword [rsp + 0x72], Ordinal_60
sub esi, r13d
add esi, 0x36
mov dword [rsp + 0x6a], esi
mov eax, 0x4d42
mov word [rsp + 0x68], ax
cmp qword [r15 + 0x18], 0xf
jbe 0x140044fd5
mov r15, qword [r15]
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.14003a780
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
cmp qword [rbp + 0x38], 0
jne 0x140045016
xor sil, sil
jmp 0x1400450b3
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov r8d, Ordinal_45
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
sub r14, rbx
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x50]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x48]
call fcn.14003ac90
test rax, rax
jne 0x14004507d
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rdx, qword [rbp + 0x118]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, qword [rbp + 0x110]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov sil, 1
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x50], r15
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call fcn.14003a710
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rbx, rbx
je 0x14004512b
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x140045120
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045120
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rdi
mov rcx, rbx
call fcn.140084f34
movzx eax, sil
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret