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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55dcc1
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
mov eax, dword [0x5b4450]
xor eax, esp
mov dword [esp + 0xa48], eax
push ebx
push esi
push edi
mov eax, dword [0x5b4450]
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.0040ac70
add esp, 0xc
mov dword [esp + 0xa68], 0
call fcn.00442c4d
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 0x435055
mov ebx, dword [esp + 0x1c]
push esi
lea ecx, [ebx + 0x94]
call fcn.00449e67
test eax, eax
je 0x43504c
push eax
call fcn.004401b7
add esp, 4
inc esi
cmp esi, edi
jl 0x435033
mov ebx, dword [esp + 0x18]
mov esi, 1
cmp dword [0x5ceb1c], esi
jne 0x43506b
push esi
call fcn.0040de30
add esp, 4
cmp dword [ebx + 0x874], esi
jne 0x435078
call fcn.0040e910
push 0x104
lea edx, [esp + 0x648]
push 0
push edx
call fcn.005373f0
add esp, 0xc
push 0x104
lea eax, [esp + 0x238]
push 0
push eax
call fcn.005373f0
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.00401210
mov byte [esp + 0xa68], 1
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call fcn.00534819
add esp, 8
test eax, eax
jne 0x435138
or eax, 0xffffffff
jmp 0x43513e
sub eax, dword [esp + 0x14]
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call fcn.00413a00
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 0x4351b2
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4351a4
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4351a4
push eax
call fcn.004017c0
mov dword [esp + 0x1c], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x435197
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 0x4351b2
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004016b0
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 0x4351da
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 0x4351fd
lea ecx, [eax + 0x148]
call fcn.0044a671
call fcn.00412ca0
cmp dword [ebx + 0x5e0], 0
je 0x4352e6
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x36]
push eax
mov word [esp + 0x38], dx
call fcn.005373f0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x856]
push edx
mov word [esp + 0x858], cx
call fcn.005373f0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x446]
push ecx
mov word [esp + 0x448], ax
call fcn.005373f0
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.00535da8
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.00536174
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.0040aed0
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 0x435324
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.0040ae50
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.005337cb
mov esp, ebp
pop ebp
ret