Function at 0x1005e950
Capabilities:
Delete directory

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x78
push 0xffffffffffffffff
push 0x101322c7
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10194008]
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.10004ac0
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp + 0x40]
call fcn.1005f180
lea ecx, [ebp]
call fcn.10067490
mov byte [ebp - 4], 1
push 4
mov dword [ebp + 0x70], 0
call fcn.100fc4bd
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 0x1015c920
lea ecx, [ebp + 0x58]
call fcn.10018450
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp + 0x70]
call fcn.10067ac0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ab0
mov esi, dword [ebp + 0x70]
test bl, bl
je 0x1005ebca
lea ecx, [ebp]
call fcn.10067570
test al, al
jne 0x1005eaa0
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x1005ea35
mov al, 1
jmp 0x1005ea37
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
lea ecx, [ebp + 0x58]
push eax
je 0x1005ea70
call fcn.1001d770
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.1005e950
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.10004ab0
jmp 0x1005eaac
call fcn.1001d770
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x58]
call fcn.10070fd0
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.10004ab0
jmp 0x1005eaac
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.100678a0
test al, al
je 0x1005ebd0
nop
mov edi, dword [ebp + 0x20]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x1005ead1
mov al, 1
jmp 0x1005ead3
xor al, al
test al, al
je 0x1005eb2c
lea ecx, [ebp + 0x28]
call fcn.100055f0
test al, al
jne 0x1005eb2c
lea ecx, [ebp + 0x28]
call fcn.10004ba0
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x1005eaf5
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x1005eb2c
lea ecx, [ebp + 0x28]
call fcn.10004a70
cmp eax, 1
je 0x1005ebaf
cmp dword [ebx + 0x14], 8
jb 0x1005eb14
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x1005eb2c
lea ecx, [ebp + 0x28]
call fcn.10004a70
cmp eax, 2
je 0x1005ebaf
or edi, 0
je 0x1005eb35
mov al, 1
jmp 0x1005eb37
xor al, al
test al, al
lea edx, [ebp + 0x40]
lea eax, [ebp + 0x28]
push eax
je 0x1005eb76
lea ecx, [ebp - 0x30]
call fcn.1001d770
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.1005e950
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.10004ab0
jmp 0x1005ebb5
lea ecx, [ebp + 0x58]
call fcn.1001d770
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x58]
call fcn.10070fd0
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.10004ab0
jmp 0x1005ebb5
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.100678a0
test al, al
jne 0x1005eac0
jmp 0x1005ebd0
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1005ebe8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1005ebe8
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.100065d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ecbd
lea ecx, [ebp + 0x58]
call fcn.10005680
mov byte [ebp - 4], 9
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.10071370
test al, al
je 0x1005ec31
lea ecx, [ebp + 0x58]
call fcn.100065d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ecb1
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ab0
lea ecx, [ebp + 0x40]
call fcn.10070f30
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x1005ecc3
xor edx, edx
lea ecx, [ebp + 0x40]
call fcn.10070e70
lea ecx, [ebp + 0x40]
call fcn.100065d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ecbd
lea ecx, [ebp + 0x58]
call fcn.10005680
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x58]
lea ecx, [ebp + 0x40]
call fcn.10071370
test al, al
je 0x1005ec98
lea ecx, [ebp + 0x58]
call fcn.100065d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1005ecb1
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ab0
mov edx, dword [ebp - 0x10]
lea ecx, [ebp + 0x40]
call fcn.10070e70
jmp 0x1005ecc3
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x58]
call fcn.10004ab0
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x1005ecdf
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x1005ecdf
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.100fc94e
add esp, 8
mov dword [ebp + 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.10004ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x40]
call fcn.10004ab0
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.100fc499
lea esp, [ebp + 0x78]
pop ebp
ret