Function at 0x1005e6b0
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x10131f27
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.10004af0
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x40]
call fcn.1005eee0
lea ecx, [ebp]
call fcn.100671f0
mov byte [ebp - 4], 1
push 4
mov dword [ebp + 0x70], 0
call fcn.100fc1cd
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 0x1015b918
lea ecx, [ebp + 0x58]
call fcn.100181d0
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x70]
call fcn.10067820
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
mov esi, dword [ebp + 0x70]
test bl, bl
je 0x1005e92a
lea ecx, [ebp]
call fcn.100672d0
test al, al
jne 0x1005e800
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x1005e795
mov al, 1
jmp 0x1005e797
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x58]
push eax
je 0x1005e7d0
call fcn.1001d4f0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1005e6b0
mov ebx, eax
mov edi, edx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
jmp 0x1005e80c
call fcn.1001d4f0
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x58]
call fcn.10070d30
movzx eax, al
cdq
mov ebx, eax
mov dword [ebp - 0x14], eax
mov edi, edx
mov dword [ebp - 0x10], edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
jmp 0x1005e80c
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ebx
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.10067600
test al, al
je 0x1005e930
nop
mov edi, dword [ebp + 0x20]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x1005e831
mov al, 1
jmp 0x1005e833
xor al, al
test al, al
je 0x1005e88c
lea ecx, [ebp + 0x28]
call fcn.10005620
test al, al
jne 0x1005e88c
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x1005e855
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x1005e88c
lea ecx, [ebp + 0x28]
call fcn.10004aa0
cmp eax, 1
je 0x1005e90f
cmp dword [ebx + 0x14], 8
jb 0x1005e874
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x1005e88c
lea ecx, [ebp + 0x28]
call fcn.10004aa0
cmp eax, 2
je 0x1005e90f
or edi, 0
je 0x1005e895
mov al, 1
jmp 0x1005e897
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
push eax
je 0x1005e8d6
lea ecx, [ebp - 0x30]
call fcn.1001d4f0
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.1005e6b0
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
add ebx, eax
mov dword [ebp - 0x14], ebx
adc edi, edx
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10004ae0
jmp 0x1005e915
lea ecx, [ebp + 0x58]
call fcn.1001d4f0
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x58]
call fcn.10070d30
mov ebx, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
movzx eax, al
cdq
add ebx, eax
mov dword [ebp - 0x14], ebx
adc edi, edx
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
jmp 0x1005e915
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.10067600
test al, al
jne 0x1005e820
jmp 0x1005e930
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1005e948
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1005e948
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ea1d
lea ecx, [ebp + 0x58]
call fcn.100056b0
mov byte [ebp - 4], 9
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100710d0
test al, al
je 0x1005e991
lea ecx, [ebp + 0x58]
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ea11
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
lea ecx, [ebp + 0x40]
call fcn.10070c90
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x1005ea23
xor edx, edx
lea ecx, [ebp + 0x40]
call fcn.10070bd0
lea ecx, [ebp + 0x40]
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ea1d
lea ecx, [ebp + 0x58]
call fcn.100056b0
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.100710d0
test al, al
je 0x1005e9f8
lea ecx, [ebp + 0x58]
call fcn.10006600
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ea11
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x40]
call fcn.10070bd0
jmp 0x1005ea23
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ae0
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1005ea3f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1005ea3f
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.100fc65e
add esp, 8
mov dword [ebp + 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.10004ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10004ae0
mov eax, ebx
mov edx, edi
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.100fc1a9
lea esp, [ebp + 0x78]
pop ebp
ret