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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x434
mov eax, dword [0x10a6184]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x1c]
and dword [ebp - 0x420], 0
or dword [ebp - 0x418], 0xffffffff
mov dword [ebp - 0x430], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x434], eax
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x41c], 0x80004005
test eax, eax
je 0x1083e21
mov eax, 0x104
cmp dword [ebp + 0x18], eax
jb 0x1083e21
push ebx
xor edx, edx
push esi
push edi
mov word [ebp - 0x414], dx
mov word [ebp - 0x20c], dx
test ecx, ecx
jne 0x1083c54
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0108230c
mov dword [ebp - 0x41c], eax
test eax, eax
jge 0x1083c48
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1083df8
test byte [eax + 0x1c], 1
je 0x1083df8
push dword [ebp - 0x41c]
push 0x1011f78
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
jmp 0x1083df8
lea eax, [ebp - 0x414]
mov dword [ebp - 0x42c], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, 0x80
mov edi, 0xc0000000
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1012274
push dword [ebp - 0x42c]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1083d60
cmp dword [ebp - 0x424], 0
je 0x1083cfa
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x424]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01070f43
test eax, eax
jge 0x1083ce1
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1083ce1
test byte [eax + 0x1c], 1
je 0x1083ce1
push dword [ebp - 0x41c]
push 0x1011f78
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010160ad
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 0x24]
push 0
or eax, ebx
push eax
push 1
jmp 0x1083d04
mov eax, dword [ebp + 0x24]
push 0
or eax, ebx
push eax
push 2
push dword [ebp - 0x428]
lea eax, [ebp - 0x20c]
push dword [ebp + 0x20]
push edi
push eax
call esi
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
jne 0x1083d93
mov eax, dword [ebp + 0x24]
or eax, 0x2080
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1083d60
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1083d60
test byte [eax + 0x1c], 2
je 0x1083d60
push 0x1011f78
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
inc dword [ebp - 0x420]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x420], 0x32
jb 0x1083c64
cmp dword [ebp - 0x418], 0xffffffff
jne 0x1083d93
mov dword [ebp - 0x41c], 0x80004005
jmp 0x1083e16
push dword [ebp + 0x18]
lea eax, [ebp - 0x20c]
push dword [ebp - 0x434]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x1083dc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0107f957
mov dword [ebp - 0x41c], eax
jmp 0x1083df8
mov eax, dword [ebp - 0x430]
test eax, eax
je 0x1083dd5
mov ecx, dword [ebp - 0x418]
mov dword [eax], ecx
jmp 0x1083df1
cmp dword [ebp - 0x418], 0xffffffff
je 0x1083df1
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x418], 0xffffffff
and dword [ebp - 0x41c], 0
cmp dword [ebp - 0x41c], 0
jge 0x1083e16
cmp dword [ebp - 0x418], 0xffffffff
je 0x1083e16
push dword [ebp - 0x418]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x41c]
pop edi
pop esi
pop ebx
jmp 0x1083e4a
mov eax, dword [0x10a60d8]
cmp eax, 0x10a60d8
je 0x1083e45
test byte [eax + 0x1c], 1
je 0x1083e45
push 0x1011f78
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01015b76
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01039921
leave
ret 0x20