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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x567131
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x5c0490]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push esi
push edi
mov eax, dword [0x5c0490]
xor eax, esp
push eax
lea eax, [esp + 0xa60]
mov dword fs:[0], eax
push 0
lea eax, [esp + 0x28]
mov esi, ecx
push str.CUNINSTALLERDlg::FinishUninstall
push eax
mov dword [esp + 0x28], esi
call fcn.00401190
add esp, 0xc
mov dword [esp + 0xa68], 0
call fcn.0044b52d
mov ecx, dword [esi + 0xb4]
mov ebx, dword [eax + 4]
push 0
push 0
push 0x1004
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x43cfa5
mov ebx, dword [esp + 0x1c]
push esi
lea ecx, [ebx + 0x94]
call fcn.004542c5
test eax, eax
je 0x43cf9c
push eax
call fcn.00448ac2
add esp, 4
inc esi
cmp esi, edi
jl 0x43cf83
mov ebx, dword [esp + 0x18]
mov esi, 1
cmp dword [0x5ddd7c], esi
jne 0x43cfbb
push esi
call fcn.00416970
add esp, 4
cmp dword [ebx + 0x870], esi
jne 0x43cfc8
call fcn.004174e0
push 0x104
lea edx, [esp + 0x648]
push 0
push edx
call fcn.00541d20
add esp, 0xc
push 0x104
lea eax, [esp + 0x238]
push 0
push eax
call fcn.00541d20
mov eax, dword [ebx + 0x160]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
push eax
lea ecx, [esp + 0x648]
push ecx
call esi
mov eax, dword [ebx + 0x160]
push eax
lea edx, [esp + 0x238]
push edx
call esi
push str.uninst.ini
lea eax, [esp + 0x648]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [esp + 0x644]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call esi
lea eax, [esp + 0x234]
push eax
lea ecx, [esp + 0x18]
call fcn.00404f00
mov byte [esp + 0xa68], 1
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call fcn.0053dda2
add esp, 8
test eax, eax
jne 0x43d088
or eax, 0xffffffff
jmp 0x43d08e
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00410460
mov byte [esp + 0xa68], 2
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x43d102
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x43d0f4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x43d0f4
push eax
call fcn.00406410
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x43d0e7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esp + 0x18]
add ecx, 0x10
mov dword [esp + 0x14], ecx
jmp 0x43d102
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405470
mov byte [esp + 0xa68], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43d12a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x150], 1
jne 0x43d14d
lea ecx, [eax + 0x148]
call fcn.00454acf
call fcn.0041b970
cmp dword [ebx + 0x5dc], 0
je 0x43d236
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.00541d20
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x856]
push edx
mov word [esp + 0x858], cx
call fcn.00541d20
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x446]
push ecx
mov word [esp + 0x448], ax
call fcn.00541d20
add esp, 0xc
push 0x104
lea edx, [esp + 0x30]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
push 0
push 0x104
lea eax, [esp + 0x450]
push eax
push 0x104
lea ecx, [esp + 0x868]
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.0053e03b
add esp, 0x24
push 0
push 0
lea eax, [esp + 0x444]
push eax
lea ecx, [esp + 0x858]
push ecx
lea edx, [esp + 0x3c]
push 0x104
push edx
call fcn.0053f63d
add esp, 0x18
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 1
push str.return___08x
lea edx, [esp + 0x2c]
push 2
push edx
call fcn.00401410
mov byte [esp + 0xa78], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d274
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
mov dword [esp + 0xa68], 0xffffffff
call fcn.00401370
mov eax, 1
mov ecx, dword [esp + 0xa60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa48]
xor ecx, esp
call fcn.0053ca73
mov esp, ebp
pop ebp
ret