Function at 0x1000cd70
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126c30
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10173500]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1017be54], 0
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, edx
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], ecx
je 0x1000cde0
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
push str._CopyAllFile________srcSize_:__d___DestSize_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x10
mov eax, dword [esi + 8]
test eax, eax
jle 0x1000d39f
mov ebx, dword [ebx + 8]
test ebx, ebx
jle 0x1000d39f
cmp eax, ebx
jne 0x1000d39f
xor ecx, ecx
mov dword [ebp - 0x48], ecx
test eax, eax
jg 0x1000ce16
mov eax, 1
jmp 0x1000d3a1
mov ecx, dword [ebp - 0x48]
mov esi, edx
test ecx, ecx
js 0x1000d39a
cmp ecx, eax
jge 0x1000d39a
mov eax, dword [esi + 4]
lea ebx, [ecx*4]
add eax, ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.10001560
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x38]
test esi, esi
jne 0x1000ce4d
xor eax, eax
jmp 0x1000ce77
push 0x5c
push esi
call fcn.10102ec2
add esp, 8
test eax, eax
je 0x1000ce61
add eax, 2
jmp 0x1000ce77
push 0x2f
push esi
call fcn.10102ec2
add esp, 8
test eax, eax
je 0x1000ce75
add eax, 2
jmp 0x1000ce77
mov eax, esi
push eax
lea ecx, [ebp - 0x4c]
call fcn.10001e40
mov byte [ebp - 4], 2
push 0x1015370c
lea ecx, [ebp - 0x3c]
call fcn.10001e40
mov byte [ebp - 4], 3
push 0x5c
push esi
call fcn.10102ec2
add esp, 8
test eax, eax
je 0x1000cee5
sub eax, esi
sar eax, 1
push eax
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x38]
call fcn.1000f130
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004c80
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000cee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax + 8]
jge 0x1000d39a
mov eax, dword [eax + 4]
add eax, ebx
push eax
lea ecx, [ebp - 0x44]
call fcn.10001560
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x44]
push 0x5c
push esi
call fcn.10102ec2
add esp, 8
test eax, eax
je 0x1000cf59
sub eax, esi
sar eax, 1
push eax
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x38]
call fcn.1000f130
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x3c]
call fcn.10004c80
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000cf59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x1017be54], 0
je 0x1000cf89
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
push ecx
push edx
push esi
push eax
push str.CopyAllFile_1___s__strDestPath_:__s____s____s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x18
cmp dword [ebp - 0x3c], 0
je 0x1000cfe3
test esi, esi
je 0x1000cfe3
push 0x410
lea esi, [edi + 0x3e54]
push 0
push esi
call fcn.10105240
add esp, 0xc
push 0x410
lea ebx, [edi + 0x4264]
push 0
push ebx
call fcn.10105240
mov ecx, dword [ebp - 0x3c]
add esp, 0xc
push 0x207
push ecx
push esi
call fcn.10102ddd
mov edx, dword [ebp - 0x44]
add esp, 0xc
push 0x207
push edx
push ebx
call fcn.10102ddd
add esp, 0xc
lea eax, [ebp - 0x38]
xor esi, esi
push eax
mov ecx, edi
mov dword [ebp - 0x58], esi
mov dword [edi + 0x7034], esi
call fcn.1000c680
add esp, 4
cmp eax, esi
je 0x1000d1bd
mov edx, dword [ebp - 0x44]
lea ecx, [ebp - 0x5c]
push ecx
push edi
push edx
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x5c], esi
call fcn.1000aea0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x50], ebx
test ebx, ebx
jne 0x1000d02c
cmp dword [ebp - 0x58], esi
je 0x1000d033
mov esi, edi
call fcn.10008b90
cmp dword [ebp - 0x5c], 0
je 0x1000d046
mov eax, dword [edi + 0x160]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test ebx, ebx
je 0x1000d1ba
push 0x1015370c
lea ecx, [ebp - 0x40]
call fcn.10001e40
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.10004700
add esp, 0xc
mov byte [ebp - 4], 0xb
mov ecx, dword [eax]
mov esi, dword [ebp - 0x40]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x1000d0cb
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x1000d0be
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x1000d0be
push eax
call fcn.100014f0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x1000d0b6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp - 0x40], ebx
jmp 0x1000d0cb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.10001d00
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d0ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x40]
mov edi, esi
call fcn.10002ad0
test eax, eax
jne 0x1000d194
lea ebx, [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.10004310
cmp dword [0x1017be54], 0
mov esi, eax
je 0x1000d14c
push 0xffffffffffffffff
push esi
push edi
push str.TOGetFileAttributesW___s___d___08x_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0x14
test esi, esi
je 0x1000d194
mov eax, dword [ebp - 0x34]
cmp eax, 0xffffffff
je 0x1000d194
test al, 0x10
je 0x1000d194
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [0x1017be54], 0
mov dword [ebp - 0x50], 0
je 0x1000d194
mov edx, dword [ebp - 0x40]
push edx
push str.CopyAllFile_RemoveDirectoryW__strDestTemp_:__s_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d1b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
cmp dword [edi + 0x24], 0
je 0x1000d1cd
mov dword [edi + 0x70dc], 1
cmp dword [edi + 0x70dc], 0
jne 0x1000d300
test eax, eax
jne 0x1000d245
mov ebx, dword [edi + 0x160]
cmp dword [0x10174a00], eax
jne 0x1000d208
cmp dword [ebp - 0x58], eax
je 0x1000d208
mov eax, 1
cmp dword [0x1017bda8], eax
jne 0x1000d204
mov dword [edi + 0x70dc], eax
xor esi, esi
jmp 0x1000d219
lea ecx, [ebp - 0x38]
push ecx
call fcn.1000c400
mov edi, dword [ebp - 0x54]
add esp, 4
mov esi, eax
cmp dword [0x1017be54], 0
je 0x1000d23d
push esi
push str.CopyAllFile__bRetry_:__d_
push str.ifocms
or ecx, 0xffffffff
mov edx, 0x1017bdc4
call fcn.10005f70
add esp, 0xc
test esi, esi
jne 0x1000cfe3
cmp dword [edi + 0x70dc], 0
jne 0x1000d300
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000d275
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d298
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d2bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d2e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 8]
inc ecx
mov dword [ebp - 0x48], ecx
cmp ecx, eax
jl 0x1000ce11
mov eax, 1
jmp 0x1000d3a1
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d346
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000d369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000ce07
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x1000d3a1
call fcn.1001043f
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101026e9
mov esp, ebp
pop ebp
ret