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

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 - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x58], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x290]
call fcn.1401d04f0
mov edx, 0x104
lea rcx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
lea rax, [rbp + 0x290]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x140127e50
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x38]
call fcn.140018360
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x140127ebd
lea rdi, [rcx + 0xe]
mov qword [rsp + 0x48], rdi
lea rbx, [rsp + 0x38]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x38]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1c
lea rdx, str.AMDgpu_.log
call fcn.1401cfe40
mov word [rbx + rdi*2], r15w
lea rdi, [rsp + 0x38]
jmp 0x140127ee5
mov qword [rsp + 0x20], 0xe
lea r9, str.AMDgpu_.log
movzx r8d, byte [rsp + 0x30]
mov edx, 0xe
lea rcx, [rsp + 0x38]
call fcn.14002dc10
mov rdi, rax
mov qword [rbp - 0x20], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x140127eff
mov rdi, qword [rdi]
movabs r12, 0x7ffffffffffffffe
cmp rsi, 8
jae 0x140127f20
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], 7
jmp 0x140127f56
mov rbx, rsi
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x20]
call fcn.140023c30
mov qword [rbp - 0x20], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1401cfe40
mov qword [rbp - 8], rbx
mov qword [rbp - 0x10], rsi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
lea rax, [rbp + 0x290]
mov r8, r13
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140127f80
lea rdx, [rbp + 0x290]
lea rcx, [rsp + 0x60]
call fcn.140018360
nop
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 0xe
jb 0x140127fed
lea rdi, [rcx + 0xe]
mov qword [rsp + 0x70], rdi
lea rbx, [rsp + 0x60]
cmp rdx, 8
cmovae rbx, qword [rsp + 0x60]
lea rcx, [rbx + rcx*2]
mov r8d, 0x1c
lea rdx, str.AMDgpu_.cfg
call fcn.1401cfe40
mov word [rbx + rdi*2], r15w
lea rdi, [rsp + 0x60]
jmp 0x140128015
mov qword [rsp + 0x20], 0xe
lea r9, str.AMDgpu_.cfg
movzx r8d, byte [rsp + 0x30]
mov edx, 0xe
lea rcx, [rsp + 0x60]
call fcn.14002dc10
mov rdi, rax
mov qword [rbp], r15
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x10], xmm0
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14012802f
mov rdi, qword [rdi]
cmp rsi, 8
jae 0x140128046
movups xmm0, xmmword [rdi]
movaps xmmword [rbp], xmm0
mov qword [rbp + 0x18], 7
jmp 0x14012807c
mov rbx, rsi
or rbx, 7
cmp rbx, r12
cmova rbx, r12
lea rdx, [rbx + 1]
lea rcx, [rbp]
call fcn.140023c30
mov qword [rbp], rax
lea r8, [rsi*2 + 2]
mov rdx, rdi
mov rcx, rax
call fcn.1401cfe40
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x10], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], r15
mov edx, 2
lea rcx, [rbp - 0x38]
call fcn.140022470
mov rbx, rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
lea rcx, [rax + 0x40]
mov qword [rbp - 0x28], rcx
lea rax, [rbp - 0x38]
mov qword [rbp - 0x58], rax
lea rdi, [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
lea rax, [rbp - 0x38]
mov qword [rbp - 0x60], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140018e70
add rbx, 0x20
mov qword [rbp - 0x68], rbx
add rdi, 0x20
lea rax, [rbp + 0x20]
cmp rdi, rax
jne 0x1401280d0
mov qword [rbp - 0x30], rbx
lea r9, [fcn.140023a10]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x20]
call fcn.1401a9d30
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140128150
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14012814b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401286a8
call fcn.1401a9a50
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1401281a6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401281a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401286ae
call fcn.1401a9a50
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], r15w
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x48], xmm1
mov ecx, 0x30
call fcn.1401a9cf4
mov rdi, rax
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp - 0x38]
mov qword [rbp - 0x80], rbx
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x58], rax
cmp rbx, rax
je 0x14012862b
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140128200
mov rcx, qword [rbx]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp - 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140128615
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140128225
mov rdx, qword [rbx]
xor esi, esi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x60]
call fcn.140018360
or r14d, 3
lea rdi, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
lea rbx, [rdi + rax*2]
mov rdx, rbx
mov rcx, rdi
call fcn.140064d10
cmp rax, rbx
je 0x1401282cd
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14012828a
cmp cx, 0x2f
jne 0x140128290
add rax, 2
jmp 0x140128276
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1401282ad
cmp cx, 0x2f
je 0x1401282ad
mov rbx, rdx
cmp rax, rdx
je 0x1401282cd
jmp 0x140128290
cmp rax, rbx
je 0x1401282cd
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x1401282c5
cmp cx, 0x2f
jne 0x1401282cd
mov rbx, rdx
cmp rax, rdx
jne 0x1401282b2
sub rbx, rdi
sar rbx, 1
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], si
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140018360
nop
lea rbx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rbx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x48]
cmp r12, 8
jae 0x14012832b
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x20], xmm0
mov r13d, 7
mov r15, qword [rbp + 0x20]
jmp 0x14012836a
mov r13, r12
or r13, 7
movabs rax, 0x7ffffffffffffffe
cmp r13, rax
cmova r13, rax
lea rdx, [r13 + 1]
lea rcx, [rbp + 0x20]
call fcn.140023c30
mov r15, rax
mov qword [rbp + 0x20], rax
lea r8, [r12*2 + 2]
mov rdx, rbx
mov rcx, rax
call fcn.1401cfe40
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x30], r12
or r14d, 0x3c
mov dword [rsp + 0x58], r14d
lea rcx, [rsp + 0x38]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x60]
call fcn.1400272a0
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
mov qword [rbp - 0x78], rax
jmp 0x1401283b2
xor esi, esi
cmp rax, 1
jb 0x1401286a2
lea r14, [rbp + 0x20]
cmp r13, 8
cmovae r14, r15
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rsi, [r12 + 1]
mov ebx, 7
lea rdi, [rsp + 0x38]
cmp rsi, rbx
jbe 0x14012842d
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x1401283fc
mov rbx, rcx
jmp 0x140128409
cmp rbx, 0xa
mov eax, 0xa
cmovb rbx, rax
mov rdx, rbx
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140023c30
mov rdi, rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rbx
lea rbx, [r12 + r12]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call fcn.1401cfe40
mov eax, 0x5c
mov word [rbx + rdi], ax
xor ebx, ebx
mov word [rdi + rsi*2], bx
lea rax, [rbp + 0x6c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140128463
lea rdx, [rbp + 0x6c]
lea rcx, [rsp + 0x38]
call fcn.140023760
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov r14d, dword [rsp + 0x58]
or r14d, 0xc0
mov dword [rsp + 0x58], r14d
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1401284ed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401284e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401286b4
call fcn.1401a9a50
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bx
mov rdi, qword [rbp - 0x48]
movabs rax, 0x555555555555555
cmp qword [rbp - 0x40], rax
je 0x140128695
lea rax, [rbp - 0x48]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rbx
mov edx, 1
lea rcx, [rbp - 0x48]
call fcn.14002a180
mov rbx, rax
mov qword [rbp - 0x68], rax
lea rcx, [rax + 0x10]
lea rdx, [rbp - 0x20]
call fcn.140018e70
nop
inc qword [rbp - 0x40]
mov rcx, qword [rdi + 8]
mov qword [rbx], rdi
mov qword [rbx + 8], rcx
mov qword [rbp - 0x68], 0
mov qword [rdi + 8], rbx
mov qword [rcx], rbx
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1401285a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401285a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401286ba
call fcn.1401a9a50
lea rdx, [rbp + 0x40]
mov rsi, qword [rbp - 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov rax, qword [rbp - 0x78]
movabs rcx, 0x7ffffffffffffffe
jne 0x1401283b0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp r13, 8
jb 0x140128611
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140128609
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401286c0
mov rcx, r15
call fcn.1401a9a50
mov rbx, qword [rbp - 0x80]
add rbx, 0x20
mov qword [rbp - 0x80], rbx
cmp rbx, qword [rbp - 0x58]
jne 0x1401281f3
mov rdi, qword [rbp - 0x48]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140128652
lea rcx, [rbx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140128641
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140128633
lea rcx, [rbp - 0x48]
call fcn.140022320
nop
lea rcx, [rbp - 0x38]
call fcn.140022360
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x5b0]
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
lea rcx, str.list_too_long
call fcn.1401ac51c
nop
call fcn.1400153e0
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
nop
call fcn.1401e3dbc
int3