Function at 0x405250
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffe0
sub esp, 0x998
push esi
push edi
lea edi, [esp + 0x10]
mov dword [esp + 0x10], 0x41b58ab3
shr edi, 3
mov eax, 0xf1f1
add edi, 0x30000000
mov dword [esp + 0x14], str.7_16_520_7_AppPath_32_520_8_TempPath_48_520_11_TempAppPath_64_68_2_si_80_520_7_AppPath_96_16_2_pi_112_28_3_msg
push 0x41
mov dword [esp + 0x1c], main
lea esi, [edi + 2]
mov word [edi], ax
push esi
call sym.Uninstaller.exe___asan_set_shadow_00
mov dword [esi + 0x41], 0xf2f2f2f2
lea esi, [edi + 0x47]
push 0x41
push esi
call sym.Uninstaller.exe___asan_set_shadow_00
mov dword [esi + 0x41], 0xf2f2f2f2
lea esi, [edi + 0x8c]
push 0x41
push esi
call sym.Uninstaller.exe___asan_set_shadow_00
mov dword [esi + 0x41], 0xf2f2f2f2
lea esi, [edi + 0xd1]
push 8
push esi
call sym.Uninstaller.exe___asan_set_shadow_00
mov eax, esi
add edi, 0xde
push 0x41
push edi
mov byte [eax + 8], 4
mov dword [esi + 9], 0xf2f2f2f2
call sym.Uninstaller.exe___asan_set_shadow_00
add esp, 0x28
mov dword [edi + 0x41], 0xf2f2f2f2
mov dword [edi + 0x45], 0xf2f2f8f8
mov eax, 0xf3f3
mov dword [edi + 0x49], 0xf2f2
mov dword [edi + 0x4d], 0xf3f30400
push dword [ebp + 0x10]
mov word [edi + 0x51], ax
push 0x460ea0
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x40551e
lea esi, [esp + 0x698]
shr esi, 3
add esi, 0x30000000
push 8
push esi
call sym.Uninstaller.exe___asan_set_shadow_00
lea eax, [esp + 0x478]
mov byte [esi + 8], 4
shr eax, 3
add eax, 0x30000000
push 0x41
push eax
call sym.Uninstaller.exe___asan_set_shadow_00
lea eax, [esp + 0x258]
shr eax, 3
add eax, 0x30000000
push 0x41
push eax
call sym.Uninstaller.exe___asan_set_shadow_00
lea eax, [esp + 0x38]
shr eax, 3
add eax, 0x30000000
push 0x41
push eax
call sym.Uninstaller.exe___asan_set_shadow_00
lea eax, [esp + 0x948]
shr eax, 3
add eax, 0x30000000
push 2
push eax
call sym.Uninstaller.exe___asan_set_shadow_00
push 0x208
lea eax, [esp + 0x4c]
push 0
push eax
call sym.Uninstaller.exe___asan_memset
push 0x208
lea eax, [esp + 0x280]
push 0
push eax
call sym.Uninstaller.exe___asan_memset
add esp, 0x40
lea eax, [esp + 0x470]
push 0x208
push 0
push eax
call sym.Uninstaller.exe___asan_memset
add esp, 0xc
lea eax, [esp + 0x20]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x248]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0x470]
push eax
push 0
push 0x460ee0
lea eax, [esp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..exe
lea eax, [esp + 0x474]
push 0x104
push eax
call fcn.0044ee32
push 0
lea eax, [esp + 0x480]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.00401210
push 0x44
lea eax, [esp + 0x6b4]
push 0
push eax
call fcn.00444aa0
lea edx, [esp + 0x6bc]
add esp, 0x24
mov eax, edx
shr eax, 3
mov cl, byte [eax + 0x30000000]
test cl, cl
je 0x4054a5
mov al, dl
and al, 7
add al, 3
cmp al, cl
jl 0x4054a5
push edx
call sym.Uninstaller.exe___asan_report_store4
add esp, 4
push 0x460f60
lea eax, [esp + 0x474]
mov dword [esp + 0x69c], 0x44
push 0x104
push eax
call fcn.0044ee32
lea eax, [esp + 0x934]
push eax
lea eax, [esp + 0x6a8]
push eax
push 0
push 0
push 0x50
push 0
push 0
push 0
lea eax, [esp + 0x49c]
push eax
push 0
call fcn.00401440
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x45e0360e
shr eax, 3
add eax, 0x30000000
push 0x131
push eax
call sym.Uninstaller.exe___asan_set_shadow_00
add esp, 0x3c
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x481d60
push 0x68
push edi
call esi
push 0x64
push 0x481e60
push 0x6e
push edi
call esi
push edi
call fcn.00404c70
push dword [ebp + 0x14]
push edi
call fcn.00404710
add esp, 0xc
test eax, eax
jne 0x405581
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x45e0360e
shr eax, 3
add eax, 0x30000000
push 0x131
push eax
call sym.Uninstaller.exe___asan_set_shadow_00
add esp, 8
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
push 0x6e
push edi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x9a4], eax
lea eax, [esp + 0x960]
push 0
push eax
call esi
test eax, eax
je 0x4055fd
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x958]
push eax
push dword [esp + 0x9a0]
push dword [esp + 0x960]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4055e9
lea eax, [esp + 0x958]
push eax
call edi
lea eax, [esp + 0x958]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x964]
push eax
call esi
test eax, eax
jne 0x4055b1
push 0x208
lea eax, [esp + 0x704]
push 0
push eax
call sym.Uninstaller.exe___asan_memset
add esp, 0xc
lea eax, [esp + 0x700]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
push 0
lea eax, [esp + 0x708]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea edx, [esp + 0x960]
mov eax, edx
shr eax, 3
mov cl, byte [eax + 0x30000000]
test cl, cl
je 0x405664
mov al, dl
and al, 7
add al, 3
cmp al, cl
jl 0x405664
push edx
call sym.Uninstaller.exe___asan_report_load4
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x45e0360e
shr ecx, 3
add ecx, 0x30000000
push 0x131
push ecx
call sym.Uninstaller.exe___asan_set_shadow_00
mov eax, dword [esp + 0x968]
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10