Function at 0x415f30
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66cfd0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x726100]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x4163b7
lea ecx, [ebp + 8]
call fcn.0040fed0
test al, al
jne 0x4163b7
sub esp, 8
mov edi, esp
mov dword [ebp - 0x14], edi
lea esi, [edi + 4]
mov dword [ebp - 0x14], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00404750
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov dword [edi], vtable.CPathEx.0
call fcn.00414f20
add esp, 8
test al, al
jne 0x415fb7
mov bl, 1
jmp 0x4163b9
push 0xa
lea ecx, [ebp - 0x74]
call fcn.0042aec5
push 0
push 0x10
push 0x10
sub esp, 8
mov byte [ebp - 4], 2
mov edi, esp
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov dword [edi], vtable.CStringEx.0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 3
push eax
sub esp, 8
mov edi, esp
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov dword [edi], vtable.CPathEx.0
mov byte [ebp - 4], 2
call fcn.00418d10
mov ebx, dword [ebp - 0x70]
add esp, 0x20
test ebx, ebx
je 0x4161e9
nop dword [eax]
mov eax, ebx
test ebx, ebx
je 0x41638a
mov eax, dword [eax + 8]
mov ebx, dword [ebx]
sub eax, 0x10
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - 0x24], vtable.CPathEx.0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 4
push 0x6913ac
push eax
call fcn.0040e650
add esp, 0xc
test al, al
jne 0x4161d5
lea eax, [ebp - 0x20]
push 0x691aac
push eax
call fcn.0040e650
add esp, 8
test al, al
jne 0x4161d5
sub esp, 8
mov edi, esp
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x34]
mov dword [edi], vtable.CISPath.0
push eax
call fcn.0040ea30
mov byte [ebp - 4], 5
test eax, eax
je 0x4160df
add eax, 4
mov dword [ebp - 0x14], eax
jmp 0x4160e6
mov dword [ebp - 0x14], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x691db8
call fcn.00403070
sub esp, 8
mov byte [ebp - 4], 6
mov edi, esp
mov dword [ebp - 0x1c], edi
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00404750
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov dword [edi], vtable.CPathEx.0
mov byte [ebp - 4], 5
call fcn.00415f30
mov edx, dword [ebp - 0x30]
add esp, 0xc
test al, al
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], vtable.CStringEx.0
sete byte [ebp - 0xd]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41615c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x416376
sub esp, 8
mov edi, esp
mov dword [ebp - 0x1c], edi
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x3c]
mov dword [edi], vtable.CISPath.0
push eax
call fcn.0040ea30
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edx, dword [ebp - 0x38]
test eax, eax
mov dword [ebp - 0x3c], vtable.CStringEx.0
sete byte [ebp - 0xd]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4161cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x416376
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004117a0
test ebx, ebx
jne 0x416040
push 0xa
lea ecx, [ebp - 0x58]
call fcn.0042aec5
push 0
push 0x10
push 0xffffffffffffffef
sub esp, 8
mov byte [ebp - 4], 7
lea eax, [ebp + 0x10]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.00413000
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 8
push eax
sub esp, 8
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00412fc0
mov byte [ebp - 4], 7
call fcn.00418d10
mov ebx, dword [ebp - 0x54]
add esp, 0x20
test ebx, ebx
je 0x4163a3
nop dword [eax + eax]
mov eax, ebx
test ebx, ebx
je 0x41638a
mov eax, dword [eax + 8]
mov ebx, dword [ebx]
sub eax, 0x10
push eax
call fcn.00404750
add eax, 0x10
mov dword [ebp - 0x2c], vtable.CPathEx.0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push 0x6913ac
push eax
call fcn.0040e650
add esp, 0xc
test al, al
jne 0x41638f
lea eax, [ebp - 0x28]
push 0x691aac
push eax
call fcn.0040e650
add esp, 8
test al, al
jne 0x41638f
push 0x80
sub esp, 8
mov edi, esp
mov dword [ebp - 0x1c], edi
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x3c]
mov dword [edi], vtable.CISPath.0
push eax
call fcn.0040ea30
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [ebp - 0x38]
or eax, 0xffffffff
mov dword [ebp - 0x3c], vtable.CStringEx.0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4162ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub esp, 8
mov edi, esp
mov dword [ebp - 0x1c], edi
lea esi, [edi + 4]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
push eax
call fcn.00404750
add eax, 0x10
lea ecx, [ebp + 8]
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x34]
mov dword [edi], vtable.CISPath.0
push eax
call fcn.0040ea30
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 0x30]
test eax, eax
mov dword [ebp - 0x34], vtable.CStringEx.0
sete byte [ebp - 0xd]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416364
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
lea ecx, [ebp - 0x2c]
je 0x416392
call fcn.004117a0
xor bl, bl
jmp 0x4163a5
lea ecx, [ebp - 0x24]
call fcn.004117a0
lea ecx, [ebp - 0x74]
xor bl, bl
call fcn.0042aeeb
jmp 0x4163b9
call fcn.00425820
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.004117a0
test ebx, ebx
jne 0x416240
mov bl, 1
lea ecx, [ebp - 0x58]
call fcn.0042aeeb
lea ecx, [ebp - 0x74]
call fcn.0042aeeb
jmp 0x4163b9
xor bl, bl
lea ecx, [ebp + 8]
call fcn.004117a0
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4163e3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret