Function at 0x414ab0
Capabilities:
Delete directory
Delete file
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470b96
mov eax, dword fs:[0]
push eax
sub esp, 0xa34
mov eax, dword [0x496534]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004350f7
push 0
push 0
push 0x1004
mov eax, dword [eax + 4]
push dword [ebx + 0xc8]
mov dword [ebp - 0xa40], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x414b2e
nop dword [eax + eax]
push esi
lea ecx, [ebx + 0xa8]
call fcn.0043c487
test eax, eax
je 0x414b29
push eax
call fcn.00433272
add esp, 4
inc esi
cmp esi, edi
jl 0x414b10
push 0x104
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.0044f210
push 0x104
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0044f210
mov ebx, dword [ebp - 0xa40]
lea eax, [ebp - 0x628]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0x18
push dword [ebx + 0x108]
push eax
call esi
push dword [ebx + 0x108]
lea eax, [ebp - 0x420]
push eax
call esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.UNINSTAL.ini
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea eax, [ebp - 0x420]
push eax
call edi
call esi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00401ff0
mov dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0xa3c]
call fcn.0044e876
add esp, 8
test eax, eax
jne 0x414bf8
or eax, 0xffffffff
jmp 0x414c00
sub eax, dword [ebp - 0xa3c]
sar eax, 1
push eax
lea eax, [ebp - 0xa40]
push eax
lea ecx, [ebp - 0xa3c]
call fcn.00408d40
push eax
lea ecx, [ebp - 0xa3c]
mov byte [ebp - 4], 1
call fcn.00402a50
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0xa40]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414c47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa3c]
call edi
call fcn.00408af0
cmp dword [ebx + 0x380], 0
je 0x414d1d
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0044f210
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.0044f210
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.0044f210
add esp, 0x24
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
push 0
push 0x104
lea eax, [ebp - 0x830]
push eax
push 0x104
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004563a3
push 0
push 0
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00456574
add esp, 0x3c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x414d3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044ae75
mov esp, ebp
pop ebp
ret