Function at 0x100c5ce0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101eca50
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1024e014]
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
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x44]
movlpd qword [ebp - 0x98], xmm0
call fcn.10007d30
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.100c3760
lea ecx, [ebp - 0x88]
call fcn.100de040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 4
call fcn.100788c0
push 4
call fcn.101d286a
add esp, 4
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x44]
push 0x10211d50
lea ecx, [ebp - 0x2c]
call fcn.100257e0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.100de990
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004570
test bl, bl
je 0x100c5f53
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100c5dc8
mov al, 1
jmp 0x100c5dca
xor al, al
test al, al
je 0x100c5e12
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x100c5e12
mov esi, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
mov edi, dword [ebp - 0x60]
cmp esi, 8
cmovae eax, edi
cmp word [eax], 0x2e
jne 0x100c5e12
cmp edx, 1
je 0x100c5e04
cmp esi, 8
lea eax, [ebp - 0x60]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x100c5e12
cmp edx, 2
jne 0x100c5e12
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
jmp 0x100c5e68
or ecx, 0
je 0x100c5e1b
mov al, 1
jmp 0x100c5e1d
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
je 0x100c5e40
call fcn.10056cf0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.100c5ce0
jmp 0x100c5e58
call fcn.10056cf0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.100e6b80
movzx eax, al
cdq
mov esi, edx
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004570
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.100de780
test al, al
je 0x100c5f5f
nop
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100c5e91
mov al, 1
jmp 0x100c5e93
xor al, al
test al, al
je 0x100c5ed0
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x100c5ed0
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
cmp ebx, 8
cmovae eax, dword [ebp - 0x60]
cmp word [eax], 0x2e
jne 0x100c5ed0
cmp edx, 1
je 0x100c5f3a
cmp ebx, 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
cmp word [eax + 2], 0x2e
jne 0x100c5ed0
cmp edx, 2
je 0x100c5f3a
or ecx, 0
je 0x100c5ed9
mov al, 1
jmp 0x100c5edb
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
je 0x100c5f0f
lea ecx, [ebp - 0xb0]
call fcn.10056cf0
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.100c5ce0
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
jmp 0x100c5f35
lea ecx, [ebp - 0x2c]
call fcn.10056cf0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.100e6b80
movzx eax, al
cdq
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004570
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.100de780
test al, al
jne 0x100c5e80
jmp 0x100c5f5f
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100c5f7a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100c5f7a
mov dword [ebx], 0xffffffff
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmovae eax, dword [ebp - 0x44]
push eax
call ebx
test eax, eax
jne 0x100c6073
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 9
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.100e70a0
test al, al
je 0x100c5fd3
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x100c6067
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004570
lea ecx, [ebp - 0x44]
call fcn.100e67e0
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
je 0x100c6079
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.100e6700
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push ecx
call ebx
test eax, eax
jne 0x100c6073
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.100e70a0
test al, al
je 0x100c604b
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x100c6067
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004570
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
call fcn.100e6700
jmp 0x100c6079
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004570
add edi, 1
adc esi, 0
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100c60a7
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100c609c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100c609c
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.101d2cde
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10004570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10004570
mov eax, edi
mov edx, esi
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.101d284b
mov esp, ebp
pop ebp
ret