Function at 0x462d20
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0xc4]
call fcn.0043ca60
lea ecx, [ebp - 0xc0]
call fcn.0043ca60
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0xcc]
call fcn.0043ca80
lea ecx, [ebp - 0xcc]
call fcn.00468950
push ecx
mov ecx, esp
push 0x52a968
call fcn.0043caa0
push ecx
mov ecx, esp
lea edx, [ebp + 0x10]
push edx
call fcn.0043ca80
push ecx
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
call fcn.0043ca80
lea ecx, [ebp - 0xc0]
push ecx
call fcn.0046f030
add esp, 0x10
lea ecx, [ebp - 0xc0]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462dfb
push 0x52a974
mov ecx, dword [ebp + 8]
call fcn.0043caa0
lea ecx, [ebp - 0xcc]
call fcn.0043cae0
lea ecx, [ebp - 0xc0]
call fcn.0043cae0
lea ecx, [ebp - 0xc4]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
mov eax, dword [ebp + 8]
jmp 0x4631ed
lea ecx, [ebp - 0xc0]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xd4], eax
mov edx, dword [ebp - 0xd4]
and edx, 1
je 0x462e46
mov eax, dword [ebp - 0xd4]
and eax, 0xfffffffe
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0xc0]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.SafeNewCenter
lea ecx, [ebp - 0xc8]
call fcn.00475470
push 0x52a978
lea ecx, [ebp - 0xcc]
call fcn.0043cbd0
test eax, eax
jne 0x462e7c
push str.SafeNewCenter
lea ecx, [ebp - 0xc8]
call fcn.004557c0
jmp 0x462ef3
push 0x52a984
lea ecx, [ebp - 0xcc]
call fcn.0043cbd0
test eax, eax
jne 0x462ea2
push str.SDNewCenter
lea ecx, [ebp - 0xc8]
call fcn.004557c0
jmp 0x462ef3
push 0x52a98c
mov ecx, dword [ebp + 8]
call fcn.0043caa0
lea ecx, [ebp - 0xc8]
call fcn.0043cae0
lea ecx, [ebp - 0xcc]
call fcn.0043cae0
lea ecx, [ebp - 0xc0]
call fcn.0043cae0
lea ecx, [ebp - 0xc4]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
mov eax, dword [ebp + 8]
jmp 0x4631ed
push 0
lea ecx, [ebp - 0xb8]
call fcn.004327d0
lea ecx, [ebp - 0x98]
call fcn.0042c190
push 1
lea ecx, [ebp - 0xa4]
call fcn.00499fc0
lea ecx, [ebp - 0xbc]
call fcn.0043ca60
lea ecx, [ebp - 0xc0]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0xa4]
call fcn.0049a010
test eax, eax
je 0x462f54
lea edx, [ebp - 0xbc]
push edx
lea ecx, [ebp - 0xa4]
call fcn.0049a1a0
test eax, eax
jne 0x462fd1
push 0x52a990
mov ecx, dword [ebp + 8]
call fcn.0043caa0
lea ecx, [ebp - 0xbc]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.00499ff0
lea ecx, [ebp - 0x98]
call fcn.0042e9c0
lea ecx, [ebp - 0xb8]
call fcn.00432bf0
lea ecx, [ebp - 0xc8]
call fcn.0043cae0
lea ecx, [ebp - 0xcc]
call fcn.0043cae0
lea ecx, [ebp - 0xc0]
call fcn.0043cae0
lea ecx, [ebp - 0xc4]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
mov eax, dword [ebp + 8]
jmp 0x4631ed
push 0xfde9
lea ecx, [ebp - 0xbc]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x164]
call fcn.0046a0e0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0xd0]
call fcn.00468740
lea ecx, [ebp - 0x164]
call fcn.0046a110
lea ecx, [ebp - 0xd0]
call fcn.00468780
push eax
lea ecx, [ebp - 0x184]
call fcn.004258f0
push 1
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea ecx, [ebp - 0x98]
call fcn.0042c330
movzx edx, al
neg edx
sbb edx, edx
add edx, 1
mov byte [ebp - 0x165], dl
lea ecx, [ebp - 0x184]
call fcn.00425990
movzx eax, byte [ebp - 0x165]
test eax, eax
je 0x4630fc
push 0xffffffffffffffff
lea ecx, [ebp - 0xd0]
call fcn.004687c0
push 0x52a994
mov ecx, dword [ebp + 8]
call fcn.0043caa0
lea ecx, [ebp - 0xd0]
call fcn.004753d0
lea ecx, [ebp - 0xbc]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.00499ff0
lea ecx, [ebp - 0x98]
call fcn.0042e9c0
lea ecx, [ebp - 0xb8]
call fcn.00432bf0
lea ecx, [ebp - 0xc8]
call fcn.0043cae0
lea ecx, [ebp - 0xcc]
call fcn.0043cae0
lea ecx, [ebp - 0xc0]
call fcn.0043cae0
lea ecx, [ebp - 0xc4]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
mov eax, dword [ebp + 8]
jmp 0x4631ed
push 0xfde9
lea ecx, [ebp - 0x2a4]
push ecx
push 0x52b298
lea ecx, [ebp - 0xb8]
call fcn.00433d40
mov ecx, eax
call fcn.00433010
mov ecx, eax
call fcn.00425ab0
push eax
lea ecx, [ebp - 0x288]
call fcn.0046a150
mov ecx, eax
call fcn.0046a1b0
push eax
lea ecx, [ebp - 0xc4]
call fcn.0043cb20
lea ecx, [ebp - 0x288]
call fcn.0046a180
lea ecx, [ebp - 0x2a4]
call fcn.00425990
push 0xffffffffffffffff
lea ecx, [ebp - 0xd0]
call fcn.004687c0
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp + 8]
call fcn.0043ca80
lea ecx, [ebp - 0xd0]
call fcn.004753d0
lea ecx, [ebp - 0xbc]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.00499ff0
lea ecx, [ebp - 0x98]
call fcn.0042e9c0
lea ecx, [ebp - 0xb8]
call fcn.00432bf0
lea ecx, [ebp - 0xc8]
call fcn.0043cae0
lea ecx, [ebp - 0xcc]
call fcn.0043cae0
lea ecx, [ebp - 0xc0]
call fcn.0043cae0
lea ecx, [ebp - 0xc4]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret 0xc