Function at 0x180052160
Capabilities:
Capture screenshot
Delete file
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x1800525c3
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rsp + 0x70], rax
mov edx, 8
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rsp + 0x64], eax
mov edx, 0xa
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [rsp + 0x60], eax
mov r8d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0xa0], rax
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x64]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_SelectObject]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x80]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
lea r8, [rsp + 0x80]
mov edx, 0x20
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_GetObjectA]
lea rax, [rsp + 0x1d0]
mov rdi, rax
xor eax, eax
mov ecx, 0xe
rep stosb byte [rdi], al
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
mov eax, 0x4d42
mov word [rsp + 0x1d0], ax
mov eax, dword [rsp + 0x84]
imul eax, dword [rsp + 0x88]
shl eax, 2
cdqe
add rax, 0x36
mov dword [rsp + 0x1d2], eax
xor eax, eax
mov word [rsp + 0x1d6], ax
xor eax, eax
mov word [rsp + 0x1d8], ax
mov dword [rsp + 0x1da], 0x36
mov dword [rsp + 0x1e0], 0x28
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x1e4], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x1e8], eax
mov eax, 1
mov word [rsp + 0x1ec], ax
movzx eax, word [rsp + 0x92]
mov word [rsp + 0x1ee], ax
mov dword [rsp + 0x1f0], 0
mov dword [rsp + 0x1f4], 0
mov dword [rsp + 0x1f8], 0
mov dword [rsp + 0x1fc], 0
mov dword [rsp + 0x200], 0
mov dword [rsp + 0x204], 0
mov eax, dword [rsp + 0x8c]
imul eax, dword [rsp + 0x88]
cdqe
mov rcx, rax
call fcn.180015b14
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x1e0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x88]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_GetDIBits]
nop
cmp dword [rsp + 0x228], 0
je 0x180052500
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
mov rdx, qword [rsp + 0x220]
lea rcx, [rsp + 0xc0]
call fcn.180007f00
nop
mov r8d, 0xe
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xc0]
call fcn.1800083d0
mov r8d, 0x28
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0xc0]
call fcn.1800083d0
movsxd rax, dword [rsp + 0x8c]
movsxd rcx, dword [rsp + 0x88]
imul rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xc0]
call fcn.1800083d0
lea rcx, [rsp + 0xc0]
call fcn.180007e20
nop
lea rcx, [rsp + 0xc0]
call fcn.180003900
nop
jmp 0x180052584
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xe
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x28
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x8c]
imul eax, dword [rsp + 0x88]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, qword [rsp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_DeleteDC]
nop
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.180015ad0
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.180015ab0
add rsp, 0x210
pop rdi
ret