Function at 0x42a2b3
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, 0x5053fb
call fcn.004d9926
xor eax, eax
push 0x208
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
call fcn.004d8c50
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.004d8c50
add esp, 0xc
push 0x5300c8
lea eax, [ebp - 0x24]
push eax
call fcn.00403b0d
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 0x42a369
sub eax, ecx
sar eax, 1
lea ecx, [ebp + 0x20c]
mov ebx, eax
push ecx
lea eax, [ebp - 0x14]
call fcn.00403cc2
push 0x5c
lea esi, [ebp - 0x14]
call fcn.0041c405
mov ecx, eax
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.0041c423
lea edi, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.00402e04
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00403e7d
mov eax, dword [ebp - 0x14]
mov edi, dword [eax - 0xc]
push 0x5c
call fcn.0041c405
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x1c]
push eax
dec ecx
mov eax, esi
call fcn.00423557
mov edi, esi
mov byte [ebp - 4], 4
call fcn.00402e04
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00403e7d
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov ebx, dword [ebp - 0x14]
test eax, eax
js 0x42a475
lea eax, [ebp - 0x28]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x42a475
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jne 0x42a431
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 0x5300cc
lea eax, [ebp - 0x18]
call fcn.00423911
pop ecx
pop ecx
push 0x5300d4
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3e7
push dword [ebx - 0xc]
lea eax, [ebp - 0x18]
push ebx
call fcn.0041cbff
push 0x5300d8
lea eax, [ebp - 0x18]
push eax
call fcn.0041c3e7
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x42a4fd
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 0x42a4fd
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 0xd], 0
lea eax, [ebx - 0x10]
call fcn.00403e7d
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.00403e7d
lea eax, [esi - 0x10]
call fcn.00403e7d
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.004d574b
add ebp, 0x418
leave
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 0xd], 1
jmp 0x42a4bc