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

Disassembly:
push ebp
sub esp, 0x414
lea ebp, [esp - 4]
mov eax, dword [0x54b3f0]
xor eax, ebp
mov dword [ebp + 0x414], eax
push 0x3c
mov eax, 0x505471
call fcn.004d99c6
xor eax, eax
push 0x208
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.004d8ce0
mov eax, dword [0x54b064]
mov esi, 0x54b064
add esp, 0xc
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp + 0x20c], ax
lea eax, [ebp + 0x20e]
push edi
push eax
call fcn.004d8ce0
add esp, 0xc
push 0x530098
lea eax, [ebp - 0x24]
push eax
call fcn.00403b4c
mov byte [ebp - 4], 1
mov eax, dword [0x54b064]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x104
lea eax, [ebp + 0x20c]
push eax
push edi
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp + 0x20c]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x42a29e
sub eax, ecx
sar eax, 1
lea ecx, [ebp + 0x20c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.00403d01
push 0x5c
lea esi, [ebp - 0x14]
call fcn.0041c42c
mov ecx, eax
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0041c44a
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00402e7b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00403eb2
mov eax, dword [ebp - 0x14]
mov edi, dword [eax - 0xc]
push 0x5c
call fcn.0041c42c
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
dec ecx
mov eax, esi
call fcn.004235af
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00402e7b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00403eb2
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ebx, dword [ebp - 0x14]
test eax, eax
js 0x42a3aa
lea eax, [ebp - 0x28]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x42a3aa
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42a366
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp]
push eax
push 0x53009c
lea eax, [ebp - 0x18]
call fcn.0042382e
pop ecx
pop ecx
push 0x5300a4
lea eax, [ebp - 0x18]
push eax
call fcn.0041c40e
push dword [ebx - 0xc]
lea eax, [ebp - 0x18]
push ebx
call fcn.0041cc26
push 0x5300a8
lea eax, [ebp - 0x18]
push eax
call fcn.0041c40e
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x42a432
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x48], 0
and dword [ebp - 0x3c], 0
push 0x14
pop eax
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x42a432
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0xd], 0
lea eax, [ebx - 0x10]
call fcn.00403eb2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00403eb2
lea eax, [esi - 0x10]
call fcn.00403eb2
mov al, byte [ebp - 0xd]
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.004d57db
add ebp, 0x418
leave
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 0xd], 1
jmp 0x42a3f1