Function at 0x43b1ed
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b1ac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x10]
call fcn.0040dfd0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 3
jne 0x43b592
mov eax, dword [ebp - 0x48]
add eax, 0x4c0
push eax
lea ecx, [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4d0
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0046051a
push 1
mov ecx, dword [str.2120file]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x570]
push eax
push 0x4840d0
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b2d6
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
test edx, edx
je 0x43b2d6
mov eax, dword [ebp - 0x14]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c0
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c4
push ecx
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x4d4
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0046051a
push 2
mov edx, dword [str.2120file]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x570]
push ecx
push 0x4840d8
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b3af
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
je 0x43b3af
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c4
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x48]
add edx, 0x4c8
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x4d8
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.0046051a
push 3
mov eax, dword [str.2120file]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x570]
push edx
push 0x4840e0
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b487
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 1
test ecx, ecx
je 0x43b487
mov edx, dword [ebp - 0x14]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4c8
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x48]
add eax, 0x4cc
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4dc
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.0046051a
push 4
mov ecx, dword [str.2120file]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x570]
push eax
push 0x4840e8
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b55e
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
test edx, edx
je 0x43b55e
mov eax, dword [ebp - 0x14]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4cc
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x43bca8
cmp dword [ebp + 8], 4
jne 0x43b90e
mov ecx, dword [ebp - 0x48]
add ecx, 0x4a0
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x4b0
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.0046051a
push 1
mov edx, dword [str.2122file]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x570]
push ecx
push 0x4840f0
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b646
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
je 0x43b646
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4a0
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x48]
add edx, 0x4a4
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x4b4
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0046051a
push 2
mov eax, dword [str.2122file]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x570]
push edx
push 0x4840f8
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b71e
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 1
test ecx, ecx
je 0x43b71e
mov edx, dword [ebp - 0x14]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4a4
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x48]
add eax, 0x4a8
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4b8
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0046051a
push 3
mov ecx, dword [str.2122file]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x570]
push eax
push 0x484100
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b7f5
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
test edx, edx
je 0x43b7f5
mov eax, dword [ebp - 0x14]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4a8
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x48]
add ecx, 0x4ac
push ecx
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x4bc
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0046051a
push 4
mov edx, dword [str.2122file]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x570]
push ecx
push 0x484108
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b8da
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
je 0x43b8da
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x4ac
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x43bca8
cmp dword [ebp + 8], 5
jne 0x43bca8
mov edx, dword [ebp - 0x48]
add edx, 0x480
push edx
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x90]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x490
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0046051a
push 1
mov eax, dword [str.SFfile]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x570]
push edx
push 0x484110
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b9cd
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 1
test ecx, ecx
je 0x43b9cd
mov edx, dword [ebp - 0x14]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x480
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x48]
add eax, 0x484
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x94], eax
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x98], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x494
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0046051a
push 2
mov ecx, dword [str.SFfile]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x570]
push eax
push 0x484118
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43bab0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
test edx, edx
je 0x43bab0
mov eax, dword [ebp - 0x14]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x484
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0x48]
add ecx, 0x488
push ecx
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xa0]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 0x498
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0046051a
push 3
mov edx, dword [str.SFfile]
push edx
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x570]
push ecx
push 0x484120
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43bb95
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 1
test eax, eax
je 0x43bb95
mov ecx, dword [ebp - 0x14]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x488
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x48]
add edx, 0x48c
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004391ef
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xa8]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x49c
call fcn.00460653
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0046051a
push 4
mov eax, dword [str.SFfile]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x570]
push edx
push str._s_s_d
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x14
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43bc79
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
and ecx, 1
test ecx, ecx
je 0x43bc79
mov edx, dword [ebp - 0x14]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x48c
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046051a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4