Function at 0x4091f0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dace0
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x522008]
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 - 0x40]
movlpd qword [ebp - 0x90], xmm0
call fcn.00402250
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x40]
call fcn.0040b2d0
lea ecx, [ebp - 0x80]
call fcn.00411230
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x94], 0
call fcn.004b5975
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push 0x502660
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00409c90
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x94]
call fcn.00411650
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
mov esi, dword [ebp - 0x94]
test bl, bl
je 0x4094be
lea ecx, [ebp - 0x80]
call fcn.00411320
test al, al
jne 0x409365
mov eax, dword [ebp - 0x60]
and eax, 0x10
or eax, 0
je 0x4092ee
mov al, 1
jmp 0x4092f0
xor al, al
test al, al
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
je 0x40932f
call fcn.00409d40
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.004091f0
mov ebx, eax
mov edi, edx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
jmp 0x40937d
call fcn.00409d40
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.00411f90
movzx eax, al
cdq
mov ebx, eax
mov dword [ebp - 0x8c], eax
mov edi, edx
mov dword [ebp - 0x84], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
jmp 0x40937d
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x90]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], ebx
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00411390
test al, al
je 0x4094ca
mov edi, dword [ebp - 0x60]
and edi, 0x10
mov eax, edi
or eax, 0
je 0x4093a1
mov al, 1
jmp 0x4093a3
xor al, al
test al, al
je 0x4093fc
lea ecx, [ebp - 0x58]
call fcn.00402120
test al, al
jne 0x4093fc
lea ecx, [ebp - 0x58]
call fcn.00402330
mov ebx, eax
cmp dword [ebx + 0x14], 8
jb 0x4093c5
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x4093fc
lea ecx, [ebp - 0x58]
call fcn.004023a0
cmp eax, 1
je 0x40949d
cmp dword [ebx + 0x14], 8
jb 0x4093e4
mov ebx, dword [ebx]
cmp word [ebx + 2], 0x2e
jne 0x4093fc
lea ecx, [ebp - 0x58]
call fcn.004023a0
cmp eax, 2
je 0x40949d
or edi, 0
je 0x409405
mov al, 1
jmp 0x409407
xor al, al
test al, al
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x58]
push eax
je 0x409458
lea ecx, [ebp - 0xac]
call fcn.00409d40
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.004091f0
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x84]
add ebx, eax
mov dword [ebp - 0x8c], ebx
adc edi, edx
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xac]
call fcn.00401f40
jmp 0x4094a9
lea ecx, [ebp - 0x28]
call fcn.00409d40
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00411f90
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x84]
movzx eax, al
cdq
add ebx, eax
mov dword [ebp - 0x8c], ebx
adc edi, edx
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
jmp 0x4094a9
mov edi, dword [ebp - 0x84]
mov ebx, dword [ebp - 0x8c]
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00411390
test al, al
jne 0x409390
jmp 0x4094ca
mov edi, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x90]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4094e2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4094e2
mov dword [esi], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402130
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4095bd
lea ecx, [ebp - 0x28]
call fcn.00402230
mov byte [ebp - 4], 9
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004123e0
test al, al
je 0x40952b
lea ecx, [ebp - 0x28]
call fcn.00402130
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4095b1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
lea ecx, [ebp - 0x40]
call fcn.00411c80
mov dword [ebp - 0x84], eax
cmp eax, 0xffffffff
je 0x4095c3
xor edx, edx
lea ecx, [ebp - 0x40]
call fcn.00411bc0
lea ecx, [ebp - 0x40]
call fcn.00402130
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4095bd
lea ecx, [ebp - 0x28]
call fcn.00402230
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.004123e0
test al, al
je 0x409595
lea ecx, [ebp - 0x28]
call fcn.00402130
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x4095b1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x40]
call fcn.00411bc0
jmp 0x4095c3
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00401f40
add ebx, 1
adc edi, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x4095df
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4095df
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.004b5c3f
add esp, 8
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00401f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401f40
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 - 0x10]
xor ecx, ebp
call fcn.004b5964
mov esp, ebp
pop ebp
ret