Function at 0x1084ff4
Capabilities:
Delete file
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x844
mov eax, dword [0x1099a38]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push edi
xor edi, edi
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x14]
inc ecx
or ebx, 0xffffffff
cmp dword [0x10bd104], edi
mov dword [ebp - 0x844], eax
mov dword [ebp - 0x828], 0x8000ffff
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x834], edi
jne 0x1085051
xor eax, eax
jmp 0x10852a8
push esi
mov edx, 0x102ab04
call fcn.01081c57
push 0x102aaec
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, edi
mov dword [ebp - 0x830], eax
je 0x108521c
push 0x102aad8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
mov dword [ebp - 0x83c], eax
je 0x108521c
mov esi, 0x104
push esi
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x20c]
push eax
push edi
push 0x102aad0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
push 0x80
push 4
push edi
push 1
push 0x40000000
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10850fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102aa94
mov dword [ebp - 0x828], eax
call fcn.01071ac0
pop ecx
pop ecx
jmp 0x108523e
push dword [0x1099eac]
mov dword [ebp - 0x834], 1
push ebx
call fcn.01084bca
test eax, eax
je 0x108523a
push dword [ebp - 0x844]
push ebx
call fcn.01084bca
test eax, eax
je 0x108523a
push 0x20
push ebx
call fcn.01084d56
test eax, eax
je 0x108523a
push 0x40
push ebx
call fcn.01084d56
test eax, eax
je 0x108523a
push 0x80
push ebx
call fcn.01084d56
test eax, eax
je 0x108523a
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x838]
lea eax, [ebp - 0x414]
push eax
push 0x102aa5c
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.01084d2d
push dword [ebp - 0x840]
lea eax, [ebp - 0x414]
push eax
push 0x102aa2c
lea eax, [ebp - 0x824]
push esi
push eax
call fcn.01084d2d
mov eax, dword [ebp + 0x10]
add esp, 0x28
push edi
push edi
neg eax
push edi
sbb eax, eax
push 0xe0
add eax, 0x12
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [ebp - 0x83c]
mov esi, eax
cmp esi, edi
je 0x1085209
push esi
push 0x102aa04
call fcn.01071ac0
pop ecx
pop ecx
push esi
call fcn.01084c3c
cmp eax, edi
jle 0x1085201
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x828], eax
jmp 0x1085214
call fcn.01084c13
mov dword [ebp - 0x828], edi
mov dword [ebp - 0x82c], edi
jmp 0x108524d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102a9d4
call fcn.01071ac0
pop ecx
pop ecx
call fcn.01084c13
mov dword [ebp - 0x828], edi
cmp ebx, edi
je 0x1085245
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x834], edi
je 0x108525a
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x830], edi
je 0x108526e
push dword [ebp - 0x830]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ecx, ecx
mov edx, 0x102a9b4
inc ecx
call fcn.01081c57
cmp dword [ebp - 0x82c], edi
je 0x10852a1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x1085293
call esi
jmp 0x10852a7
call esi
and eax, 0xffff
or eax, 0x80070000
jmp 0x10852a7
mov eax, dword [ebp - 0x828]
pop esi
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.0106bc50
leave
ret 0x10