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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0x10]
call fcn.00404cc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404cc0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x1d4], 0
jne 0x42c3d0
mov ecx, dword [ebp - 0xdc]
add ecx, 0x414
push ecx
push 0x46f7c4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004505f2
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xe4]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0045058c
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
mov dword [ebp - 0xec], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xec]
push edx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0045035d
push 1
mov eax, dword [str.2120file]
push eax
push 0x46f7c8
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x46f7d0
mov eax, dword [ebp - 0xdc]
add eax, 0x490
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004505f2
mov dword [ebp - 0xf0], eax
mov edx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.0045058c
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42bf02
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x42bf02
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xdc]
add eax, 0x418
push eax
push 0x46f7d4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004505f2
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x104]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0045058c
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0045035d
push 2
mov edx, dword [str.2120file]
push edx
push 0x46f7d8
lea eax, [ebp - 0x10]
push eax
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x46f7e0
mov edx, dword [ebp - 0xdc]
add edx, 0x490
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004505f2
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x114], ecx
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x114]
push edx
lea eax, [ebp - 0x38]
push eax
call fcn.0045058c
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x11c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c08d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 1
test eax, eax
je 0x42c08d
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0xdc]
add edx, 0x41c
push edx
push 0x46f7e4
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004505f2
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x124], edx
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x124]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0045058c
mov dword [ebp - 0x128], eax
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0045035d
push 3
mov ecx, dword [str.2120file]
push ecx
push 0x46f7e8
lea edx, [ebp - 0x10]
push edx
call fcn.0044b146
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x46f7f0
mov ecx, dword [ebp - 0xdc]
add ecx, 0x490
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004505f2
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x134]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0045058c
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c218
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
test edx, edx
je 0x42c218
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x420
push ecx
push 0x46f7f4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.004505f2
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x144]
push edx
lea eax, [ebp - 0x50]
push eax
call fcn.0045058c
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x50]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0045035d
push 4
mov eax, dword [str.2120file]
push eax
push 0x46f7f8
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x46f800
mov eax, dword [ebp - 0xdc]
add eax, 0x490
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.004505f2
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.0045058c
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c3a2
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x42c3a2
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x42d0d3
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x1d4], 1
jne 0x42ca36
mov ecx, dword [ebp - 0xdc]
add ecx, 0x3f4
push ecx
push 0x46f804
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.004505f2
mov dword [ebp - 0x160], eax
mov ecx, dword [ebp - 0x160]
mov dword [ebp - 0x164], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x164]
push edx
lea eax, [ebp - 0x60]
push eax
call fcn.0045058c
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x16c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0045035d
push 1
mov eax, dword [str.2122file]
push eax
push 0x46f808
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x46f810
mov eax, dword [ebp - 0xdc]
add eax, 0x490
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004505f2
mov dword [ebp - 0x170], eax
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x68]
push ecx
call fcn.0045058c
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x17c], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x17c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x68]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c544
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x42c544
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xdc]
add eax, 0x3f8
push eax
push 0x46f814
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004505f2
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x184]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0045058c
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x70]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0045035d
push 2
mov edx, dword [str.2122file]
push edx
push 0x46f818
lea eax, [ebp - 0x10]
push eax
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x46f820
mov edx, dword [ebp - 0xdc]
add edx, 0x490
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004505f2
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x194], ecx
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x194]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0045058c
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0x19c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x78]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c6cf
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 1
test eax, eax
je 0x42c6cf
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0xdc]
add edx, 0x3fc
push edx
push 0x46f824
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004505f2
mov dword [ebp - 0x1a0], eax
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], edx
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x1a4]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0045058c
mov dword [ebp - 0x1a8], eax
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], edx
mov byte [ebp - 4], 0x1b
mov eax, dword [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x80]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.0045035d
push 3
mov ecx, dword [str.2122file]
push ecx
push 0x46f828
lea edx, [ebp - 0x10]
push edx
call fcn.0044b146
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x46f830
mov ecx, dword [ebp - 0xdc]
add ecx, 0x490
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.004505f2
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x1b4]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.0045058c
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x1bc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x88]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c866
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
test edx, edx
je 0x42c866
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x400
push ecx
push 0x46f834
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.004505f2
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x1c4]
push edx
lea eax, [ebp - 0x90]
push eax
call fcn.0045058c
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 0x1f
mov edx, dword [ebp - 0x1cc]
push edx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x90]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0045035d
push 4
mov eax, dword [str.2122file]
push eax
push 0x46f838
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x46f840
mov eax, dword [ebp - 0xdc]
add eax, 0x490
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004505f2
mov dword [ebp - 0x1d0], eax
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], edx
mov byte [ebp - 4], 0x20
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.0045058c
mov dword [ebp - 0x1d8], eax
mov edx, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], edx
mov byte [ebp - 4], 0x21
mov eax, dword [ebp - 0x1dc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x98]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42ca08
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x42ca08
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x42d0d3
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x1d4], 2
jne 0x42d0d3
mov ecx, dword [ebp - 0xdc]
add ecx, 0x3d4
push ecx
push 0x46f844
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.004505f2
mov dword [ebp - 0x1e0], eax
mov ecx, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x1e4]
push edx
lea eax, [ebp - 0xa0]
push eax
call fcn.0045058c
mov dword [ebp - 0x1e8], eax
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], ecx
mov byte [ebp - 4], 0x23
mov edx, dword [ebp - 0x1ec]
push edx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xa0]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.0045035d
push 1
mov eax, dword [str.SFfile]
push eax
push 0x46f848
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x46f850
mov eax, dword [ebp - 0xdc]
add eax, 0x490
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004505f2
mov dword [ebp - 0x1f0], eax
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], edx
mov byte [ebp - 4], 0x24
mov eax, dword [ebp - 0x1f4]
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.0045058c
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], edx
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xa8]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42cbc2
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x42cbc2
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xdc]
add eax, 0x3d8
push eax
push 0x46f854
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xac]
push edx
call fcn.004505f2
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x204]
push ecx
lea edx, [ebp - 0xb0]
push edx
call fcn.0045058c
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x20c], eax
mov byte [ebp - 4], 0x27
mov ecx, dword [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xb0]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0045035d
push 2
mov edx, dword [str.SFfile]
push edx
push 0x46f858
lea eax, [ebp - 0x10]
push eax
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x46f860
mov edx, dword [ebp - 0xdc]
add edx, 0x490
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.004505f2
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x214], ecx
mov byte [ebp - 4], 0x28
mov edx, dword [ebp - 0x214]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.0045058c
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 0x29
mov edx, dword [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xb8]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42cd65
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
and eax, 1
test eax, eax
je 0x42cd65
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0xdc]
add edx, 0x3dc
push edx
push 0x46f864
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.004505f2
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 0x2a
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0045058c
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], edx
mov byte [ebp - 4], 0x2b
mov eax, dword [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xc0]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0045035d
push 3
mov ecx, dword [str.SFfile]
push ecx
push 0x46f868
lea edx, [ebp - 0x10]
push edx
call fcn.0044b146
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x46f870
mov ecx, dword [ebp - 0xdc]
add ecx, 0x490
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.004505f2
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0x2c
mov ecx, dword [ebp - 0x234]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.0045058c
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0x2d
mov ecx, dword [ebp - 0x23c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xc8]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42cf08
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
test edx, edx
je 0x42cf08
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x3e0
push ecx
push 0x46f874
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.004505f2
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 0x2e
mov edx, dword [ebp - 0x244]
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.0045058c
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
mov dword [ebp - 0x24c], ecx
mov byte [ebp - 4], 0x2f
mov edx, dword [ebp - 0x24c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00450496
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xd0]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.0045035d
push 4
mov eax, dword [str.SFfile]
push eax
push 0x46f878
lea ecx, [ebp - 0x10]
push ecx
call fcn.0044b146
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x46f880
mov eax, dword [ebp - 0xdc]
add eax, 0x490
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004505f2
mov dword [ebp - 0x250], eax
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x254], edx
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x254]
push eax
lea ecx, [ebp - 0xd8]
push ecx
call fcn.0045058c
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 0x31
mov eax, dword [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00450496
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0xd8]
call fcn.0045035d
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.0045035d
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42d0aa
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
and ecx, 1
test ecx, ecx
je 0x42d0aa
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.00404d20
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4