Function at 0x14013e160
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x140351248]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r15, rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
xor ebx, ebx
mov edi, ebx
mov qword [rsp + 0x40], rbx
mov qword [rbp + 0x88], rbx
mov qword [rbp + 0x98], rbx
mov qword [rbp + 0xa0], SafeArrayLock
mov byte [rbp + 0x88], bl
lea r8d, [rbx + 0x4a]
lea rdx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisdata_
lea rcx, [rbp + 0x88]
call fcn.1400cf260
lea r8d, [rbx + 1]
lea rdx, [0x14026f3e0]
lea rcx, [rbp + 0x88]
call fcn.1400cf260
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], rbx
lea rsi, [rbp + 0x88]
mov r13, qword [rbp + 0x88]
mov r12, qword [rbp + 0xa0]
cmp r12, 0x10
cmovae rsi, r13
movabs rax, 0x7fffffffffffffff
mov r14, qword [rbp + 0x98]
cmp r14, 0x10
jae 0x14013e246
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x78], xmm0
lea ebx, [rdi + 0xf]
jmp 0x14013e270
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400b88d0
mov qword [rbp - 0x78], rax
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rax
call fcn.1401f7750
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], rbx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xa8]
call fcn.1401b5d80
nop
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 8
cmovae rcx, qword [rbp + 0xa8]
lea rdx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x70]
mov rcx, r15
call fcn.14013ec10
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x14013e2f2
mov r15, qword [rax]
mov qword [rsp + 0x30], r15
mov r14, qword [rax + 8]
mov qword [rsp + 0x38], r14
mov rdi, qword [rax + 0x10]
mov qword [rsp + 0x40], rdi
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
jmp 0x14013e2fe
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], r15
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14013e3b1
mov rsi, qword [rsp + 0x78]
cmp rbx, rsi
je 0x14013e379
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14013e35c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14013e355
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14013eb44
mov rcx, r8
call fcn.1401bfb10
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x14013e320
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14013e3a9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb44
mov rcx, rbx
call fcn.1401bfb10
mov rax, r14
sub rax, r15
sar rax, 5
test rax, rax
je 0x14013eb4a
mov rcx, r15
mov rbx, r15
mov rsi, qword [r15 + 0x18]
cmp rsi, 0x10
jb 0x14013e3d7
mov rcx, qword [r15]
mov r15, qword [r15 + 0x10]
cmp r15, 0xa
jne 0x14013e46b
mov r8, r15
lea rdx, [0x140277f10]
call fcn.1401f7650
test eax, eax
jne 0x14013e46b
xor esi, esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], SafeArrayLock
lea ecx, [rax + 0x40]
call fcn.1400b88d0
mov rcx, rax
mov qword [rbp - 0x28], 0x32
mov qword [rbp - 0x20], 0x3f
movups xmm0, xmmword [str._AsusSystemAnalysisService__DeleteFile__OPEN_ERROR]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140277f30]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x140277f40]
movups xmmword [rax + 0x20], xmm0
movzx eax, word [0x140277f50]
mov word [rcx + 0x30], ax
mov byte [rcx + 0x32], sil
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x38]
call fcn.1401626a0
mov r15, qword [rsp + 0x20]
jmp 0x14013ea21
mov rdx, rbx
cmp rsi, 0x10
jb 0x14013e47c
mov rdx, qword [rsp + 0x20]
mov rdx, qword [rdx]
xor esi, esi
cmp r15, 5
jne 0x14013e521
mov ecx, esi
lea r8, str.EMPTY
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x14013e4a9
cmp rcx, 5
jne 0x14013e491
mov eax, esi
jmp 0x14013e4ae
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14013e521
cmp rbx, r14
je 0x14013e512
nop word [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14013e4fa
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14013e4f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14013eb50
mov rcx, r8
call fcn.1401bfb10
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayLock
mov byte [rbx], sil
add rbx, 0x20
cmp rbx, r14
jne 0x14013e4c0
mov r15, qword [rsp + 0x20]
mov r14, r15
mov qword [rsp + 0x38], r15
jmp 0x14013e526
mov r15, qword [rsp + 0x20]
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x40], SafeArrayLock
mov qword [rbp + 0x38], 7
mov eax, dword [str.BGFS.db]
mov dword [rbp + 0x28], eax
movzx eax, word [0x14026cd0c]
mov word [rbp + 0x2c], ax
movzx eax, byte [0x14026cd0e]
mov byte [rbp + 0x2e], al
mov byte [rbp + 0x2f], 0
cmp r14, rdi
je 0x14013e586
movups xmm0, xmmword [rbp + 0x28]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x38]
movups xmmword [r14 + 0x10], xmm1
mov edx, SafeArrayGetLBound
mov byte [rbp + 0x28], 0
add r14, 0x20
mov qword [rsp + 0x38], r14
jmp 0x14013e5af
lea r8, [rbp + 0x28]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.14013d880
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x20], r15
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x14013e5e6
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013e5e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb50
call fcn.1401bfb10
mov byte [rbp + 0x28], 0
mov rax, qword [rsp + 0x28]
cmp rax, 0xffffffffffffffff
je 0x14013e9f1
lea rdx, [rbp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14013e9df
movabs rbx, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
nop word [rax + rax]
test byte [rbp + 0xd0], 0x10
jne 0x14013e9b2
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], 7
mov word [rbp + 0x68], si
lea rax, [rbp + 0xfc]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14013e662
lea rdx, [rbp + 0xfc]
lea rcx, [rbp + 0x68]
call fcn.1400cf720
nop
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea rsi, [rbp + 0x68]
mov r12, qword [rbp + 0x68]
cmp qword [rbp + 0x80], 8
cmovae rsi, r12
mov rdi, qword [rbp + 0x78]
cmp rdi, 8
jae 0x14013e6c3
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
jmp 0x14013e71f
or rdi, 7
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
cmp rcx, r13
ja 0x14013eb6e
lfence
add rcx, rcx
call fcn.1400b88d0
mov qword [rsp + 0x50], rax
mov rbx, qword [rbp + 0x78]
lea r8, [rbx*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.1401f7750
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov qword [rsp + 0x20], r15
mov r12, qword [rbp + 0x68]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x48]
call fcn.1401b68c0
nop
mov rbx, r15
mov rsi, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x48]
cmp r15, r14
je 0x14013e784
mov r15, qword [rbp + 0x58]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x48]
cmp rsi, 0x10
cmovae rdx, rdi
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14013e769
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, r15
jne 0x14013e77b
call fcn.1401f7650
test eax, eax
je 0x14013e784
add rbx, 0x20
cmp rbx, r14
jne 0x14013e750
cmp rbx, r14
jne 0x14013e917
xor ebx, ebx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], SafeArrayLock
mov byte [rbp + 8], bl
lea r8d, [rbx + 0x4a]
lea rdx, str.C:ProgramDataASUSASUS_System_Control_InterfaceAsusSystemAnalysisdata_
lea rcx, [rbp + 8]
call fcn.1400cf260
lea rdx, [rbp + 0x48]
cmp qword [rbp + 0x60], 0x10
cmovae rdx, qword [rbp + 0x48]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14013e7d0
lea rcx, [rbp + 8]
call fcn.1400cf260
lea rcx, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae rcx, qword [rbp + 8]
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
mov r13, qword [rbp + 0x18]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x27
jb 0x14013eb5c
lea r15, [rbp + 8]
cmp qword [rbp + 0x20], 0x10
cmovae r15, qword [rbp + 8]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
lea rsi, [r13 + 0x27]
mov ebx, SafeArrayGetLBound
lea rdi, [rbp - 0x58]
cmp rsi, rbx
jbe 0x14013e86e
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x14013e851
mov rbx, rcx
jmp 0x14013e85e
cmp rbx, 0x16
mov eax, SafeArrayPutElement
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.1400b88d0
mov rdi, rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x40], rbx
movups xmm0, xmmword [str._AsusSystemAnalysisService__DeleteFile_]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140277f70]
movups xmmword [rdi + 0x10], xmm1
mov eax, dword [0x140277f80]
mov dword [rdi + 0x20], eax
movzx eax, word [0x140277f84]
mov word [rdi + 0x24], ax
movzx eax, byte [0x140277f86]
mov byte [rdi + 0x26], al
lea rcx, [rdi + 0x27]
mov r8, r13
mov rdx, r15
call fcn.1401f7750
mov byte [rdi + rsi], 0
lea rcx, [rbp - 0x58]
call fcn.140162100
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x14013e901
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013e8fc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb56
call fcn.1401bfb10
mov byte [rbp + 8], 0
mov rsi, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x48]
movabs r13, 0x7fffffffffffffff
cmp rsi, 0x10
jb 0x14013e94e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14013e946
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb62
mov rcx, rdi
call fcn.1401bfb10
xor esi, esi
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], SafeArrayLock
mov byte [rbp + 0x48], sil
mov rax, qword [rbp + 0x80]
cmp rax, 8
jb 0x14013e9a3
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x14013e99b
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb68
mov rcx, r12
call fcn.1401bfb10
movabs rbx, 0x7ffffffffffffffe
mov r15, qword [rsp + 0x20]
lea rdx, [rbp + 0xd0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14013e630
mov rdi, qword [rsp + 0x40]
mov r12, qword [rbp + 0xa0]
mov r13, qword [rbp + 0x88]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
jmp 0x14013ea21
mov qword [rbp - 0x18], rsi
mov qword [rbp - 8], rsi
mov qword [rbp], 7
mov r8d, SafeArrayPutElement
lea rdx, str.Can_not_open_the_path___n
lea rcx, [rbp - 0x18]
call fcn.1400cf720
lea rcx, [rbp - 0x18]
call fcn.140162a30
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x14013ea67
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013ea62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb74
call fcn.1401bfb10
xor eax, eax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], ax
cmp r12, 0x10
jb 0x14013eabb
lea rdx, [r12 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x14013eab2
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb7a
mov rcx, r13
call fcn.1401bfb10
nop
test r15, r15
je 0x14013eb0c
mov rbx, r15
cmp r15, r14
je 0x14013ead9
mov rcx, rbx
call fcn.1400c2b80
add rbx, 0x20
cmp rbx, r14
jne 0x14013eac8
sub rdi, r15
and rdi, 0xffffffffffffffe0
mov rax, r15
cmp rdi, 0x1000
jb 0x14013eb01
add rdi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013eb3e
mov rdx, rdi
mov rcx, r15
call fcn.1401bfb10
mov eax, esi
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1401c0070
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.1401455d0
int3
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.1400cf1a0
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call fcn.1400cf010
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3