Function at 0x140127670
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 [0x1402be5c8]
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.1401cff00
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 0x140127710
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 0x14012777d
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.1401cf850
mov word [rbx + rdi*2], r15w
lea rdi, [rsp + 0x38]
jmp 0x1401277a5
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 0x1401277bf
mov rdi, qword [rdi]
movabs r12, 0x7ffffffffffffffe
cmp rsi, 8
jae 0x1401277e0
movups xmm0, xmmword [rdi]
movaps xmmword [rbp - 0x20], xmm0
mov qword [rbp - 8], 7
jmp 0x140127816
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.1401cf850
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 0x140127840
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 0x1401278ad
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.1401cf850
mov word [rbx + rdi*2], r15w
lea rdi, [rsp + 0x60]
jmp 0x1401278d5
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 0x1401278ef
mov rdi, qword [rdi]
cmp rsi, 8
jae 0x140127906
movups xmm0, xmmword [rdi]
movaps xmmword [rbp], xmm0
mov qword [rbp + 0x18], 7
jmp 0x14012793c
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.1401cf850
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 0x140127990
mov qword [rbp - 0x30], rbx
lea r9, [fcn.140023a10]
mov edx, 0x20
lea r8d, [rdx - 0x1e]
lea rcx, [rbp - 0x20]
call fcn.1401a9740
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140127a10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140127a0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127f68
call fcn.1401a9460
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r15w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140127a66
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140127a61
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127f6e
call fcn.1401a9460
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.1401a9704
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 0x140127eeb
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140127ac0
mov rcx, qword [rbx]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp - 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x140127ed5
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140127ae5
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.140064710
cmp rax, rbx
je 0x140127b8d
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x140127b4a
cmp cx, 0x2f
jne 0x140127b50
add rax, 2
jmp 0x140127b36
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140127b6d
cmp cx, 0x2f
je 0x140127b6d
mov rbx, rdx
cmp rax, rdx
je 0x140127b8d
jmp 0x140127b50
cmp rax, rbx
je 0x140127b8d
lea rdx, [rbx - 2]
movzx ecx, word [rdx]
cmp cx, 0x5c
je 0x140127b85
cmp cx, 0x2f
jne 0x140127b8d
mov rbx, rdx
cmp rax, rdx
jne 0x140127b72
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 0x140127beb
movups xmm0, xmmword [rbx]
movups xmmword [rbp + 0x20], xmm0
mov r13d, 7
mov r15, qword [rbp + 0x20]
jmp 0x140127c2a
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.1401cf850
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 0x140127c72
xor esi, esi
cmp rax, 1
jb 0x140127f62
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 0x140127ced
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x140127cbc
mov rbx, rcx
jmp 0x140127cc9
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.1401cf850
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 0x140127d23
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 0x140127dad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140127da8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127f74
call fcn.1401a9460
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 0x140127f55
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 0x140127e65
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140127e60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127f7a
call fcn.1401a9460
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 0x140127c70
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp r13, 8
jb 0x140127ed1
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x140127ec9
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140127f80
mov rcx, r15
call fcn.1401a9460
mov rbx, qword [rbp - 0x80]
add rbx, 0x20
mov qword [rbp - 0x80], rbx
cmp rbx, qword [rbp - 0x58]
jne 0x140127ab3
mov rdi, qword [rbp - 0x48]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140127f12
lea rcx, [rbx + 0x10]
cmp qword [rcx + 0x18], 8
jb 0x140127f01
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rdi
jne 0x140127ef3
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.1401a9440
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.1401abf2c
nop
call fcn.1400153e0
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
int3