Function at 0x436140
Capabilities:
Check if file exists
Copy file
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
push esi
push edi
push ecx
lea edi, [ebp - 0x430]
mov ecx, 0x10c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.004a1e50
add esp, 0xc
mov esi, esp
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
push 0x4dd03c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, esp
call fcn.004c3b36
mov word [ebp - 0x42c], 0
push 0x208
push 0
lea ecx, [ebp - 0x42a]
push ecx
call fcn.004a1e50
add esp, 0xc
mov esi, esp
lea edx, [ebp - 0x42c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
push str.UninstEngine.dll
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
je 0x43625e
mov esi, esp
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
push 0
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp esi, esp
call fcn.004c3b36
mov esi, esp
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
je 0x4362cd
lea eax, [ebp - 0x42c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x220
call fcn.00403020
mov esi, esp
lea ecx, [ebp - 0x42c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.004c3b36
mov edx, dword [ebp - 8]
mov dword [edx + 0x21c], eax
jmp 0x43631b
mov esi, esp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c3b36
test eax, eax
je 0x43631b
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 8]
add ecx, 0x220
call fcn.00403020
mov esi, esp
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp esi, esp
call fcn.004c3b36
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x21c], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0x21c], 0
je 0x436375
mov esi, esp
push str.PreUninst
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c3b36
mov edx, dword [ebp - 8]
mov dword [edx + 0x214], eax
mov esi, esp
push str.PostUninst
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.004c3b36
mov edx, dword [ebp - 8]
mov dword [edx + 0x218], eax
push edx
mov ecx, ebp
push eax
lea edx, [0x4363a4]
call fcn.004c3b59
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1873
add esp, 0x430
cmp ebp, esp
call fcn.004c3b36
mov esp, ebp
pop ebp
ret