Function at 0x10067210
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x10136937
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10193008]
xor eax, ebp
mov dword [ebp + 0x74], 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 + 0x40]
movlpd qword [ebp - 0x18], xmm0
call fcn.10004a70
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x40]
call fcn.10067a20
lea ecx, [ebp]
call fcn.1006e000
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
push 4
call fcn.10042e10
push 4
call fcn.10102d0d
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp + 0x70], eax
mov byte [ebp - 4], 3
lea edx, [ebp + 0x40]
push 0x1015ee18
lea ecx, [ebp + 0x58]
call fcn.1000de50
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x70]
call fcn.1006e650
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
test bl, bl
je 0x1006746f
lea ecx, [ebp]
call fcn.1006e0f0
test al, al
jne 0x1006735a
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x100672f5
mov al, 1
jmp 0x100672f7
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x58]
push eax
je 0x1006732d
call fcn.10009160
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.10067210
mov esi, edx
mov ebx, eax
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
jmp 0x10067363
call fcn.10009160
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x58]
call fcn.1007b390
movzx eax, al
cdq
mov ebx, eax
mov dword [ebp - 0x10], edx
mov esi, edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
jmp 0x10067363
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 0x70]
lea eax, [ebp]
push eax
call fcn.1006e430
test al, al
je 0x10067475
mov esi, dword [ebp + 0x20]
and esi, 0x10
mov eax, esi
or eax, 0
je 0x10067388
mov al, 1
jmp 0x1006738a
xor al, al
test al, al
je 0x100673df
lea ecx, [ebp + 0x28]
call fcn.10004f40
test al, al
jne 0x100673df
lea ecx, [ebp + 0x28]
call fcn.10004b50
mov edi, eax
cmp dword [edi + 0x14], 8
jb 0x100673ac
mov eax, dword [edi]
cmp word [eax], 0x2e
jne 0x100673df
lea ecx, [ebp + 0x28]
call fcn.10004a20
cmp eax, 1
je 0x10067456
cmp dword [edi + 0x14], 8
jb 0x100673cb
mov edi, dword [edi]
cmp word [edi + 2], 0x2e
jne 0x100673df
lea ecx, [ebp + 0x28]
call fcn.10004a20
cmp eax, 2
je 0x10067456
or esi, 0
je 0x100673e8
mov al, 1
jmp 0x100673ea
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
push eax
je 0x10067423
lea ecx, [ebp - 0x30]
call fcn.10009160
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.10067210
mov esi, dword [ebp - 0x10]
add ebx, eax
adc esi, edx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10004a60
jmp 0x10067459
lea ecx, [ebp + 0x58]
call fcn.10009160
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x58]
call fcn.1007b390
mov esi, dword [ebp - 0x10]
movzx eax, al
cdq
add ebx, eax
adc esi, edx
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
jmp 0x10067459
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x70]
lea eax, [ebp]
push eax
call fcn.1006e430
test al, al
jne 0x10067377
jmp 0x10067475
mov esi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp + 0x70]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10067490
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10067490
mov dword [edi], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.100062d0
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push eax
call edi
test eax, eax
jne 0x10067557
lea ecx, [ebp + 0x58]
call fcn.10005050
mov byte [ebp - 4], 9
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.1007b730
test al, al
je 0x100674d3
lea ecx, [ebp + 0x58]
call fcn.100062d0
push eax
call edi
test eax, eax
jne 0x1006754b
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
lea ecx, [ebp + 0x40]
call fcn.1007b2f0
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x1006755d
xor edx, edx
lea ecx, [ebp + 0x40]
call fcn.1007b230
lea ecx, [ebp + 0x40]
call fcn.100062d0
push eax
call edi
test eax, eax
jne 0x10067557
lea ecx, [ebp + 0x58]
call fcn.10005050
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.1007b730
test al, al
je 0x10067532
lea ecx, [ebp + 0x58]
call fcn.100062d0
push eax
call edi
test eax, eax
jne 0x1006754b
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x40]
call fcn.1007b230
jmp 0x1006755d
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004a60
add ebx, 1
adc esi, 0
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x70]
test edi, edi
je 0x1006758b
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x10067580
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10067580
mov dword [edi], 0xffffffff
push 4
push edi
call fcn.101031a0
add esp, 8
mov dword [ebp + 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.10004a60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10004a60
mov eax, ebx
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 + 0x74]
xor ecx, ebp
call fcn.10102ce9
lea esp, [ebp + 0x78]
pop ebp
ret