Function at 0x100671f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a6550
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x100cd008]
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.10004e90
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x44]
call fcn.100646f0
lea ecx, [ebp - 0x88]
call fcn.100745f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 4
call fcn.10031d70
push 4
call fcn.10097224
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 0x100b3b6c
lea ecx, [ebp - 0x2c]
call fcn.10015370
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10074c70
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10002b90
test bl, bl
je 0x10067463
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100672d8
mov al, 1
jmp 0x100672da
xor al, al
test al, al
je 0x10067322
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x10067322
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 0x10067322
cmp edx, 1
je 0x10067314
cmp esi, 8
lea eax, [ebp - 0x60]
cmovae eax, edi
cmp word [eax + 2], 0x2e
jne 0x10067322
cmp edx, 2
jne 0x10067322
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
jmp 0x10067378
or ecx, 0
je 0x1006732b
mov al, 1
jmp 0x1006732d
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x2c]
push eax
je 0x10067350
call fcn.1001a040
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.100671f0
jmp 0x10067368
call fcn.1001a040
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.10084ce0
movzx eax, al
cdq
mov esi, edx
mov edi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10002b90
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.100749f0
test al, al
je 0x1006746f
nop
mov ecx, dword [ebp - 0x68]
and ecx, 0x10
mov eax, ecx
or eax, 0
je 0x100673a1
mov al, 1
jmp 0x100673a3
xor al, al
test al, al
je 0x100673e0
mov edx, dword [ebp - 0x50]
test edx, edx
je 0x100673e0
mov ebx, dword [ebp - 0x4c]
lea eax, [ebp - 0x60]
cmp ebx, 8
cmovae eax, dword [ebp - 0x60]
cmp word [eax], 0x2e
jne 0x100673e0
cmp edx, 1
je 0x1006744a
cmp ebx, 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
cmp word [eax + 2], 0x2e
jne 0x100673e0
cmp edx, 2
je 0x1006744a
or ecx, 0
je 0x100673e9
mov al, 1
jmp 0x100673eb
xor al, al
test al, al
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
push eax
je 0x1006741f
lea ecx, [ebp - 0xb0]
call fcn.1001a040
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.100671f0
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb0]
jmp 0x10067445
lea ecx, [ebp - 0x2c]
call fcn.1001a040
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.10084ce0
movzx eax, al
cdq
add edi, eax
adc esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10002b90
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
call fcn.100749f0
test al, al
jne 0x10067390
jmp 0x1006746f
mov esi, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x1006748a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1006748a
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 0x10067583
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.100852d0
test al, al
je 0x100674e3
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x10067577
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10002b90
lea ecx, [ebp - 0x44]
call fcn.10084940
mov dword [ebp - 0x8c], eax
cmp eax, 0xffffffff
je 0x10067589
xor edx, edx
lea ecx, [ebp - 0x44]
call fcn.10084860
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push ecx
call ebx
test eax, eax
jne 0x10067583
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.100852d0
test al, al
je 0x1006755b
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call ebx
test eax, eax
jne 0x10067577
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10002b90
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x44]
call fcn.10084860
jmp 0x10067589
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10002b90
add edi, 1
adc esi, 0
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100675b7
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x100675ac
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x100675ac
mov dword [ebx], 0xffffffff
push 4
push ebx
call fcn.10097254
add esp, 8
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.10002b90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.10002b90
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.10097213
mov esp, ebp
pop ebp
ret