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

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x58e700]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x3c
mov eax, 0x5333b9
call fcn.005078b1
xor eax, eax
xor ebx, ebx
push 0x208
mov word [ebp], ax
lea eax, [ebp + 2]
push ebx
push eax
mov dword [ebp - 0x24], ebx
call fcn.00507270
add esp, 0xc
call fcn.00450719
push eax
lea ecx, [ebp - 0x14]
call fcn.00450547
xor eax, eax
mov dword [ebp - 4], ebx
push 0x206
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push ebx
push eax
call fcn.00507270
add esp, 0xc
lea ecx, [ebp - 0x1c]
push 0x56be6c
call fcn.00450bd2
mov byte [ebp - 4], 1
call fcn.00450719
push eax
lea ecx, [ebp - 0x10]
call fcn.00450547
push 0x104
lea eax, [ebp + 0x20c]
mov byte [ebp - 4], 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp + 0x20c]
call fcn.00450b98
push eax
lea eax, [ebp + 0x20c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450b0c
mov esi, dword [ebp - 0x10]
push 0x5c
push esi
call fcn.005064d2
pop ecx
or edi, 0xffffffff
pop ecx
test eax, eax
jne 0x4832d1
mov eax, edi
jmp 0x4832d5
sub eax, esi
sar eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.004719a8
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0044f86f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00450c99
mov ebx, dword [esi - 0xc]
push 0x5c
push esi
call fcn.005064d2
pop ecx
pop ecx
test eax, eax
je 0x483315
mov edi, eax
sub edi, esi
sar edi, 1
sub ebx, edi
lea eax, [ebp - 0x18]
dec ebx
lea ecx, [ebp - 0x10]
push ebx
push eax
call fcn.0047c2c8
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0044f86f
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00450c99
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ebx, dword [ebp - 0x10]
test eax, eax
js 0x4833dc
lea eax, [ebp - 0x28]
push eax
push 0x10
xor eax, eax
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x4833dc
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x483386
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp]
push eax
lea eax, [ebp - 0x14]
push 0x56be78
push eax
call fcn.0047c6cf
add esp, 0xc
mov esi, 0x56be74
mov ecx, esi
call fcn.00450b98
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00471eaf
push dword [ebx - 0xc]
lea ecx, [ebp - 0x14]
push ebx
call fcn.00471eaf
mov esi, str..lnk
mov ecx, esi
call fcn.00450b98
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.00471eaf
mov esi, dword [ebp - 0x14]
xor edx, edx
cmp dword [esi - 0xc], edx
je 0x483420
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
push 0x14
stosw word es:[edi], ax
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x483420
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x48342a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 0x24], 1
lea ecx, [ebx - 0x10]
call fcn.00450c99
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00450c99
lea ecx, [esi - 0x10]
call fcn.00450c99
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x414]
xor ecx, ebp
call fcn.005026fe
lea esp, [ebp + 0x418]
pop ebp
ret