Function at 0x14002a090
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x3f]
sub rsp, 0xc8
xor edi, edi
mov dword [rbp + 0x67], edi
lea edx, [rdi + 9]
lea rcx, [rbp - 0x11]
call fcn.140075170
nop
mov esi, edi
mov eax, esi
test esi, esi
je 0x14002a408
sub eax, 1
je 0x14002a2fc
sub eax, 1
je 0x14002a1ec
cmp eax, 1
jne 0x14002a515
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.1400752d0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140.dll_Ordinal_305]
bts edi, 9
mov dword [rbp + 0x67], edi
mov rdx, qword [rbx]
mov dword [rsp + 0x20], 9
lea r9, str.Physibel_
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140.dll_Ordinal_305]
bts edi, 0xa
mov dword [rbp + 0x67], edi
mov r9, qword [0x1400e1038]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp + 0x77]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140.dll_Ordinal_305]
bts edi, 0xb
mov dword [rbp + 0x67], edi
mov rdx, qword [rbp + 0x6f]
mov dword [rsp + 0x20], 8
lea r9, str._tmp.flx
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
lea rdx, [rbp - 0x31]
lea rcx, [0x1400e1008]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
btr edi, 0xb
lea rcx, [rbp - 0x31]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
btr edi, 0xa
lea rcx, [rbp + 0x6f]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
btr edi, 9
lea rcx, [rbp + 0x77]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rbp + 0xf]
jmp 0x14002a50f
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x11]
call fcn.1400752d0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x59]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 0x40
mov dword [rbp + 0x67], edi
mov rdx, qword [rbx]
mov dword [rsp + 0x20], 9
lea r9, str.Physibel_
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x59]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp - 0x59]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140.dll_Ordinal_305]
bts edi, 7
mov dword [rbp + 0x67], edi
mov r9, qword [0x1400e1038]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp - 0x59]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x29]
call qword [sym.imp.mfc140.dll_Ordinal_305]
bts edi, 8
mov dword [rbp + 0x67], edi
mov rdx, qword [rbp + 0x7f]
mov dword [rsp + 0x20], 8
lea r9, str._tmp.flw
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x29]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
lea rdx, [rbp - 0x29]
lea rcx, [0x1400e1008]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
btr edi, 8
lea rcx, [rbp - 0x29]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
btr edi, 7
lea rcx, [rbp + 0x7f]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
and edi, 0xffffffbf
lea rcx, [rbp - 0x59]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rbp + 0x17]
jmp 0x14002a50f
lea rdx, [rbp + 0x1f]
lea rcx, [rbp - 0x11]
call fcn.1400752d0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 8
mov dword [rbp + 0x67], edi
mov rdx, qword [rbx]
mov dword [rsp + 0x20], 9
lea r9, str.Physibel_
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 0x10
mov dword [rbp + 0x67], edi
mov r9, qword [0x1400e1038]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp - 0x49]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 0x20
mov dword [rbp + 0x67], edi
mov rdx, qword [rbp - 0x51]
mov dword [rsp + 0x20], 8
lea r9, str._tmp.sol
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
lea rdx, [rbp - 0x21]
lea rcx, [0x1400e1008]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
and edi, 0xffffffdf
lea rcx, [rbp - 0x21]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
and edi, 0xffffffef
lea rcx, [rbp - 0x51]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
and edi, 0xfffffff7
lea rcx, [rbp - 0x49]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rbp + 0x1f]
jmp 0x14002a50f
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x11]
call fcn.1400752d0
mov rbx, rax
mov rcx, rax
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 1
mov dword [rbp + 0x67], edi
mov rdx, qword [rbx]
mov dword [rsp + 0x20], 9
lea r9, str.Physibel_
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 2
mov dword [rbp + 0x67], edi
mov r9, qword [0x1400e1038]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rbp - 0x39]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
nop
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140.dll_Ordinal_5691]
mov rdx, rax
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140.dll_Ordinal_305]
or edi, 4
mov dword [rbp + 0x67], edi
mov rdx, qword [rbp - 0x41]
mov dword [rsp + 0x20], 8
lea r9, str._tmp.tri
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140.dll_Ordinal_2917]
lea rdx, [rbp - 0x19]
lea rcx, [0x1400e1008]
call qword [sym.imp.mfc140.dll_Ordinal_1504]
and edi, 0xfffffffb
lea rcx, [rbp - 0x19]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
and edi, 0xfffffffd
lea rcx, [rbp - 0x41]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
and edi, 0xfffffffe
lea rcx, [rbp - 0x39]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
nop
lea rcx, [rbp + 0x27]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
call fcn.14002a660
test eax, eax
je 0x14002a52b
mov rcx, qword [0x1400e1008]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
inc esi
cmp esi, 4
jl 0x14002a0b5
lea rcx, [rbp + 7]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rbp - 1]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rbp - 9]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
lea rcx, [rbp - 0x11]
call qword [sym.imp.mfc140.dll_Ordinal_1032]
add rsp, 0xc8
pop rdi
pop rsi
pop rbx
pop rbp
ret