Function at 0x41ac70
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f220
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5a800c]
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.00402430
mov dword [ebp - 4], 0
mov edx, 0x10
lea ecx, [ebp - 0x40]
call fcn.0041ed10
lea ecx, [ebp - 0x80]
call fcn.00421f00
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x84], 0
call fcn.0055953d
add esp, 4
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 3
lea edx, [ebp - 0x40]
push 0x57ebd8
lea ecx, [ebp - 0x28]
call fcn.0040fde0
add esp, 4
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x80]
push ecx
push eax
lea ecx, [ebp - 0x84]
call fcn.00422940
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402400
mov esi, dword [ebp - 0x84]
test bl, bl
je 0x41aebe
lea ecx, [ebp - 0x80]
call fcn.00421ff0
test al, al
jne 0x41adb7
mov eax, dword [ebp - 0x60]
and eax, 0x10
or eax, 0
je 0x41ad68
mov al, 1
jmp 0x41ad6a
xor al, al
test al, al
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x28]
push eax
je 0x41ad9d
call fcn.0040fc00
add esp, 4
mov byte [ebp - 4], 5
mov ecx, eax
call fcn.0041ac70
mov edi, eax
mov ebx, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402400
jmp 0x41adc3
call fcn.0040fc00
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.0042c740
movzx eax, al
cdq
jmp 0x41ad8b
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00422680
test al, al
je 0x41aeca
mov edx, dword [ebp - 0x60]
and edx, 0x10
mov eax, edx
or eax, 0
je 0x41ade7
mov al, 1
jmp 0x41ade9
xor al, al
test al, al
je 0x41ae3f
lea ecx, [ebp - 0x58]
call fcn.00402520
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x41ae3f
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x88], eax
jb 0x41ae10
mov esi, dword [eax]
mov dword [ebp - 0x88], esi
mov esi, dword [ebp - 0x88]
cmp word [esi], 0x2e
mov esi, dword [ebp - 0x84]
jne 0x41ae3f
cmp ecx, 1
je 0x41aea9
cmp dword [eax + 0x14], 8
jb 0x41ae33
mov eax, dword [eax]
cmp word [eax + 2], 0x2e
jne 0x41ae3f
cmp ecx, 2
je 0x41aea9
or edx, 0
je 0x41ae48
mov al, 1
jmp 0x41ae4a
xor al, al
test al, al
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x58]
push eax
je 0x41ae7e
lea ecx, [ebp - 0xa8]
call fcn.0040fc00
add esp, 4
mov byte [ebp - 4], 7
mov ecx, eax
call fcn.0041ac70
add edi, eax
adc ebx, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
jmp 0x41aea4
lea ecx, [ebp - 0x28]
call fcn.0040fc00
add esp, 4
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.0042c740
movzx eax, al
cdq
add edi, eax
adc ebx, edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402400
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.00422680
test al, al
jne 0x41add6
jmp 0x41aeca
mov ebx, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x90]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41aee2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41aee2
mov dword [esi], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41afbb
lea ecx, [ebp - 0x28]
call fcn.00402410
mov byte [ebp - 4], 9
mov edx, ecx
lea ecx, [ebp - 0x40]
call fcn.0042cbb0
test al, al
je 0x41af2a
lea ecx, [ebp - 0x28]
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41afaf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402400
lea ecx, [ebp - 0x40]
call fcn.0042c590
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
je 0x41afc1
xor edx, edx
lea ecx, [ebp - 0x40]
call fcn.0042c4d0
lea ecx, [ebp - 0x40]
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41afbb
lea ecx, [ebp - 0x28]
call fcn.00402410
mov byte [ebp - 4], 0xa
mov edx, ecx
lea ecx, [ebp - 0x40]
call fcn.0042cbb0
test al, al
je 0x41af93
lea ecx, [ebp - 0x28]
call fcn.004023c0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x41afaf
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402400
mov edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x40]
call fcn.0042c4d0
jmp 0x41afc1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00402400
add edi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x41afdd
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x41afdd
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.005597ea
add esp, 8
mov dword [ebp - 0x84], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402400
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00402400
mov eax, edi
mov edx, ebx
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.0055929f
mov esp, ebp
pop ebp
ret