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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e5c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc38
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x628]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0054b380
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
add esp, 0xc
push 0
push 2
push eax
push 0
call esi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x4aa626
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa564
sub ecx, edx
sar ecx, 1
je 0x4aa626
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559d1c
push 0x5ad728
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00474ee0
add esp, 0x40
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559d1c
push 0x5bca30
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.00474ee0
add esp, 0x28
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x10
push eax
push 0
call esi
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4aa654
sub ecx, edx
sar ecx, 1
je 0x4aa79d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0054b380
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.0054b380
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559d1c
push 0x5bca58
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00559ca7
add esp, 0x48
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00559d1c
push 0x5bca70
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00559d1c
push str.WPS
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.00559ca7
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.00559d1c
push 0x5c0010
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.00559ca7
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x218]
add esp, 0x48
push eax
call esi
lea eax, [ebp - 0x830]
push eax
call esi
lea eax, [ebp - 0xa38]
push eax
call esi
lea eax, [ebp - 0xc40]
push eax
call esi
mov edx, dword [ebp + 8]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4aa7bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret