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

Disassembly:
push ebp
sub esp, 0x6c
mov eax, 0x46662a
call fcn.0045ea44
sub esp, 0x118
push ebx
push esi
push edi
push 6
call fcn.0043b860
mov dword [ebp + 0x64], eax
mov dword [esp], 0x208
call fcn.0043b860
mov esi, 0x200
push esi
mov dword [ebp + 0x6c], eax
call fcn.0043b860
push esi
mov dword [ebp + 0x68], eax
call fcn.0043b860
mov edi, dword [ebp + 0x78]
add esp, 0xc
push eax
push dword [ebp + 0x68]
add edi, 8
push dword [ebp + 0x6c]
mov ecx, edi
push dword [ebp + 0x64]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x5c], edi
call fcn.00401d50
push eax
call fcn.0044045e
add esp, 0x14
push edi
lea ecx, [ebp + 0x38]
call fcn.00401d70
and dword [ebp - 4], 0
push str.._p4p_
lea eax, [ebp + 0x1c]
push edi
push eax
call fcn.004026e0
add esp, 0xc
xor esi, esi
mov byte [ebp - 4], 1
inc esi
jmp 0x430384
mov edi, dword [ebp + 0x5c]
lea ecx, [ebp + 0x38]
call fcn.00401d50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4303a6
lea ecx, [ebp + 0x38]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp + 0x38]
call fcn.00401d50
push eax
lea ecx, [ebp + 0x1c]
call fcn.00401d50
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne byte [ebp + 0x7b]
cmp byte [ebp + 0x7b], 0
je 0x4303d5
lea eax, [ebp + 0x38]
push eax
mov ecx, edi
call fcn.00401540
push dword [ebp + 0x60]
lea ecx, [ebp - 0x124]
call fcn.004024b0
mov edi, eax
lea eax, [ebp - 0xec]
push esi
push eax
mov byte [ebp - 4], 2
call fcn.00428e69
pop ecx
pop ecx
mov ebx, eax
push dword [ebp + 0x68]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 3
call fcn.004024b0
mov dword [ebp + 0x58], eax
push dword [ebp + 0x6c]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.004024b0
mov dword [ebp + 0x54], eax
push dword [ebp + 0x64]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.004024b0
push dword [ebp + 0x54]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403fe0
push dword [ebp + 0x58]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00403fe0
push 0x47d7dc
push eax
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 8
call fcn.004026e0
push ebx
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 9
call fcn.00403fe0
push 0x47d7d8
push eax
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 4], 0xa
call fcn.004026e0
push edi
push eax
lea eax, [ebp]
push eax
mov byte [ebp - 4], 0xb
call fcn.00403fe0
add esp, 0x48
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xc
call fcn.00401540
lea ecx, [ebp]
call fcn.004026a0
lea ecx, [ebp - 0x108]
call fcn.004026a0
lea ecx, [ebp - 0x60]
call fcn.004026a0
lea ecx, [ebp - 0xd0]
call fcn.004026a0
lea ecx, [ebp - 0x98]
call fcn.004026a0
lea ecx, [ebp - 0x28]
call fcn.004026a0
lea ecx, [ebp - 0x44]
call fcn.004026a0
lea ecx, [ebp - 0x7c]
call fcn.004026a0
lea ecx, [ebp - 0xb4]
call fcn.004026a0
lea ecx, [ebp - 0xec]
call fcn.004026a0
lea ecx, [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.004026a0
inc esi
cmp byte [ebp + 0x7b], 0
je 0x430381
push dword [ebp + 0x64]
call fcn.0043c56a
push dword [ebp + 0x6c]
call fcn.0043c56a
push dword [ebp + 0x68]
call fcn.0043c56a
push dword [ebp + 0x60]
call fcn.0043c56a
add esp, 0x10
lea ecx, [ebp + 0x1c]
call fcn.004026a0
lea ecx, [ebp + 0x38]
call fcn.004026a0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add ebp, 0x70
leave
ret 4