Function at 0x18000bf80
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd0
mov qword [rsp + 0xc0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r13, r8
mov r12, rdx
mov rdi, rcx
cmp dword [0x180054458], 0
je 0x18000bff2
mov rax, qword [rdx + 0x10]
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, str._CopyAllFile________srcSize_:__d___DestSize_:__d_
lea r8, str.ifocms
or edx, 0xffffffff
lea rcx, [0x180054358]
call fcn.180004760
mov rcx, qword [rdi + 0x10]
test rcx, rcx
jle 0x18000c8f6
mov rax, qword [r12 + 0x10]
test rax, rax
jle 0x18000c8f6
cmp rcx, rax
je 0x18000c019
xor eax, eax
jmp 0x18000c8f8
xor esi, esi
mov dword [rsp + 0x70], esi
mov rbp, rsi
mov qword [rsp + 0x78], rsi
test rcx, rcx
jle 0x18000c8ef
or r14, 0xffffffffffffffff
test rbp, rbp
js 0x18000c8e9
cmp rbp, rcx
jge 0x18000c8e9
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rbp*8]
sub rcx, 0x18
call fcn.180001630
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
test rbx, rbx
je 0x18000c098
mov edx, 0x5c
mov rcx, rbx
call fcn.18002209c
test rax, rax
je 0x18000c07d
lea rsi, [rax + 2]
jmp 0x18000c098
mov edx, 0x2f
mov rcx, rbx
call fcn.18002209c
test rax, rax
je 0x18000c095
lea rsi, [rax + 2]
jmp 0x18000c098
mov rsi, rbx
call fcn.1800100bc
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x18000c8de
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rsi, rsi
je 0x18000c101
test rsi, 0xffffffffffff0000
jne 0x18000c0ee
movzx edi, si
mov ecx, edi
call fcn.1800100a8
test rax, rax
je 0x18000c114
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180001900
jmp 0x18000c114
xor eax, eax
mov rcx, r14
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x18000c103
xor ecx, ecx
mov r8d, ecx
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.180001c30
nop
call fcn.1800100bc
xor esi, esi
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
je 0x18000c8d3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x1800402e8]
mov r15, rdx
shr r15, 0x10
test r15, r15
jne 0x18000c171
movzx edi, dx
mov ecx, edi
call fcn.1800100a8
test rax, rax
je 0x18000c18e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180001900
jmp 0x18000c18e
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.180001c30
nop
mov edx, 0x5c
mov rcx, rbx
call fcn.18002209c
test rax, rax
je 0x18000c24e
sub rax, rbx
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0x48]
call fcn.18000ef30
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x40]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x18000c21f
cmp dword [rdi + 0x10], 0
jl 0x18000c210
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x18000c210
call fcn.180001630
mov rbx, rax
mov ecx, r14d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x18000c205
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x18000c21f
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.180001c30
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c249
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
jmp 0x18000c24e
mov rbx, qword [rsp + 0x48]
cmp rbp, qword [r12 + 0x10]
jge 0x18000c8cd
mov rax, qword [r12 + 8]
mov rcx, qword [rax + rbp*8]
sub rcx, 0x18
call fcn.180001630
lea rdi, [rax + 0x18]
mov qword [rsp + 0x68], rdi
mov edx, 0x5c
mov rcx, rdi
call fcn.18002209c
test rax, rax
je 0x18000c33e
sub rax, rdi
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.18000ef30
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x40]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x18000c305
cmp dword [rdi + 0x10], 0
jl 0x18000c2f6
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x18000c2f6
call fcn.180001630
mov rbx, rax
mov ecx, r14d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x18000c2eb
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x18000c305
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.180001c30
nop
mov rdx, qword [rsp + 0xb0]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c334
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x68]
jmp 0x18000c33e
mov rbx, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x68]
cmp dword [0x180054458], 0
je 0x18000c38d
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, str.CopyAllFile_1___s__strDestPath_:__s____s____s_
lea r8, str.ifocms
or edx, 0xffffffff
lea rcx, [0x180054358]
call fcn.180004760
mov r8, rdi
mov rdx, qword [rsp + 0x40]
mov rcx, r13
call fcn.180005b60
lea rbp, [0x1800402e8]
nop word [rax + rax]
mov dword [r13 + 0x5530], esi
mov rdx, r13
lea rcx, [rsp + 0x48]
call fcn.18000b9f0
mov r12d, eax
test eax, eax
je 0x18000c6fc
mov dword [rsp + 0x60], esi
lea r9, [rsp + 0x60]
mov r8, r13
mov rdx, rdi
mov rcx, rbx
call fcn.18000a120
mov r12d, eax
test eax, eax
je 0x18000c3f5
mov rcx, r13
call fcn.180007a30
cmp dword [rsp + 0x60], 0
je 0x18000c409
mov rcx, qword [r13 + 0x240]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test r12d, r12d
je 0x18000c6fc
call fcn.1800100bc
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
je 0x18000c842
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
test r15, r15
jne 0x18000c46b
movzx edi, bp
mov ecx, edi
call fcn.1800100a8
test rax, rax
je 0x18000c58b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.180001900
mov rbx, qword [rsp + 0x50]
jmp 0x18000c58b
xor eax, eax
mov rcx, r14
lea r8, [0x1800402e8]
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x18000c4ef
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x18000c584
cmp dword [rdx + 0x10], eax
jge 0x18000c4ba
cmp dword [rbx - 0xc], eax
jl 0x18000c82c
mov dword [rbx - 0x10], esi
mov word [rbx], si
lea rbp, [0x1800402e8]
jmp 0x18000c58b
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c4d1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
lea rbp, [0x1800402e8]
jmp 0x18000c58b
mov ebp, dword [rbx - 0x10]
mov rsi, r8
sub rsi, rbx
sar rsi, 1
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x18000c524
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.180001bb0
mov rbx, qword [rsp + 0x50]
lea r8, [0x1800402e8]
cmp rsi, rbp
ja 0x18000c548
movsxd rax, edi
lea rbp, [rax + rax]
lea r8, [rbx + rsi*2]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, rbp
mov rcx, rbx
call fcn.180021c34
jmp 0x18000c561
movsxd rax, edi
lea rbp, [rax + rax]
movsxd rdx, dword [rbx - 0xc]
add rdx, rdx
mov r9, rbp
mov rcx, rbx
call fcn.180021b9c
test edi, edi
js 0x18000c837
cmp edi, dword [rbx - 0xc]
jg 0x18000c837
mov dword [rbx - 0x10], edi
xor esi, esi
mov word [rbx + rbp], si
lea rbp, [0x1800402e8]
jmp 0x18000c58b
lea rbp, [0x1800402e8]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xb8]
call fcn.18000efe0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x18000c5fd
cmp dword [rbx + 0x10], 0
jl 0x18000c5ee
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x18000c5ee
call fcn.180001630
mov rdi, rax
mov ecx, r14d
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x18000c5e3
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x18000c5fd
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.180001c30
nop
mov rdx, qword [rsp + 0xb8]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c620
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.180002940
test eax, eax
jne 0x18000c6d5
mov dword [rsp + 0x80], esi
xor eax, eax
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x94], eax
mov dword [rsp + 0x98], eax
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0xa0], eax
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x18000c6d5
mov eax, dword [rsp + 0x80]
cmp eax, 0xffffffff
je 0x18000c6d5
test al, 0x10
je 0x18000c6d5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r12d, esi
cmp dword [0x180054458], 0
je 0x18000c6d5
mov qword [rsp + 0x20], rdi
lea r9, str.CopyAllFile_RemoveDirectoryW__strDestTemp_:__s_
lea r8, str.ifocms
or edx, 0xffffffff
lea rcx, [0x180054358]
call fcn.180004760
nop
lea rdx, [rdi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c6f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x68]
jmp 0x18000c6fc
mov rdi, qword [rsp + 0x68]
cmp dword [r13 + 0x18], 0
je 0x18000c70e
mov dword [r13 + 0x5628], 1
cmp dword [r13 + 0x5628], 0
jne 0x18000c764
test r12d, r12d
jne 0x18000c764
lea rdx, [rsp + 0x48]
mov rcx, r13
call fcn.18000b5e0
mov ebx, eax
cmp dword [0x180054458], r12d
je 0x18000c756
mov dword [rsp + 0x20], eax
lea r9, str.CopyAllFile__bRetry_:__d_
lea r8, str.ifocms
or edx, 0xffffffff
lea rcx, [0x180054358]
call fcn.180004760
test ebx, ebx
je 0x18000c764
mov rbx, qword [rsp + 0x48]
jmp 0x18000c3b0
cmp dword [r13 + 0x5628], 0
jne 0x18000c84d
lea rdx, [rdi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c78e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c7af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c7d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c7f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, dword [rsp + 0x70]
inc edx
mov dword [rsp + 0x70], edx
mov rbp, qword [rsp + 0x78]
inc rbp
mov qword [rsp + 0x78], rbp
mov rdi, qword [rsp + 0x110]
mov rcx, qword [rdi + 0x10]
movsxd rax, edx
cmp rax, rcx
jge 0x18000c8ef
mov r12, qword [rsp + 0x118]
jmp 0x18000c034
mov ecx, 0x80070057
call fcn.180001c10
int3
mov ecx, 0x80070057
call fcn.180001c10
nop
mov ecx, 0x80004005
call fcn.180001c10
nop
lea rdx, [rdi - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c869
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c88a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x18000c8ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r14d
dec r14d
test r14d, r14d
jg 0x18000c8ef
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x18000c8ef
call fcn.18000fe84
nop
mov ecx, 0x80004005
call fcn.180001c10
nop
mov ecx, 0x80004005
call fcn.180001c10
nop
call fcn.18000fe84
int3
mov eax, 1
jmp 0x18000c8f8
xor eax, eax
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret