Function at 0x140159290
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 [0x14039a678]
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], SafeArrayPutElement
mov byte [rbp + 0x88], bl
lea r8d, [rbx + 0x4a]
lea rdx, [0x14029af40]
lea rcx, [rbp + 0x88]
call fcn.1400e7f00
lea r8d, [rbx + 1]
lea rdx, [0x14029da60]
lea rcx, [rbp + 0x88]
call fcn.1400e7f00
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 0x140159376
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x78], xmm0
lea ebx, [rdi + 0xf]
jmp 0x1401593a0
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
mov qword [rbp - 0x78], rax
lea r8, [r14 + 1]
mov rdx, rsi
mov rcx, rax
call fcn.14021bb20
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], rbx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0xa8]
call fcn.1401d99b0
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.140159d40
lea rcx, [rsp + 0x30]
cmp rcx, rax
je 0x140159422
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 0x14015942e
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 0x1401594e1
mov rsi, qword [rsp + 0x78]
cmp rbx, rsi
je 0x1401594a9
nop dword [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14015948c
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140159485
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140159c74
mov rcx, r8
call fcn.1401e3784
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], 0
add rbx, 0x20
cmp rbx, rsi
jne 0x140159450
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x1401594d9
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159c74
mov rcx, rbx
call fcn.1401e3784
mov rax, r14
sub rax, r15
sar rax, 5
test rax, rax
je 0x140159c7a
mov rcx, r15
mov rbx, r15
mov rsi, qword [r15 + 0x18]
cmp rsi, 0x10
jb 0x140159507
mov rcx, qword [r15]
mov r15, qword [r15 + 0x10]
cmp r15, 0xa
jne 0x14015959b
mov r8, r15
lea rdx, [0x1402a6a50]
call fcn.14021ba20
test eax, eax
jne 0x14015959b
xor esi, esi
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], SafeArrayGetLBound
lea ecx, [rax + 0x40]
call fcn.1400d1570
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 [0x1402a6a70]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1402a6a80]
movups xmmword [rax + 0x20], xmm0
movzx eax, word [0x1402a6a90]
mov word [rcx + 0x30], ax
mov byte [rcx + 0x32], sil
mov qword [rbp - 0x38], rcx
lea rcx, [rbp - 0x38]
call fcn.14017f050
mov r15, qword [rsp + 0x20]
jmp 0x140159b51
mov rdx, rbx
cmp rsi, 0x10
jb 0x1401595ac
mov rdx, qword [rsp + 0x20]
mov rdx, qword [rdx]
xor esi, esi
cmp r15, 5
jne 0x140159651
mov ecx, esi
lea r8, str.EMPTY
movzx eax, byte [rdx + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x1401595d9
cmp rcx, 5
jne 0x1401595c1
mov eax, esi
jmp 0x1401595de
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140159651
cmp rbx, r14
je 0x140159642
nop word [rax + rax]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14015962a
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140159625
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140159c80
mov rcx, r8
call fcn.1401e3784
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], sil
add rbx, 0x20
cmp rbx, r14
jne 0x1401595f0
mov r15, qword [rsp + 0x20]
mov r14, r15
mov qword [rsp + 0x38], r15
jmp 0x140159656
mov r15, qword [rsp + 0x20]
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x40], SafeArrayGetLBound
mov qword [rbp + 0x38], 7
mov eax, dword [str.BGFS.db]
mov dword [rbp + 0x28], eax
movzx eax, word [0x14029b0ec]
mov word [rbp + 0x2c], ax
movzx eax, byte [0x14029b0ee]
mov byte [rbp + 0x2e], al
mov byte [rbp + 0x2f], 0
cmp r14, rdi
je 0x1401596b6
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 0x1401596df
lea r8, [rbp + 0x28]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.1401585a0
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 0x140159716
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159711
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159c80
call fcn.1401e3784
mov byte [rbp + 0x28], 0
mov rax, qword [rsp + 0x28]
cmp rax, 0xffffffffffffffff
je 0x140159b21
lea rdx, [rbp + 0xd0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140159b0f
movabs rbx, 0x7ffffffffffffffe
movabs r13, 0x7fffffffffffffff
nop word [rax + rax]
test byte [rbp + 0xd0], 0x10
jne 0x140159ae2
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 0x140159792
lea rdx, [rbp + 0xfc]
lea rcx, [rbp + 0x68]
call fcn.1400e83c0
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 0x1401597f3
movups xmm0, xmmword [rsi]
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 7
jmp 0x14015984f
or rdi, 7
cmp rdi, rbx
cmova rdi, rbx
lea rcx, [rdi + 1]
cmp rcx, r13
ja 0x140159c9e
lfence
add rcx, rcx
call fcn.1400d1570
mov qword [rsp + 0x50], rax
mov rbx, qword [rbp + 0x78]
lea r8, [rbx*2 + 2]
mov rdx, rsi
mov rcx, rax
call fcn.14021bb20
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.1401da4f0
nop
mov rbx, r15
mov rsi, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x48]
cmp r15, r14
je 0x1401598b4
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 0x140159899
mov rcx, qword [rbx]
mov r8, qword [rbx + 0x10]
cmp r8, r15
jne 0x1401598ab
call fcn.14021ba20
test eax, eax
je 0x1401598b4
add rbx, 0x20
cmp rbx, r14
jne 0x140159880
cmp rbx, r14
jne 0x140159a47
xor ebx, ebx
mov qword [rbp + 8], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], SafeArrayGetLBound
mov byte [rbp + 8], bl
lea r8d, [rbx + 0x4a]
lea rdx, [0x14029af40]
lea rcx, [rbp + 8]
call fcn.1400e7f00
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 0x140159900
lea rcx, [rbp + 8]
call fcn.1400e7f00
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 0x140159c8c
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 0x14015999e
mov rbx, rsi
or rbx, 0xf
cmp rbx, rcx
jbe 0x140159981
mov rbx, rcx
jmp 0x14015998e
cmp rbx, 0x16
mov eax, SafeArrayPutElement
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.1400d1570
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 [0x1402a6ab0]
movups xmmword [rdi + 0x10], xmm1
mov eax, dword [0x1402a6ac0]
mov dword [rdi + 0x20], eax
movzx eax, word [0x1402a6ac4]
mov word [rdi + 0x24], ax
movzx eax, byte [0x1402a6ac6]
mov byte [rdi + 0x26], al
lea rcx, [rdi + 0x27]
mov r8, r13
mov rdx, r15
call fcn.14021bb20
mov byte [rdi + rsi], 0
lea rcx, [rbp - 0x58]
call fcn.14017eab0
nop
mov rdx, qword [rbp + 0x20]
cmp rdx, 0x10
jb 0x140159a31
inc rdx
mov rcx, qword [rbp + 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159a2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159c86
call fcn.1401e3784
mov byte [rbp + 8], 0
mov rsi, qword [rbp + 0x60]
mov rdi, qword [rbp + 0x48]
movabs r13, 0x7fffffffffffffff
cmp rsi, 0x10
jb 0x140159a7e
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140159a76
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159c92
mov rcx, rdi
call fcn.1401e3784
xor esi, esi
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], SafeArrayGetLBound
mov byte [rbp + 0x48], sil
mov rax, qword [rbp + 0x80]
cmp rax, 8
jb 0x140159ad3
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x140159acb
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159c98
mov rcx, r12
call fcn.1401e3784
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 0x140159760
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 0x140159b51
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.1400e83c0
lea rcx, [rbp - 0x18]
call fcn.14017f3e0
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 8
jb 0x140159b97
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159b92
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159ca4
call fcn.1401e3784
xor eax, eax
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], 7
mov word [rbp + 0xa8], ax
cmp r12, 0x10
jb 0x140159beb
lea rdx, [r12 + 1]
mov rax, r13
cmp rdx, 0x1000
jb 0x140159be2
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159caa
mov rcx, r13
call fcn.1401e3784
nop
test r15, r15
je 0x140159c3c
mov rbx, r15
cmp r15, r14
je 0x140159c09
mov rcx, rbx
call fcn.1400db820
add rbx, 0x20
cmp rbx, r14
jne 0x140159bf8
sub rdi, r15
and rdi, 0xffffffffffffffe0
mov rax, r15
cmp rdi, 0x1000
jb 0x140159c31
add rdi, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159c6e
mov rdx, rdi
mov rcx, r15
call fcn.1401e3784
mov eax, esi
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1401e3ce0
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.140160fa0
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.1400e7e40
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.1400e7cb0
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