Function at 0x140002aa0
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 - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x1400cd080]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x140422880], xmm0
movups xmmword [0x140422890], xmm0
movups xmmword [0x1404228a0], xmm0
movups xmmword [0x1404228b0], xmm0
movups xmmword [0x1404228c0], xmm0
movups xmmword [0x1404228d0], xmm0
mov dword [0x1404228e0], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x66666667
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*4]
shl ecx, 2
sub r8d, ecx
add r8d, 0xa
movsxd rdi, r8d
lea rsi, [0x140422880]
test r8d, r8d
jle 0x140002b8a
mov ebx, r12d
movabs r14, 0x4ec4ec4ec4ec4ec5
lea r15, str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 4
imul rax, rdx, 0x34
sub rcx, rax
movzx eax, byte [rcx + r15]
mov byte [rbx + rsi], al
inc rbx
cmp rbx, rdi
jl 0x140002b60
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1b0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x103
ja 0x140003333
lea rcx, [rbp + 0x1b0]
mov rbx, 0xffffffffffffffff
mov rax, rbx
nop
inc rax
cmp byte [rcx + rax], r12b
jne 0x140002bd0
cmp byte [rbp + rax + 0x1af], 0x5c
jne 0x140002bfa
dec rax
cmp rax, 0x104
jae 0x140003434
mov byte [rbp + rax + 0x1b0], r12b
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
lea rax, [rbp + 0x1b0]
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x140002c20
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0xf0]
call fcn.140008a60
nop
mov r8d, 1
lea rdx, [0x1400b17d0]
lea rcx, [rbp + 0xf0]
call fcn.1400075a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140002c87
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400075a0
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], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140002d0d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d470
movdqa xmm0, xmmword [0x1400bd0f0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x140002d64
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d5f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d470
movdqa xmm0, xmmword [0x1400bd0f0]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rdx, qword [rbp - 0x40]
mov r8d, Ordinal_35
lea rcx, [rbp - 0x20]
call fcn.140006fb0
nop
mov r8d, 0x8708
lea rdx, [0x1400b1d80]
lea rcx, [rbp - 0x20]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
lea rcx, [rbp - 0x18]
test al, al
je 0x140002fd8
call fcn.1400073a0
test rax, rax
jne 0x140002e18
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.140006f40
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movabs rax, 0xfc4ccf4289244aef
mov qword [rbp + 0x160], rax
movabs rax, 0x2914fb93a8220a24
mov qword [rbp + 0x168], rax
movabs rax, 0xabfdb328933d50f9
mov qword [rbp + 0x170], rax
movabs rax, 0xbf3afd91c7eff46
mov qword [rbp + 0x178], rax
movabs rax, 0x1e88d616d8e91f03
mov qword [rbp + 0x180], rax
movabs rax, 0x180f20575aac11d8
mov qword [rbp + 0x188], rax
movabs rax, 0x9025ae04a97967b4
mov qword [rbp + 0x110], rax
movabs rax, 0x5b77dbfcdc026e41
mov qword [rbp + 0x118], rax
movabs rax, 0xc788c508f649319c
mov qword [rbp + 0x120], rax
movabs rax, 0x2b96c3bb7d0c9a28
mov qword [rbp + 0x128], rax
movabs rax, 0x78a8a473ae806d67
mov qword [rbp + 0x130], rax
movabs rax, 0x180f20575ac97db1
mov qword [rbp + 0x138], rax
movups xmm1, xmmword [rbp + 0x110]
movups xmm2, xmmword [rbp + 0x120]
movups xmm3, xmmword [rbp + 0x130]
movdqa xmm0, xmmword [rbp + 0x160]
xorps xmm0, xmm1
movdqa xmmword [rbp + 0x110], xmm0
xorps xmm2, xmmword [rbp + 0x170]
movdqa xmmword [rbp + 0x120], xmm2
xorps xmm3, xmmword [rbp + 0x180]
movdqa xmmword [rbp + 0x130], xmm3
lea rdx, [rbp + 0x110]
mov rcx, qword [0x1400a3630]
call fcn.140007680
lea rdx, [0x140007850]
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]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140003402
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003275
call fcn.14009d470
jmp 0x140003402
call fcn.1400073a0
test rax, rax
jne 0x140002fff
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.140006f40
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x40]
call fcn.140036210
test al, al
movabs rax, 0xfc4ccf4289244aef
jne 0x140003280
mov qword [rbp + 0x110], rax
movabs rax, 0x2914fb93a8220a24
mov qword [rbp + 0x118], rax
movabs rax, 0xabfdb328933d50f9
mov qword [rbp + 0x120], rax
movabs rax, 0xbf3afd91c7eff46
mov qword [rbp + 0x128], rax
movabs rax, 0x1e88d616d8e91f03
mov qword [rbp + 0x130], rax
movabs rax, 0x180f20575aac11d8
mov qword [rbp + 0x138], rax
movabs rax, 0xb5cec15cef47e32d
mov qword [rbp + 0x140], rax
movabs rax, 0x937cb37d82d1f27a
mov qword [rbp + 0x148], rax
movabs rax, 0xb41d626a53d6e8b7
mov qword [rbp + 0x150], rax
movabs rcx, 0xb4466e7b800fd76c
mov qword [rbp + 0x158], rcx
movabs rax, 0x9025ae04a97967b4
mov qword [rbp + 0x160], rax
movabs rax, 0x4c66dbfcdc026e41
mov qword [rbp + 0x168], rax
movabs rax, 0xcaddc14de74e399e
mov qword [rbp + 0x170], rax
movabs rax, 0x7f81cead6f5e9b28
mov qword [rbp + 0x178], rax
movabs rax, 0x7bebbf60aa8c6c23
mov qword [rbp + 0x180], rax
movabs rax, 0x7d67547728c377f8
mov qword [rbp + 0x188], rax
movabs rax, 0xd4bca4328332950d
mov qword [rbp + 0x190], rax
movabs rax, 0xe515c119a2b49e18
mov qword [rbp + 0x198], rax
movabs rax, 0xb41d626a53d69ad2
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rcx
movups xmm1, xmmword [rbp + 0x170]
movups xmm2, xmmword [rbp + 0x180]
movups xmm3, xmmword [rbp + 0x190]
movups xmm4, xmmword [rbp + 0x1a0]
movdqa xmm0, xmmword [rbp + 0x110]
xorps xmm0, xmmword [rbp + 0x160]
movdqa xmmword [rsp + 0x70], xmm0
xorps xmm1, xmmword [rbp + 0x120]
movdqa xmmword [rbp - 0x80], xmm1
xorps xmm2, xmmword [rbp + 0x130]
movdqa xmmword [rbp - 0x70], xmm2
xorps xmm3, xmmword [rbp + 0x140]
movdqa xmmword [rbp - 0x60], xmm3
xorps xmm4, xmmword [rbp + 0x150]
movdqa xmmword [rbp - 0x50], xmm4
lea rdx, [rsp + 0x70]
mov rcx, qword [0x1400a3630]
call fcn.140007680
lea rdx, [0x140007850]
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]
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0x10
cmovae rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140003402
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002fce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop dword [rax]
mov qword [rbp + 0xf0], rax
movabs rax, 0x2914fb93a8220a24
mov qword [rbp + 0xf8], rax
movabs rcx, 0xfc20ae0cd50a16b3
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rax
movdqa xmm0, xmmword [rbp + 0xf0]
xorps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x14000332b
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003326
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14009d470
mov rax, rbx
jmp 0x140003404
movabs rax, 0xfc4ccf4289244aef
mov qword [rbp + 0xf0], rax
movabs rax, 0x2914fb93a8220a24
mov qword [rbp + 0xf8], rax
movabs rax, 0xabfdb328933d50f9
mov qword [rbp + 0x100], rax
movabs rax, 0xbf3afd91c7eff46
mov qword [rbp + 0x108], rax
movabs rax, 0x9025ae04a97967b4
mov qword [rsp + 0x40], rax
movabs rax, 0x4c73dbfcdc026e41
mov qword [rsp + 0x48], rax
movabs rax, 0xdbddc345f649708d
mov qword [rsp + 0x50], rax
movabs rax, 0xbf3afd91c168b27
mov qword [rsp + 0x58], rax
movups xmm1, xmmword [rsp + 0x40]
movups xmm2, xmmword [rsp + 0x50]
movdqa xmm0, xmmword [rbp + 0xf0]
xorps xmm0, xmm1
movdqa xmmword [rbp + 0x110], xmm0
xorps xmm2, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x120], xmm2
lea rdx, [rbp + 0x110]
mov rcx, qword [0x1400a3630]
call fcn.140007680
lea rdx, [0x140007850]
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]
xor eax, eax
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14009d450
lea r11, [rsp + 0x3d0]
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.14009d6a8
int3