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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b12d
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.0040dfd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040dfd0
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x28c], 0
jne 0x43a4bf
mov ecx, dword [ebp - 0xdc]
add ecx, 0x4d0
push ecx
push 0x484010
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0046051a
push 1
mov eax, dword [str.2120file]
push eax
push 0x484014
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x48401c
mov eax, dword [ebp - 0xdc]
add eax, 0x570
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x439ff1
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x439ff1
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xdc]
add eax, 0x4d4
push eax
push 0x484020
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0046051a
push 2
mov edx, dword [str.2120file]
push edx
push 0x484024
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x48402c
mov edx, dword [ebp - 0xdc]
add edx, 0x570
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a17c
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43a17c
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0xdc]
add edx, 0x4d8
push edx
push 0x484030
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.0046051a
push 3
mov ecx, dword [str.2120file]
push ecx
push 0x484034
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x48403c
mov ecx, dword [ebp - 0xdc]
add ecx, 0x570
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a307
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43a307
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x4dc
push ecx
push 0x484040
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x4c]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x50]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0046051a
push 4
mov eax, dword [str.2120file]
push eax
push 0x484044
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x48404c
mov eax, dword [ebp - 0xdc]
add eax, 0x570
push eax
lea ecx, [ebp - 0x54]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x58]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a491
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43a491
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x43b1c2
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x28c], 1
jne 0x43ab25
mov ecx, dword [ebp - 0xdc]
add ecx, 0x4b0
push ecx
push 0x484050
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x5c]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x60]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.0046051a
push 1
mov eax, dword [str.2122file]
push eax
push 0x484054
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x48405c
mov eax, dword [ebp - 0xdc]
add eax, 0x570
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x68]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a633
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43a633
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xdc]
add eax, 0x4b4
push eax
push 0x484060
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x70]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.0046051a
push 2
mov edx, dword [str.2122file]
push edx
push 0x484064
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x48406c
mov edx, dword [ebp - 0xdc]
add edx, 0x570
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x78]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a7be
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43a7be
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0xdc]
add edx, 0x4b8
push edx
push 0x484070
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x80]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x7c]
call fcn.0046051a
push 3
mov ecx, dword [str.2122file]
push ecx
push 0x484074
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x48407c
mov ecx, dword [ebp - 0xdc]
add ecx, 0x570
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x88]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a955
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43a955
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x4bc
push ecx
push 0x484080
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x90]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.0046051a
push 4
mov eax, dword [str.2122file]
push eax
push 0x484084
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x48408c
mov eax, dword [ebp - 0xdc]
add eax, 0x570
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x98]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43aaf7
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43aaf7
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x43b1c2
mov eax, dword [ebp - 0xdc]
cmp dword [eax + 0x28c], 2
jne 0x43b1c2
mov ecx, dword [ebp - 0xdc]
add ecx, 0x490
push ecx
push 0x484090
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0xa0]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.0046051a
push 1
mov eax, dword [str.SFfile]
push eax
push 0x484094
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x48409c
mov eax, dword [ebp - 0xdc]
add eax, 0x570
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xa8]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43acb1
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43acb1
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xdc]
add eax, 0x494
push eax
push 0x4840a0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xac]
push edx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xb0]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xac]
call fcn.0046051a
push 2
mov edx, dword [str.SFfile]
push edx
push 0x4840a4
lea eax, [ebp - 0x10]
push eax
call fcn.0045b306
add esp, 0x10
lea ecx, [ebp - 0x10]
push ecx
push 0x4840ac
mov edx, dword [ebp - 0xdc]
add edx, 0x570
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xb8]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43ae54
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43ae54
mov ecx, dword [ebp - 0x18]
and ecx, 0xfffffffe
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0xdc]
add edx, 0x498
push edx
push 0x4840b0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xbc]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0xc0]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xbc]
call fcn.0046051a
push 3
mov ecx, dword [str.SFfile]
push ecx
push 0x4840b4
lea edx, [ebp - 0x10]
push edx
call fcn.0045b306
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push 0x4840bc
mov ecx, dword [ebp - 0xdc]
add ecx, 0x570
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xc8]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc4]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43aff7
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43aff7
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [ebp - 0xdc]
add ecx, 0x49c
push ecx
push 0x4840c0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0xcc]
push eax
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0xd0]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.0046051a
push 4
mov eax, dword [str.SFfile]
push eax
push 0x4840c4
lea ecx, [ebp - 0x10]
push ecx
call fcn.0045b306
add esp, 0x10
lea edx, [ebp - 0x10]
push edx
push 0x4840cc
mov eax, dword [ebp - 0xdc]
add eax, 0x570
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.004607af
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.00460749
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.00460653
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0xd8]
call fcn.0046051a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
call fcn.0046051a
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43b199
lea ecx, [ebp - 0x14]
call fcn.0040dff0
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 0x43b199
mov edx, dword [ebp - 0x18]
and edx, 0xfffffffe
push edx
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x14]
call fcn.0040dff0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040dff0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046051a
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