Function at 0x410a10
Capabilities:
Delete file
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4557cd
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x46e018]
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
mov dword [ebp - 0x22c], edx
mov esi, ecx
test esi, esi
je 0x410e92
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0042ff40
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push esi
push eax
call fcn.0043bf9d
add esp, 0xc
test eax, eax
je 0x410e92
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x410
jne 0x410e92
test al, 2
je 0x410acc
push 0x80
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x410acc
lea eax, [ebp - 0x220]
push eax
push str.QMTFunction::DeleteFile_setAttri_error_File:_s.
push 0x46eca0
call fcn.004167a0
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.004121c0
test al, al
je 0x410e92
call fcn.00402ca0
test eax, eax
je 0x410eb0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x228]
call fcn.0040f570
test al, al
jne 0x410b44
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410b22
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.0040f7b0
mov dword [ebp - 4], 1
call fcn.00402ca0
mov ecx, eax
test ecx, ecx
je 0x410eb0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
push str.File:
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.0040f570
test al, al
jne 0x410b92
push 5
push str.File:
lea ecx, [ebp - 0x224]
call fcn.0040f7b0
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0x228]
mov esi, dword [ebp - 0x224]
push edi
push esi
push str._s_s
push 0x46eca0
call fcn.004167a0
or ebx, 0xffffffff
add esp, 0x10
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410bd0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410bee
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x224], eax
test eax, eax
jne 0x410e94
cmp dword [ebp - 0x22c], eax
je 0x410e94
call fcn.00402ca0
test eax, eax
je 0x410eb0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 4
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f570
test al, al
jne 0x410c82
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410c60
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f7b0
push 4
lea eax, [ebp - 0x22c]
mov dword [ebp - 4], 5
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f1c0
mov eax, dword [eax]
mov ecx, str..tmp
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410cca
test dx, dx
je 0x410cc6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410cca
add eax, 4
add ecx, 4
test dx, dx
jne 0x410ca4
xor esi, esi
jmp 0x410ccf
sbb esi, esi
or esi, 1
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x22c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410cf0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x230]
test esi, esi
je 0x410e79
mov byte [ebp - 4], 7
call fcn.00402ca0
mov ecx, eax
test ecx, ecx
je 0x410eba
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x228], esi
push 0x5c
push edi
mov byte [ebp - 4], 8
call fcn.0042f8b0
add esp, 8
test eax, eax
jne 0x410d37
or eax, 0xffffffff
jmp 0x410d3b
sub eax, edi
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x230]
call fcn.0040f100
mov byte [ebp - 4], 9
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x410d7c
push 0x104
lea ecx, [ebp - 0x228]
call fcn.004104b0
mov esi, dword [ebp - 0x228]
push esi
push 0
push 0x4644bc
push dword [ebp - 0x22c]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push dword [esi - 8]
mov dword [ebp - 0x234], eax
push esi
call fcn.0043b8cb
add esp, 8
test eax, eax
js 0x410ec4
cmp eax, dword [esi - 8]
jg 0x410ec4
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x234], ecx
jne 0x410de7
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x228]
push str._s.tmp
push eax
call fcn.00412cb0
mov esi, dword [ebp - 0x228]
add esp, 0xc
jmp 0x410dee
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0043c03c
add esp, 8
push 4
push 0
test eax, eax
jne 0x410e0f
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x410e22
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x224], eax
mov edx, dword [ebp - 0x22c]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410e56
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x410e94
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x224]
jmp 0x410e94
push 4
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x224], eax
jmp 0x410e5c
xor eax, eax
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.0042dc42
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410440
push 0x80004005
call fcn.00410440
push 0x80070057
call fcn.00410440
int3