Function at 0x47d7d0
Capabilities:
Check mutex on windows
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
lea eax, [ebp - 8]
push eax
mov esi, str.nokokcancelyesnoignoreretryaborttry
call fcn.0041cec0
call fcn.00416bf0
push str.MessengerPlus_SetupIsRunning
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push 0
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x47d84c
cmp byte [0x4d2d91], 0
je 0x47d81a
call fcn.0043ed50
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
mov byte [0x4d2d90], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 9
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.0047da60
mov dword [ebp - 0x10], eax
mov eax, dword [0x4d2914]
test eax, eax
je 0x47d86e
push eax
mov esi, eax
call fcn.004461f0
push esi
call fcn.00487ef3
add esp, 4
mov eax, dword [0x4d290c]
test eax, eax
je 0x47d888
push eax
mov esi, eax
call fcn.004809d0
push esi
call fcn.00487ef3
add esp, 4
mov esi, dword [0x4d2910]
test esi, esi
je 0x47d897
call fcn.0047da10
mov eax, dword [0x4d2918]
test eax, eax
je 0x47d8b0
mov esi, eax
call fcn.0041b140
push esi
call fcn.00487ef3
add esp, 4
mov eax, dword [0x4d2908]
test eax, eax
je 0x47d8c0
push eax
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [0x4d2da8]
cmp dword [ecx - 0xc], 0
je 0x47d9bc
push edi
lea edx, [ebp - 4]
push edx
call fcn.0041b8b0
mov eax, dword [0x4d2da8]
push eax
push 0x4b1460
lea edi, [ebp - 4]
call fcn.00417250
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 0xc]
add esp, 8
add eax, 2
pop edi
jns 0x47d906
push 0x80070057
call fcn.00417580
mov esi, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub esi, eax
or edx, esi
jge 0x47d922
lea ecx, [ebp - 4]
call fcn.00417470
mov ecx, dword [ebp - 4]
mov eax, dword [ecx - 0xc]
xor edx, edx
mov word [ecx + eax*2 + 2], dx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov word [ebp - 0x14], ax
lea ecx, [ebp - 0x30]
mov eax, 0x1414
push ecx
mov dword [ebp - 0x2c], 3
mov word [ebp - 0x20], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00489835
add esp, 8
test eax, eax
js 0x47d8fc
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx - 8]
jg 0x47d8fc
mov dword [ecx - 0xc], eax
mov ecx, dword [ebp - 4]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, dword [0x4d2da8]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47d9bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x4d2d91], 0
je 0x47d9da
call fcn.0043ed50
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
mov byte [0x4d2d90], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47da00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
pop esi
mov esp, ebp
pop ebp
ret 0x10