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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x588aa1
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x5eb770]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push esi
push edi
mov eax, dword [0x5eb770]
xor eax, esp
push eax
lea eax, [esp + 0xa60]
mov dword fs:[0], eax
push 0
mov esi, ecx
push str.CUNINSTALLERDlg::FinishUninstall
push 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], esi
call fcn.0044ca70
add esp, 0xc
mov dword [esp + 0xa68], 0
call fcn.0046d2d8
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0xb4]
push 0
push 0
push 0x1004
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor esi, esi
test edi, edi
jle 0x439dd6
mov ebx, dword [esp + 0x1c]
push esi
lea ecx, [ebx + 0x94]
call fcn.0046d910
test eax, eax
je 0x439dcd
push eax
call fcn.00461cb5
add esp, 4
inc esi
cmp esi, edi
jl 0x439db4
mov ebx, dword [esp + 0x18]
mov esi, 1
cmp dword [0x60a330], esi
jne 0x439dec
push esi
call fcn.004131a0
add esp, 4
cmp dword [ebx + 0x8c0], esi
jne 0x439df9
call fcn.00413d40
push 0x104
lea ecx, [esp + 0x648]
push 0
push ecx
call fcn.0055ca80
add esp, 0xc
push 0x104
lea edx, [esp + 0x238]
push 0
push edx
call fcn.0055ca80
mov eax, dword [ebx + 0x154]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0xc
push eax
lea eax, [esp + 0x648]
push eax
call esi
mov eax, dword [ebx + 0x154]
push eax
lea ecx, [esp + 0x238]
push ecx
call esi
push str.uninst.ini
lea edx, [esp + 0x648]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esp + 0x644]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call esi
lea edx, [esp + 0x234]
push edx
lea ecx, [esp + 0x18]
call fcn.00403340
mov byte [esp + 0xa68], 1
mov eax, dword [esp + 0x14]
push 0x5c
push eax
call fcn.005589fd
add esp, 8
test eax, eax
jne 0x439eb9
or eax, 0xffffffff
jmp 0x439ebf
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040a240
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 0x439f33
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x439f25
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x439f25
push eax
call fcn.00404900
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x439f18
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 0x439f33
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004039c0
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 0x439f5b
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 0x439f7e
lea ecx, [eax + 0x148]
call fcn.0046e11a
call fcn.00417db0
cmp dword [ebx + 0x5d0], 0
je 0x43a067
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.0055ca80
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x856]
push edx
mov word [esp + 0x858], cx
call fcn.0055ca80
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x446]
push ecx
mov word [esp + 0x448], ax
call fcn.0055ca80
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.00557258
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.00558c88
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.0044cd10
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 0x43a0a5
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.0044cc70
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.0055649d
mov esp, ebp
pop ebp
ret