Function at 0x4095c0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file

Disassembly:
push 0xffffffffffffffff
push 0x42928e
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x436ee0]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436ee0]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
mov dword [esi], vtable.CUnpackerHelper.0
mov dword [esp + 0x44], 1
call fcn.004023a0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call ebx
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
push 0xffffffffffffffff
push 0
lea edi, [esi + 0x104]
push edi
lea ecx, [esp + 0x28]
mov byte [esp + 0x50], 2
call fcn.004025d0
mov ecx, esi
call fcn.00401860
lea ecx, [esp + 0x1c]
test eax, eax
je 0x40965e
push 6
push str._amd64
jmp 0x409665
push 4
push str.x86
call fcn.00402790
push 0x1f4
call ebx
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x409680
lea eax, [esp + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push eax
call ebp
cmp eax, 0xffffffff
je 0x4096fc
and eax, 0x10
je 0x4096fc
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4096a2
lea eax, [esp + 0x20]
push eax
push str.Remove_directory:
mov ecx, esi
call fcn.00401da0
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4096be
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x4096fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x4096fc
cmp dword [esp + 0x34], 0x10
mov eax, dword [esp + 0x20]
jae 0x4096e3
lea eax, [esp + 0x20]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0
push str.Remove_directory_during_next_booting_
mov ecx, esi
call fcn.00401da0
push 0x1f4
call ebx
mov ebx, 0x10
cmp dword [edi + 0x18], ebx
jb 0x409712
mov eax, dword [edi + 4]
jmp 0x409715
lea eax, [edi + 4]
push eax
call ebp
cmp eax, 0xffffffff
je 0x409784
and eax, ebx
je 0x409784
cmp dword [edi + 0x18], ebx
jb 0x40972b
mov eax, dword [edi + 4]
jmp 0x40972e
lea eax, [edi + 4]
push eax
push str.Remove_directory:
mov ecx, esi
call fcn.00401da0
cmp dword [edi + 0x18], ebx
jb 0x409745
mov eax, dword [edi + 4]
jmp 0x409748
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x409784
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x409784
cmp dword [edi + 0x18], ebx
jb 0x409768
mov eax, dword [edi + 4]
jmp 0x40976b
lea eax, [edi + 4]
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0
push str.Remove_directory_during_next_booting_
mov ecx, esi
call fcn.00401da0
push 0
push str.Done.
mov ecx, esi
call fcn.00401da0
cmp dword [esp + 0x34], ebx
jb 0x4097a5
mov eax, dword [esp + 0x20]
push eax
call fcn.0040e8fb
add esp, 4
mov ebp, 0xf
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
cmp dword [edi + 0x18], ebx
jb 0x4097cc
mov eax, dword [edi + 4]
push eax
call fcn.0040e8fb
add esp, 4
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], 0
mov ecx, esi
mov byte [edi + 4], 0
mov dword [esp + 0x44], 0xffffffff
call fcn.00405b50
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00418f7f
add esp, 0x34
ret