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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400748d8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
and qword [rsp + 0x40], 0
mov r12, rdx
mov qword [rsp + 0x58], r8
mov r15, rcx
mov qword [rsp + 0x60], rdx
lea rcx, [rsp + 0x70]
xor edi, edi
xor edx, edx
mov r8d, 0x250
mov qword [rsp + 0x48], rdi
call fcn.1400428c0
and qword [rsp + 0x38], rdi
lea r9, str.SupportFiles.cab
and qword [rsp + 0x50], rdi
lea r8, [0x14005829c]
lea rdx, str._ls_ls
lea rcx, [rsp + 0x40]
call fcn.14003b888
mov r14d, eax
test eax, eax
jns 0x140011fdf
mov rcx, qword [str.___a_]
lea r15, str.___a_
cmp rcx, r15
je 0x140011fcb
test byte [rcx + 0x1c], 1
je 0x140011fcb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x80
mov r9d, eax
call fcn.140002534
mov edx, r14d
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
jmp 0x1400124e8
mov r9, qword [rsp + 0x40]
lea rdx, [0x1400551f0]
mov r8, r15
lea rcx, [rsp + 0x38]
call fcn.14003b888
mov r14d, eax
test eax, eax
jns 0x140012049
mov rcx, qword [str.___a_]
lea r15, str.___a_
cmp rcx, r15
je 0x140012030
test byte [rcx + 0x1c], 1
je 0x140012030
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x81
mov r9d, eax
call fcn.140002534
mov edx, r14d
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
mov rbx, qword [rsp + 0x38]
jmp 0x1400124ce
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call fcn.140012ff0
mov r14d, eax
cmp eax, 0x80070004
je 0x14001248e
cmp eax, 0x80070001
jle 0x14001248e
add eax, 0x7ff8fffa
cmp eax, 0x7ff8fff9
jbe 0x14001248e
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
mov rcx, r15
call fcn.1400321a8
mov r14d, eax
test eax, eax
jns 0x1400120dd
mov rcx, qword [str.___a_]
lea r15, str.___a_
cmp rcx, r15
je 0x1400120c9
test byte [rcx + 0x1c], 1
je 0x1400120c9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x83
mov r9d, eax
call fcn.140002534
mov edx, r14d
lea rcx, str.ERROR:_InitMpCab___failed___X__n
call fcn.140006cb0
jmp 0x14001243b
mov rax, qword [rsp + 0x58]
lea r15, str.___a_
mov qword [rsp + 0x68], 4
mov r12, qword [r12]
mov al, byte [rax]
mov byte [rsp + 0x30], al
test r12, r12
je 0x140012411
test rdi, rdi
je 0x140012118
mov rcx, rdi
call fcn.140040784
and qword [rsp + 0x48], 0
mov r8, r12
lea rdx, str._s
lea rcx, [rsp + 0x48]
call fcn.14003b888
mov edi, eax
test eax, eax
jns 0x140012174
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x14001215c
test byte [rcx + 0x1c], 1
je 0x14001215c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x84
mov r9d, eax
call fcn.140002534
mov edx, edi
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
mov rdi, qword [rsp + 0x48]
jmp 0x140012411
mov rdi, qword [rsp + 0x48]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x1400121ce
call fcn.140038cd4
mov r14d, eax
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x1400121c2
test byte [rcx + 0x1c], 1
je 0x1400121c2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x85
mov r9d, eax
call fcn.140002534
lea rcx, str.ERROR:_Invalid_file_handle_in_FindFirstFileW_____X__n
jmp 0x140012409
mov dil, byte [rsp + 0x30]
test byte [rsp + 0x70], 0x10
jne 0x140012360
mov rcx, qword [rsp + 0x40]
lea rdx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x140012360
test rbx, rbx
je 0x140012208
mov rcx, rbx
call fcn.140040784
and qword [rsp + 0x38], 0
lea r9, [rbp - 0x64]
mov r8, r12
lea rdx, [0x1400551f0]
lea rcx, [rsp + 0x38]
call fcn.14003b888
mov ebx, eax
test eax, eax
jns 0x140012268
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x140012250
test byte [rcx + 0x1c], 1
je 0x140012250
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x86
mov r9d, eax
call fcn.140002534
mov edx, ebx
lea rcx, str.ERROR:_NewSprintfW___failed___X__n
call fcn.140006cb0
mov rbx, qword [rsp + 0x38]
jmp 0x140012360
mov rbx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
mov r8, rbx
mov rdx, rbx
call fcn.140032904
mov r14d, eax
test eax, eax
jns 0x1400122c6
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x1400122ac
test byte [rcx + 0x1c], 1
je 0x1400122ac
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call fcn.14000d6c4
mov r9, rbx
lea rcx, str.ERROR:_AddFileToMpCab___failed___X__r_nFile:__ls_r_nAlias:__ls_r_n
mov r8, rbx
mov edx, r14d
call fcn.140006cb0
jmp 0x140012360
test dil, dil
je 0x140012360
mov r8d, 0xc
lea rdx, [rbp - 0x64]
lea rcx, str.mpdetection_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x140012360
mov r8d, 6
lea rdx, [rbp - 0x64]
lea rcx, str.mplog_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x140012360
mov r8d, 0xd
lea rdx, [rbp - 0x64]
lea rcx, str.mpwpptracing_
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
je 0x140012360
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012360
call fcn.140038cd4
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x140012360
test byte [rcx + 0x1c], 2
je 0x140012360
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x88
mov dword [rsp + 0x20], eax
mov r9, rbx
call fcn.140002410
lea rdx, [rsp + 0x70]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400121d3
call fcn.140038cd4
mov rdi, qword [rsp + 0x48]
mov r14d, eax
cmp eax, 0x80070012
je 0x1400123c3
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x1400123b4
test byte [rcx + 0x1c], 1
je 0x1400123b4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x89
mov r9d, eax
call fcn.140002534
mov edx, r14d
lea rcx, str.ERROR:_FindNextFile___failed___X__n
call fcn.140006cb0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x140012411
call fcn.140038cd4
mov r14d, eax
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x140012402
test byte [rcx + 0x1c], 1
je 0x140012402
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x8a
mov r9d, eax
call fcn.140002534
lea rcx, str.ERROR:_FindClose___failed___X__n
mov edx, r14d
call fcn.140006cb0
mov r12, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
add r12, 8
inc rax
mov qword [rsp + 0x60], r12
sub qword [rsp + 0x68], 1
mov qword [rsp + 0x58], rax
jne 0x1400120f2
xor r14d, r14d
cmp qword [rsp + 0x50], 0
je 0x1400124ce
mov rcx, qword [rsp + 0x50]
call fcn.140032c00
mov r12d, eax
test eax, eax
jns 0x1400124ce
mov rcx, qword [str.___a_]
cmp rcx, r15
je 0x140012482
test byte [rcx + 0x1c], 1
je 0x140012482
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x8b
mov r9d, eax
call fcn.140002534
mov edx, r12d
lea rcx, str.ERROR:_CloseMpCab___failed___X__n
jmp 0x1400124c9
mov rcx, qword [str.___a_]
lea r15, str.___a_
cmp rcx, r15
je 0x1400124bf
test byte [rcx + 0x1c], 1
je 0x1400124bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x140059a88]
mov edx, 0x82
mov r9d, r14d
call fcn.140002534
mov edx, r14d
lea rcx, str.ERROR:_UtilDeletePathSafe___failed___X__n
call fcn.140006cb0
test rbx, rbx
je 0x1400124db
mov rcx, rbx
call fcn.140040784
test rdi, rdi
je 0x1400124e8
mov rcx, rdi
call fcn.140040784
cmp qword [rsp + 0x40], 0
je 0x1400124fa
mov rcx, qword [rsp + 0x40]
call fcn.140040784
mov eax, r14d
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140040760
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret