Function at 0x415890
Capabilities:
Delete directory
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x8c
push 0xffffffffffffffff
push 0x52cdd1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x592884]
xor eax, ebp
mov dword [ebp + 0x88], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x94]
lea ecx, [ebp + 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
push eax
movlpd qword [ebp - 0x1c], xmm0
call fcn.0040e0d0
mov dword [ebp - 4], 0
lea eax, [ebp + 0x58]
push 0x10
push eax
call fcn.00418410
add esp, 8
lea ecx, [ebp]
call fcn.0042c4a0
mov byte [ebp - 4], 1
push 4
mov dword [ebp - 0x20], 0
call fcn.004f6f66
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
lea eax, [ebp + 0x58]
push 0x5648f8
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.00416870
add esp, 0x10
mov byte [ebp - 4], 4
lea ecx, [ebp]
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.0042c8e0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
mov esi, dword [ebp - 0x20]
test bl, bl
je 0x415cf3
lea ecx, [ebp]
call fcn.0042c5b0
test al, al
jne 0x4159f6
mov eax, dword [ebp + 0x20]
and eax, 0x10
or eax, 0
je 0x41598e
mov al, 1
jmp 0x415990
xor al, al
test al, al
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp + 0x58]
push eax
lea eax, [ebp + 0x70]
push eax
je 0x4159c8
call fcn.00416920
mov byte [ebp - 4], 5
push eax
call fcn.00415890
mov edi, eax
mov dword [ebp - 0x14], edx
add esp, 0x10
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
jmp 0x415a02
call fcn.00416920
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x70]
call fcn.00433b30
movzx eax, al
cdq
mov edi, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
jmp 0x415a02
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edi
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.0042c620
test al, al
je 0x415bc8
lea ecx, [ebp + 0x28]
call fcn.00404d50
mov ebx, eax
nop
mov edi, dword [ebp + 0x20]
and edi, 0x10
mov ecx, edi
or ecx, 0
je 0x415a31
mov al, 1
jmp 0x415a33
xor al, al
test al, al
je 0x415a86
lea ecx, [ebp + 0x28]
call fcn.0040df80
test al, al
jne 0x415a86
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x415a4d
mov eax, dword [ebx]
cmp word [eax], 0x2e
jne 0x415a86
lea ecx, [ebp + 0x28]
call fcn.0040e3b0
cmp eax, 1
je 0x415bb2
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x415a6e
mov eax, dword [ebx]
cmp word [eax + 2], 0x2e
jne 0x415a86
lea ecx, [ebp + 0x28]
call fcn.0040e3b0
cmp eax, 2
je 0x415bb2
or edi, 0
je 0x415a8f
mov al, 1
jmp 0x415a91
xor al, al
test al, al
je 0x415b28
mov byte [ebp - 4], 7
lea ecx, [ebp + 0x70]
call fcn.0040e0b0
or dword [ebp - 0x10], 1
lea ecx, [ebp + 0x28]
mov dword [ebp - 0x24], eax
call fcn.0040e3b0
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.0040e3b0
add edi, eax
lea ecx, [ebp + 0x70]
push edi
call fcn.00416a20
lea ecx, [ebp + 0x58]
call fcn.00404d50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x415adb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x70]
call fcn.0040e7f0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x415af1
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp + 0x70]
push eax
call fcn.0040e7f0
push dword [ebp - 0x24]
call fcn.00415890
mov edi, dword [ebp - 0x18]
add esp, 4
add edi, eax
mov dword [ebp - 0x18], edi
adc dword [ebp - 0x14], edx
and dword [ebp - 0x10], 0xfffffffe
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
jmp 0x415bb5
mov byte [ebp - 4], 8
lea ecx, [ebp + 0x40]
call fcn.0040e0b0
or dword [ebp - 0x10], 2
lea ecx, [ebp + 0x28]
call fcn.0040e3b0
lea ecx, [ebp + 0x58]
mov edi, eax
call fcn.0040e3b0
add edi, eax
lea ecx, [ebp + 0x40]
push edi
call fcn.00416a20
lea ecx, [ebp + 0x58]
call fcn.00404d50
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x415b67
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp + 0x40]
call fcn.0040e7f0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x415b7d
mov eax, dword [ebx]
push dword [ebx + 0x10]
lea ecx, [ebp + 0x40]
push eax
call fcn.0040e7f0
lea ecx, [ebp + 0x40]
call fcn.00433b30
mov edi, dword [ebp - 0x18]
movzx eax, al
cdq
add edi, eax
mov dword [ebp - 0x18], edi
adc dword [ebp - 0x14], edx
and dword [ebp - 0x10], 0xfffffffd
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.0040abd0
jmp 0x415bb5
mov edi, dword [ebp - 0x18]
lea eax, [ebp]
mov ecx, esi
push eax
call fcn.0042c620
test al, al
jne 0x415a20
mov ebx, dword [ebp - 0x14]
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x415be3
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x415be3
mov dword [esi], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415d0a
lea ecx, [ebp + 0x70]
call fcn.0040e0b0
mov byte [ebp - 4], 9
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.00433fe0
test al, al
je 0x415c2c
lea ecx, [ebp + 0x70]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415cfe
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
lea ecx, [ebp + 0x58]
call fcn.00433880
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
je 0x415d10
push 0
lea ecx, [ebp + 0x58]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x415c99
lea ecx, [ebp + 0x70]
call fcn.0040e0b0
mov byte [ebp - 4], 0xa
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.00433fe0
test al, al
je 0x415c8d
push 0
lea ecx, [ebp + 0x70]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
lea ecx, [ebp + 0x58]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415d0a
lea ecx, [ebp + 0x70]
call fcn.0040e0b0
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x70]
lea ecx, [ebp + 0x58]
call fcn.00433fe0
test al, al
je 0x415cda
lea ecx, [ebp + 0x70]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x415cfe
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
mov edx, dword [ebp - 0x24]
lea ecx, [ebp + 0x58]
call fcn.004337d0
jmp 0x415d10
mov ebx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
jmp 0x415bcb
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x70]
call fcn.0040abd0
add edi, 1
adc ebx, 0
mov byte [ebp - 4], 1
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x415d2c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x415d2c
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.004f7230
add esp, 8
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x28]
call fcn.0040abd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x58]
call fcn.0040abd0
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 + 0x88]
xor ecx, ebp
call fcn.004f6f55
lea esp, [ebp + 0x8c]
pop ebp
ret