Function at 0x4216c0
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5e2008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push esi
push edi
push 0x208
push 0
push eax
mov dword [ebp - 0x214], ebx
call fcn.0044ea80
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x210], eax
call fcn.004312a9
test al, al
je 0x421728
pop eax
push edx
pop esp
pop ebx
push ecx
push eax
pop edx
pop edi
push ebx
pop esp
pop edx
pop edi
push edi
pop esi
push edi
pop ecx
push esp
push eax
push esi
push esi
push ebp
pop esp
push edx
mov ebx, dword [ebp - 0x214]
cmp dword [ebp - 0x210], 0
jne 0x421947
push ebx
lea eax, [ebp - 0x20c]
push 0x58269c
push eax
call fcn.00421d2b
lea eax, [ebp - 0x20c]
push str..fcb
push eax
call fcn.0044ebda
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.0043166f
test al, al
je 0x42177c
push esp
pop esi
push esp
pop ecx
push ebp
push ecx
pop eax
pop edi
push ecx
push esi
push edx
push ecx
pop esp
push ebp
push eax
pop esp
push esp
pop esp
call fcn.0043110b
test al, al
je 0x4217a1
pop ebp
push eax
push esp
push ecx
push edi
push esp
push ebx
pop edi
push esp
push ecx
pop esp
push esp
pop ebx
pop ebx
pop edi
pop edx
push esi
pop ebp
push eax
push ecx
pop esp
push esp
pop esi
pop ecx
pop ebp
pop ebx
pop edx
push edx
call fcn.00431150
test al, al
je 0x4217c6
push eax
push esi
pop edx
push edx
pop edx
pop ebp
push edi
pop edi
pop esp
push ebx
push esp
pop eax
pop esi
pop eax
push ecx
push esp
push edi
push edi
push edx
push edi
push ebx
pop ebx
push edx
push ebp
push edx
push edi
push esi
push esi
call fcn.004312ee
test al, al
je 0x4217e9
pop edx
push esi
pop edi
pop esi
pop edi
push esp
pop esp
pop ebp
push ebp
pop eax
push ebx
push edx
push esi
pop ebx
push edx
push edi
push eax
push ecx
pop edi
push ebp
push ebp
pop ecx
push edx
pop edi
pop esi
push ebx
call fcn.00431195
test al, al
je 0x421808
push edi
push edi
push ebx
push eax
pop ebp
pop esi
pop edi
pop esp
pop ebp
push edx
pop edx
push edx
pop edi
pop ebp
push ebx
push esi
push edi
push eax
pop ebx
pop esp
pop ecx
pop ebx
cmp dword [ebp - 0x210], 0
je 0x421820
push 5
push 0
push dword [ebp - 0x214]
jmp 0x421941
call fcn.004312a9
test al, al
je 0x421840
pop eax
push edx
pop esp
pop ebx
push ecx
push eax
pop edx
pop edi
push ebx
pop esp
pop edx
pop edi
push edi
pop esi
push edi
pop ecx
push esp
push eax
push esi
push esi
push ebp
pop esp
push edx
and dword [ebp - 0x210], 0
call fcn.00431516
test al, al
je 0x42186f
push eax
push ebx
pop esp
push edx
push edx
pop eax
push ecx
pop ebp
push esp
pop ebx
pop esi
push ebp
pop eax
pop ecx
push edx
push ebp
pop eax
pop eax
push ebx
push esp
push ecx
pop ecx
push esi
pop edx
push ecx
push edi
pop eax
push ebx
push ebp
pop edi
push esp
call fcn.0043121f
test al, al
je 0x42188e
pop esi
push ecx
pop ebp
push ebp
pop eax
pop esi
push ebx
push ebx
push ebx
pop eax
pop ebx
push edi
pop eax
push edi
pop esp
pop edx
push ebp
push eax
push eax
pop edi
push edi
push edx
call fcn.00431333
test al, al
je 0x4218b3
pop ebx
pop ebp
pop edx
push edx
push ebp
pop ebx
pop ebx
pop edx
push ebx
push edi
push ebx
pop edx
pop edi
push edx
push ebp
push esp
push ecx
pop eax
push ebx
pop eax
push ecx
pop eax
pop edx
pop edi
push edi
push ecx
push edi
pop ebp
mov ebx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
mov esi, dword [ebp - 0x214]
test ebx, ebx
jne 0x4218df
push str..fcb
push esi
push 0x5826b0
push eax
call fcn.00421d2b
add esp, 0x10
jmp 0x4218f4
push ebx
push str..fcb
push esi
push str._s_s_d
push eax
call fcn.00421d2b
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421927
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x421927
cmp ebx, 0xa
jg 0x421947
inc ebx
mov dword [ebp - 0x210], ebx
jmp 0x421847
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004525fd
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042c42d
mov esp, ebp
pop ebp
ret 4