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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
xor ebx, 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 0x4eb21c
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 0x4eb1f2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp eax, 0xffffff9d
je 0x4eaf21
cmp eax, 0x1cfe3f
jl 0x4eaf33
mov edx, 0xa
mov eax, 0x4eb238
call fcn.004c7340
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0xffffff9d
jne 0x4eaf46
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x4eb182
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4eaf69
cmp eax, 0xc350
jb 0x4eb182
jmp 0x4eaf6f
jl 0x4eb182
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4eaf88
cmp eax, 0x927c0
jae 0x4eb182
jmp 0x4eaf8e
jge 0x4eb182
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00438f80
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 0x1c]
call fcn.004391b4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x18], edx
cmp dword [ebp - 0x10], 0x1cfe3f
jl 0x4eb182
cmp byte [ebp - 9], 0
jne 0x4eb182
lea edx, [ebp - 0x1e]
mov ecx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004391b4
push 0
push 4
mov eax, dword [ebp - 0x1c]
call fcn.00438f80
lea eax, [ebp - 4]
mov edx, dword [ebx + 0x78]
call fcn.00406db4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4eb00e
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4eb00e
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.00406314
test eax, eax
je 0x4eb017
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4eb072
lea eax, [ebp - 4]
mov edx, 0x106
call fcn.004070c4
mov eax, dword [ebp - 4]
call fcn.00406dec
push eax
push 0x104
call sub.kernel32.dll_GetTempPathW
cmp eax, 0x104
jg 0x4eb046
test eax, eax
jne 0x4eb05e
push 1
mov ecx, 0x2b13
mov dl, 1
mov eax, dword [0x4f8f6c]
call fcn.004f9168
call fcn.00405940
mov eax, dword [ebp - 4]
call fcn.00406dec
mov edx, eax
lea eax, [ebp - 4]
call fcn.00406f0c
jmp 0x4eb07f
lea ecx, [ebp - 4]
mov eax, dword [ebx + 0x78]
mov dl, 1
call fcn.004c6f78
lea eax, [ebp - 0x2e]
push eax
call sub.ole32.dll_CoCreateGuid
test eax, eax
jne 0x4eb0b4
push dword [ebp - 4]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x2e]
call fcn.004bb3a0
push dword [ebp - 0x34]
push 0x4eb25c
mov eax, dword [ebp - 8]
add eax, 0x4c
mov edx, 3
call fcn.00407300
jmp 0x4eb0d7
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4eb25c
mov edx, 0x4eb274
mov eax, ebx
call fcn.004ce618
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
add eax, 0x4c
call fcn.00406d60
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
jne 0x4eb0f8
push 1
mov ecx, 0x2b13
mov dl, 1
mov eax, dword [0x4f8f6c]
call fcn.004f9168
call fcn.00405940
push 0xff00
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
mov dl, 1
mov eax, dword [0x42d9f4]
call fcn.00439934
mov dword [ebp - 0x18], eax
cmp word [ebp - 0x1e], 0x5a4d
jne 0x4eb157
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.00439224
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
sub eax, 4
sbb edx, 0
cmp edx, dword [esp + 4]
jne 0x4eb14c
cmp eax, dword [esp]
sete al
add esp, 8
mov byte [ebp - 0x11], al
jmp 0x4eb174
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
sub ecx, 4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
call fcn.004c948c
test eax, eax
sete byte [ebp - 0x11]
cmp byte [ebp - 0x11], 0
jne 0x4eb182
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 0x4eb1f9
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00404e68
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov dword [ebp - 0x1c], edx
call fcn.00404e68
cmp byte [ebp - 9], 0
jne 0x4eb1f1
cmp byte [ebp - 0x11], 0
jne 0x4eb1d5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.00413d00
test al, al
je 0x4eb1d5
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.00406dec
push eax
call sub.kernel32.dll_DeleteFileW
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x4c]
call fcn.00413d00
test al, al
jne 0x4eb1f1
mov eax, dword [ebp - 8]
add eax, 0x4c
xor edx, edx
call fcn.00406d60
ret