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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x4f0], ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xa4]
call fcn.0043ca80
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.0043ca80
lea edx, [ebp + 0x10]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0043ca80
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x78]
call fcn.0043ca80
push str.SafeNewCenter
lea ecx, [ebp - 0xb4]
call fcn.00475470
lea ecx, [ebp - 0xa0]
call fcn.0043ca60
mov dword [ebp - 0x74], 0
push 1
lea ecx, [ebp - 0xb0]
call fcn.00499fc0
lea ecx, [ebp - 0xa4]
call fcn.00468950
lea ecx, [ebp - 0xb8]
call fcn.00468950
lea ecx, [ebp - 0x4c]
call fcn.00468950
lea ecx, [ebp - 0x78]
call fcn.00468950
push 0x52a928
lea ecx, [ebp - 0xb8]
call fcn.0043cbd0
test eax, eax
jne 0x46196d
push str.SafeNewCenter
lea ecx, [ebp - 0xb4]
call fcn.004557c0
jmp 0x461a1a
push 0x52a934
lea ecx, [ebp - 0xb8]
call fcn.0043cbd0
test eax, eax
jne 0x461996
push str.SDNewCenter
lea ecx, [ebp - 0xb4]
call fcn.004557c0
jmp 0x461a1a
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0xb0]
call fcn.00499ff0
lea ecx, [ebp - 0xa0]
call fcn.0043cae0
lea ecx, [ebp - 0xb4]
call fcn.0043cae0
lea ecx, [ebp - 0x78]
call fcn.0043cae0
lea ecx, [ebp - 0x4c]
call fcn.0043cae0
lea ecx, [ebp - 0xb8]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.0043cae0
lea ecx, [ebp + 8]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
lea ecx, [ebp + 0x14]
call fcn.0043cae0
lea ecx, [ebp + 0x18]
call fcn.0043cae0
mov eax, dword [ebp - 0xd0]
jmp 0x4620f1
lea ecx, [ebp - 0xa4]
call fcn.0043cc80
test eax, eax
jle 0x461a45
lea ecx, [ebp + 0x10]
call fcn.0043cc80
test eax, eax
jle 0x461a45
lea ecx, [ebp + 0x14]
call fcn.0043cc80
test eax, eax
jg 0x461ac9
mov dword [ebp - 0xd4], 0
lea ecx, [ebp - 0xb0]
call fcn.00499ff0
lea ecx, [ebp - 0xa0]
call fcn.0043cae0
lea ecx, [ebp - 0xb4]
call fcn.0043cae0
lea ecx, [ebp - 0x78]
call fcn.0043cae0
lea ecx, [ebp - 0x4c]
call fcn.0043cae0
lea ecx, [ebp - 0xb8]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.0043cae0
lea ecx, [ebp + 8]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
lea ecx, [ebp + 0x14]
call fcn.0043cae0
lea ecx, [ebp + 0x18]
call fcn.0043cae0
mov eax, dword [ebp - 0xd4]
jmp 0x4620f1
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x15c]
push ecx
call fcn.00468a30
add esp, 0xc
push eax
lea edx, [ebp - 0x160]
push edx
call fcn.00468a30
add esp, 0xc
mov ecx, eax
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x158]
call fcn.0046a0b0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x9c]
call fcn.004258f0
lea ecx, [ebp - 0x158]
call fcn.0046a110
lea ecx, [ebp - 0x160]
call fcn.0043cae0
lea ecx, [ebp - 0x15c]
call fcn.0043cae0
mov byte [ebp - 0xc8], 0
xor eax, eax
mov dword [ebp - 0xc7], eax
mov dword [ebp - 0xc3], eax
mov dword [ebp - 0xbf], eax
mov word [ebp - 0xbb], ax
mov byte [ebp - 0xb9], al
lea ecx, [ebp - 0xc8]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00425ad0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00425ab0
push eax
call fcn.0046efc0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0xc8]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.0046f3d0
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.00468950
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xb8]
push edx
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.00468a30
add esp, 0xc
push eax
lea edx, [ebp - 0x1ec]
push edx
call fcn.00468a30
add esp, 0xc
mov ecx, eax
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x1e4]
call fcn.0046a0b0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x20]
call fcn.004258f0
lea ecx, [ebp - 0x1e4]
call fcn.0046a110
lea ecx, [ebp - 0x1ec]
call fcn.0043cae0
lea ecx, [ebp - 0x1e8]
call fcn.0043cae0
mov byte [ebp - 0x70], 0
xor eax, eax
mov dword [ebp - 0x6f], eax
mov dword [ebp - 0x6b], eax
mov dword [ebp - 0x67], eax
mov word [ebp - 0x63], ax
mov byte [ebp - 0x61], al
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00425ad0
push eax
lea ecx, [ebp - 0x20]
call fcn.00425ab0
push eax
call fcn.0046efc0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.0046f3d0
add esp, 0x10
lea ecx, [ebp - 0x48]
call fcn.00468950
push ecx
mov ecx, esp
push 0x52a93c
call fcn.0043caa0
push ecx
mov ecx, esp
lea edx, [ebp + 0x18]
push edx
call fcn.0043ca80
push ecx
mov ecx, esp
lea eax, [ebp + 0xc]
push eax
call fcn.0043ca80
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0046f030
add esp, 0x10
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
je 0x461cc1
lea ecx, [ebp - 0xa0]
call fcn.0043cc80
test eax, eax
jg 0x461d68
mov dword [ebp - 0x1fc], 0
lea ecx, [ebp - 0x48]
call fcn.0043cae0
lea ecx, [ebp - 0x20]
call fcn.00425990
lea ecx, [ebp - 0x80]
call fcn.0043cae0
lea ecx, [ebp - 0x9c]
call fcn.00425990
lea ecx, [ebp - 0xb0]
call fcn.00499ff0
lea ecx, [ebp - 0xa0]
call fcn.0043cae0
lea ecx, [ebp - 0xb4]
call fcn.0043cae0
lea ecx, [ebp - 0x78]
call fcn.0043cae0
lea ecx, [ebp - 0x4c]
call fcn.0043cae0
lea ecx, [ebp - 0xb8]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.0043cae0
lea ecx, [ebp + 8]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
lea ecx, [ebp + 0x14]
call fcn.0043cae0
lea ecx, [ebp + 0x18]
call fcn.0043cae0
mov eax, dword [ebp - 0x1fc]
jmp 0x4620f1
lea ecx, [ebp - 0xa0]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461dc9
lea ecx, [ebp - 0xa0]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xcc]
and edx, 1
je 0x461dc9
mov eax, dword [ebp - 0xcc]
and eax, 0xfffffffe
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea ecx, [ebp - 0x60]
call fcn.004327d0
lea ecx, [ebp - 0x44]
call fcn.004233d0
push 0xfde9
lea ecx, [ebp - 0x80]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x294]
call fcn.0046a0e0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x210]
call fcn.004328e0
lea edx, [ebp - 0x210]
push edx
push str.url_check
lea ecx, [ebp - 0x60]
call fcn.00433d40
mov ecx, eax
call fcn.00432d40
lea ecx, [ebp - 0x210]
call fcn.00432bf0
lea ecx, [ebp - 0x294]
call fcn.0046a110
push 0xfde9
lea ecx, [ebp - 0x48]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x32c]
call fcn.0046a0e0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x2a8]
call fcn.004328e0
lea eax, [ebp - 0x2a8]
push eax
push str.content_check
lea ecx, [ebp - 0x60]
call fcn.00433d40
mov ecx, eax
call fcn.00432d40
lea ecx, [ebp - 0x2a8]
call fcn.00432bf0
lea ecx, [ebp - 0x32c]
call fcn.0046a110
push 0xfde9
lea ecx, [ebp - 0xa4]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x3c4]
call fcn.0046a0e0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x340]
call fcn.004328e0
lea ecx, [ebp - 0x340]
push ecx
push 0x52b298
lea ecx, [ebp - 0x60]
call fcn.00433d40
mov ecx, eax
call fcn.00432d40
lea ecx, [ebp - 0x340]
call fcn.00432bf0
lea ecx, [ebp - 0x3c4]
call fcn.0046a110
push 0xfde9
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0x4e4]
push eax
lea ecx, [ebp - 0x44]
call fcn.00423410
mov ecx, eax
call fcn.00425ab0
push eax
lea ecx, [ebp - 0x4c8]
call fcn.0046a150
mov ecx, eax
call fcn.0046a1b0
push eax
lea ecx, [ebp - 0x7c]
call fcn.0043caa0
lea ecx, [ebp - 0x4c8]
call fcn.0046a180
lea ecx, [ebp - 0x4e4]
call fcn.00425990
lea ecx, [ebp - 0xa0]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0xb0]
call fcn.0049a060
test eax, eax
je 0x461f78
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.0049a0e0
test eax, eax
jne 0x462037
mov dword [ebp - 0x4e8], 0
lea ecx, [ebp - 0x7c]
call fcn.0043cae0
lea ecx, [ebp - 0x44]
call fcn.004229f0
lea ecx, [ebp - 0x60]
call fcn.00432bf0
lea ecx, [ebp - 0x48]
call fcn.0043cae0
lea ecx, [ebp - 0x20]
call fcn.00425990
lea ecx, [ebp - 0x80]
call fcn.0043cae0
lea ecx, [ebp - 0x9c]
call fcn.00425990
lea ecx, [ebp - 0xb0]
call fcn.00499ff0
lea ecx, [ebp - 0xa0]
call fcn.0043cae0
lea ecx, [ebp - 0xb4]
call fcn.0043cae0
lea ecx, [ebp - 0x78]
call fcn.0043cae0
lea ecx, [ebp - 0x4c]
call fcn.0043cae0
lea ecx, [ebp - 0xb8]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.0043cae0
lea ecx, [ebp + 8]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
lea ecx, [ebp + 0x14]
call fcn.0043cae0
lea ecx, [ebp + 0x18]
call fcn.0043cae0
mov eax, dword [ebp - 0x4e8]
jmp 0x4620f1
mov dword [ebp - 0x4ec], 1
lea ecx, [ebp - 0x7c]
call fcn.0043cae0
lea ecx, [ebp - 0x44]
call fcn.004229f0
lea ecx, [ebp - 0x60]
call fcn.00432bf0
lea ecx, [ebp - 0x48]
call fcn.0043cae0
lea ecx, [ebp - 0x20]
call fcn.00425990
lea ecx, [ebp - 0x80]
call fcn.0043cae0
lea ecx, [ebp - 0x9c]
call fcn.00425990
lea ecx, [ebp - 0xb0]
call fcn.00499ff0
lea ecx, [ebp - 0xa0]
call fcn.0043cae0
lea ecx, [ebp - 0xb4]
call fcn.0043cae0
lea ecx, [ebp - 0x78]
call fcn.0043cae0
lea ecx, [ebp - 0x4c]
call fcn.0043cae0
lea ecx, [ebp - 0xb8]
call fcn.0043cae0
lea ecx, [ebp - 0xa4]
call fcn.0043cae0
lea ecx, [ebp + 8]
call fcn.0043cae0
lea ecx, [ebp + 0xc]
call fcn.0043cae0
lea ecx, [ebp + 0x10]
call fcn.0043cae0
lea ecx, [ebp + 0x14]
call fcn.0043cae0
lea ecx, [ebp + 0x18]
call fcn.0043cae0
mov eax, dword [ebp - 0x4ec]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret 0x14