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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8248
mov eax, dword fs:[0]
push eax
sub esp, 0xe40
mov eax, dword [0x639354]
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.00560a80
add esp, 0xc
lea eax, [ebp - 0x628]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x4b4a09
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b48d2
sub ecx, edx
sar ecx, 1
je 0x4b4a09
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056f8ec
add esp, 0x14
mov esi, esp
mov dword [ebp - 0xe4c], esi
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4b4bbe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
test eax, 0xffff0000
jne 0x4b4954
movzx eax, ax
mov ecx, esi
push eax
call fcn.00429d90
jmp 0x4b497e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4960
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042a060
mov byte [ebp - 4], 0
call fcn.00479f10
push 0x5b9804
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056f877
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056f877
push 0
push 1
lea eax, [ebp - 0x218]
push 1
push eax
call fcn.0047a3e0
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056f8ec
push 0x5c69d0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056f877
add esp, 0x44
lea eax, [ebp - 0x218]
push 0
push 1
push 1
push eax
call fcn.0047a3e0
add esp, 0x10
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00560a80
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
jmp 0x4b4a40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4a40
sub ecx, edx
sar ecx, 1
je 0x4b4b89
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00560a80
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00560a80
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.00560a80
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.00560a80
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0056f8ec
push 0x5c69f8
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0056f877
add esp, 0x48
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.0056f8ec
push 0x5c6a10
lea eax, [ebp - 0xa38]
push 0x104
push eax
call fcn.0056f877
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0056f8ec
push str.WPS
lea eax, [ebp - 0xc40]
push 0x104
push eax
call fcn.0056f877
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xe48]
push 0x104
push eax
call fcn.0056f8ec
push 0x5ca540
lea eax, [ebp - 0xe48]
push 0x104
push eax
call fcn.0056f877
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x830]
add esp, 0x48
push eax
call esi
lea eax, [ebp - 0xa38]
push eax
call esi
lea eax, [ebp - 0xc40]
push eax
call esi
lea eax, [ebp - 0xe48]
push eax
call esi
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b4ba4
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3