Function at 0x140045340
Capabilities:
Capture screenshot
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov r13, rcx
xor eax, eax
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], 0xf
mov byte [rbp + 0x40], al
lea ecx, [rax + 0x4c]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r14d, eax
mov ecx, 0x4d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
sub esi, r14d
sub ebx, edi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r15, rax
mov qword [rbp + 0x148], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
mov r8d, ebx
mov edx, esi
mov rcx, r15
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r15, rax
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rbp + 0x150], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r14d
mov r14, qword [rbp + 0x148]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
lea rax, vtable.ATL::CImage.0
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x20], 0xffffffff
xor esi, esi
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
mov qword [rbp - 8], rsi
call fcn.14003bdd0
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [rbx + 0x30]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov qword [rbp - 0x48], r15
lea r8, [rbp + 0x90]
lea edx, [rsi + 0x68]
mov rcx, r15
call qword [sym.imp.GDI32.dll_GetObjectA]
cmp eax, 0x68
jne 0x1400454ea
mov byte [rbp - 0x28], 1
mov ecx, dword [rbp + 0xb4]
mov dword [rbp - 0x38], ecx
mov r8d, dword [rbp + 0xb8]
mov eax, r8d
cdq
mov r9d, eax
xor r9d, edx
sub r9d, edx
mov dword [rbp - 0x34], r9d
movzx eax, word [rbp + 0xbe]
mov dword [rbp - 0x2c], eax
imul eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [rbp - 0x30], eax
mov r10, qword [rbp + 0xa8]
mov qword [rbp - 0x40], r10
test r8d, r8d
jle 0x140045511
lea ecx, [r9 - 1]
imul ecx, eax
movsxd rdx, ecx
add rdx, r10
mov qword [rbp - 0x40], rdx
neg eax
mov dword [rbp - 0x30], eax
jmp 0x140045511
mov byte [rbp - 0x28], 0
mov eax, dword [rbp + 0x94]
mov dword [rbp - 0x38], eax
mov eax, dword [rbp + 0x98]
mov dword [rbp - 0x34], eax
movzx eax, word [rbp + 0xa2]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x24], 0xffffffff
mov byte [rbp - 0x27], 0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.140045160
nop
mov rdx, qword [rbp + 0x150]
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, r12
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x78]
cmp rcx, rax
jne 0x140045580
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
jmp 0x140045648
mov dword [rbp + 0x148], esi
sub rax, rcx
lea rdx, [rbp + 0x148]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8d, 0x40000001
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x14004580b
mov eax, dword [rbp + 0x148]
cmp eax, 1
jb 0x14004580b
lea edx, [rax - 1]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rcx, [rsp + 0x50]
call fcn.1400681d0
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r9, qword [rsp + 0x50]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
sub rax, rcx
lea rdx, [rbp + 0x148]
mov qword [rsp + 0x20], rdx
mov r8d, 0x40000001
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x1400457ea
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x68], xmm1
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
movabs rax, 0x1a25b38756fe81a5
mov qword [rbp + 0x20], rax
movabs rax, 0x49ac662274f13eb6
mov qword [rbp + 0x28], rax
movabs rax, 0x650edc65a89dcd67
mov qword [rbp + 0x30], rax
movabs rcx, 0x3de9fd882aabe0c8
mov qword [rbp + 0x38], rcx
movabs rax, 0x7b48dabd378ae0c1
mov qword [rbp], rax
movabs rax, 0x2b97014c04de5bd1
mov qword [rbp + 8], rax
movabs rax, 0x650ef0519ef8be06
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rcx
movdqa xmm0, xmmword [rbp]
pxor xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp], xmm0
movdqa xmm1, xmmword [rbp + 0x10]
pxor xmm1, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x10], xmm1
lea r8, [rbp - 0x78]
lea rdx, [rbp]
mov rcx, r13
call fcn.140068840
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x14004571b
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045716
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045716
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006be08
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140045776
mov rdx, qword [rbp - 0x80]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140045764
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140045764
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006be08
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
test r15, r15
je 0x140045784
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
call fcn.14003bdd0
mov rbx, rax
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub dword [rbx + 0x30], 1
jne 0x1400457c1
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400457b4
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov qword [rbx], rsi
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rax, r13
mov rbx, qword [rsp + 0x240]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.CryptBinaryToStringA___failed
lea rcx, [rbp + 0x60]
call fcn.14003bcc0
lea rdx, [0x140197140]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, str.CryptBinaryToStringA___failed
lea rcx, [rbp + 0x78]
call fcn.14003bcc0
lea rdx, [0x140197140]
lea rcx, [rbp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3