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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 9], cl
mov ebx, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x53be21
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x53bdf7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp eax, 0xffffff9d
je 0x53bb5c
cmp eax, 0x1cfe4f
jl 0x53bb6e
mov edx, 0xa
mov eax, 0x53be3c
call fcn.0051f418
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0xffffff9d
jne 0x53bb81
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x53bd87
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x53bba4
cmp eax, 0xc350
jb 0x53bd87
jmp 0x53bbaa
jl 0x53bd87
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x53bbc3
cmp eax, 0x927c0
jae 0x53bd87
jmp 0x53bbc9
jge 0x53bd87
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0043e408
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.0043e63c
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
cmp dword [ebp - 0x10], 0x1cfe4f
jl 0x53bd87
cmp byte [ebp - 9], 0
jne 0x53bd87
lea edx, [ebp - 0x1e]
mov ecx, 2
mov eax, dword [ebp - 0x1c]
call fcn.0043e63c
push 0
push 4
mov eax, dword [ebp - 0x1c]
call fcn.0043e408
lea edx, [ebp - 4]
mov eax, dword [ebx + 0x10]
call fcn.00557e9c
mov eax, dword [ebp - 4]
test eax, eax
je 0x53bc49
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x53bc49
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406c0c
test eax, eax
je 0x53bc52
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x53bcad
lea eax, [ebp - 4]
mov edx, 0x106
call fcn.00407b70
mov eax, dword [ebp - 4]
call fcn.00407880
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
cmp eax, 0x104
jg 0x53bc81
test eax, eax
jne 0x53bc99
push 1
mov ecx, 0x58804ad
mov dl, 1
mov eax, dword [0x54e714]
call fcn.0054e8e0
call fcn.00406258
mov eax, dword [ebp - 4]
call fcn.00407880
mov edx, eax
lea eax, [ebp - 4]
call fcn.004079a0
jmp 0x53bcc5
lea edx, [ebp - 0x34]
mov eax, dword [ebx + 0x10]
call fcn.00557e9c
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 4]
mov dl, 1
call fcn.0051f180
lea eax, [ebp - 0x2e]
push eax
call sub.ole32.dll_CoCreateGuid
test eax, eax
jne 0x53bcfa
push dword [ebp - 4]
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x2e]
call fcn.00507bdc
push dword [ebp - 0x38]
push 0x53be60
mov eax, dword [ebp - 8]
add eax, 0x4c
mov edx, 3
call fcn.00407dac
jmp 0x53bd1e
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebx + 0x10]
mov ecx, 0x53be60
mov edx, 0x53be78
call fcn.005572d0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
add eax, 0x4c
call fcn.004077f4
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
jne 0x53bd3f
push 1
mov ecx, 0x5882cad
mov dl, 1
mov eax, dword [0x54e714]
call fcn.0054e8e0
call fcn.00406258
push 0xff00
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
mov dl, 1
mov eax, dword [0x433274]
call fcn.0043edbc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
sub eax, 4
sbb edx, 0
push edx
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.005245c0
test eax, eax
sete byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
jne 0x53bd87
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x18], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53bdfe
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00405780
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x1c], edx
call fcn.00405780
cmp byte [ebp - 9], 0
jne 0x53bdf6
cmp byte [ebp - 0x11], 0
jne 0x53bdda
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.00415df4
test al, al
je 0x53bdda
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.00407880
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.00415df4
test al, al
jne 0x53bdf6
mov eax, dword [ebp - 8]
add eax, 0x4c
xor edx, edx
call fcn.004077f4
ret