Function at 0x402408
Capabilities:
Delete file
Move file

Disassembly:
push 0x220
mov eax, 0x457005
call fcn.00456afc
mov esi, ecx
xor ebx, ebx
call fcn.00406b19
test al, al
je 0x402830
push str._bak
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.004047cc
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
mov edx, esi
mov dword [esp], 0x463eb8
call fcn.004047cc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x100]
mov dword [esp], str.fgimllnamdeacpaddbdafchhcmapebgj
call fcn.00403fc1
lea edx, [ebp - 0x100]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe8]
call fcn.00408986
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 4
call fcn.004044f6
lea eax, [ebp - 0xe8]
mov edx, 0x463ec0
push eax
lea ecx, [ebp - 0x118]
call fcn.00404851
pop ecx
push 1
mov edi, 0x463ebc
mov byte [ebp - 4], 5
push edi
mov ecx, eax
call fcn.0040461e
push eax
lea ecx, [ebp - 0x178]
call fcn.00404163
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 7
call fcn.00404106
lea eax, [ebp - 0xe8]
mov edx, edi
push eax
lea ecx, [ebp - 0x100]
call fcn.00404851
pop ecx
push 1
push edi
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.0040461e
push eax
lea ecx, [ebp - 0xb8]
call fcn.00404163
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0xa
call fcn.00404106
lea eax, [ebp - 0xe8]
mov edx, edi
push eax
lea ecx, [ebp - 0x118]
call fcn.00404851
pop ecx
push 2
push 0x463ec4
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0040461e
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404163
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0xd
call fcn.00404106
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00406b5c
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
mov edx, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push 0x15
push str._external_uninstalls_
push ebx
call fcn.00404a71
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
je 0x4027e9
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push 1
push 0x463ee0
push ebx
call fcn.00404a71
add esp, 0xc
mov dword [ebp - 0x17c], eax
cmp eax, 0xffffffff
je 0x4027e9
sub eax, ebx
lea ecx, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
call fcn.0040408a
lea eax, [ebp - 0x178]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x40]
call fcn.004041c3
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x70]
call fcn.004040d8
mov edi, eax
cmp edi, 0xffffffff
jne 0x40265f
cmp dword [ebp - 0x8c], 0xf
lea eax, [ebp - 0xa0]
push dword [ebp - 0x90]
cmova eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x40]
push eax
call fcn.004045d4
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.004040d8
mov edi, eax
cmp edi, 0xffffffff
jne 0x40265f
cmp dword [ebp - 0xa4], 0xf
lea eax, [ebp - 0xb8]
push dword [ebp - 0xa8]
cmova eax, dword [ebp - 0xb8]
lea ecx, [ebp - 0x40]
push eax
call fcn.004045d4
push ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x70]
call fcn.004040d8
mov edi, eax
cmp edi, 0xffffffff
je 0x4027d9
push ebx
push 0
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040408a
push edi
push 0
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x70]
call fcn.0040408a
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x70]
mov eax, dword [ebp - 0x30]
push 0xffffffffffffffff
add eax, edi
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0040408a
push 0xffffffffffffffff
push dword [ebp - 0x17c]
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x28]
call fcn.0040408a
push ecx
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0x14
call fcn.00403dfc
push ecx
push ecx
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x22c]
call fcn.00403d8b
cmp dword [ebp - 0x1dc], 0
je 0x402735
cmp dword [ebp - 0x74], 0xf
lea edx, [ebp - 0x88]
push dword [ebp - 0x78]
cmova edx, dword [ebp - 0x88]
lea ecx, [ebp - 0x22c]
call fcn.0040534d
pop ecx
lea edx, [ebp - 0x160]
mov ecx, eax
call fcn.004048a3
lea edx, [ebp - 0x148]
mov ecx, eax
call fcn.004048a3
lea edx, [ebp - 0x130]
mov ecx, eax
call fcn.004048a3
lea ecx, [ebp - 0x22c]
call fcn.00403d6a
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
pop ecx
cmova eax, dword [ebp - 0x58]
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x402768
mov ecx, dword [esi]
mov edi, dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
push eax
push ecx
call edi
cmp dword [esi + 0x14], 0xf
pop ecx
pop ecx
jbe 0x40277c
mov esi, dword [esi]
cmp dword [ebp - 0xbc], 0xf
lea eax, [ebp - 0xd0]
push esi
cmova eax, dword [ebp - 0xd0]
push eax
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x1c4]
call fcn.00403dcc
lea ecx, [ebp - 0x1c4]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x130]
call fcn.00404106
lea ecx, [ebp - 0x148]
call fcn.00404106
lea ecx, [ebp - 0x160]
call fcn.00404106
lea ecx, [ebp - 0x88]
call fcn.00404106
lea ecx, [ebp - 0x40]
call fcn.00404106
lea ecx, [ebp - 0x70]
call fcn.00404106
lea ecx, [ebp - 0x28]
call fcn.00404106
lea ecx, [ebp - 0xa0]
call fcn.00404106
lea ecx, [ebp - 0xb8]
call fcn.00404106
lea ecx, [ebp - 0x178]
call fcn.00404106
lea ecx, [ebp - 0xe8]
call fcn.00404106
lea ecx, [ebp - 0xd0]
call fcn.00404106
lea ecx, [ebp - 0x58]
call fcn.00404106
call fcn.00456aba
ret