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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x610
mov eax, dword [0x55930c]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x610], ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0xf8]
call fcn.0043ca80
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x138]
call fcn.0043ca80
lea edx, [ebp + 0x10]
push edx
lea ecx, [ebp - 0xf4]
call fcn.0043ca80
lea ecx, [ebp - 0xf0]
call fcn.0043ca60
push str.SafeNewCenter
lea ecx, [ebp - 0x134]
call fcn.00475470
lea ecx, [ebp - 0x114]
call fcn.0043ca60
lea ecx, [ebp + 8]
call fcn.00468950
lea ecx, [ebp - 0x138]
call fcn.00468950
lea ecx, [ebp - 0xf4]
call fcn.00468950
push 0x52a948
lea ecx, [ebp - 0x138]
call fcn.0043cbd0
test eax, eax
jne 0x462243
push str.SafeNewCenter
lea ecx, [ebp - 0x134]
call fcn.004557c0
jmp 0x4622e0
push 0x52a954
lea ecx, [ebp - 0x138]
call fcn.0043cbd0
test eax, eax
jne 0x462269
push str.SDNewCenter
lea ecx, [ebp - 0x134]
call fcn.004557c0
jmp 0x4622e0
mov dword [ebp - 0x144], 0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x144]
jmp 0x462d0f
push ecx
mov ecx, esp
push 0x52a95c
call fcn.0043caa0
push ecx
mov ecx, esp
lea eax, [ebp + 0x14]
push eax
call fcn.0043ca80
push ecx
mov ecx, esp
lea edx, [ebp + 0xc]
push edx
call fcn.0043ca80
lea eax, [ebp - 0xf0]
push eax
call fcn.0046f030
add esp, 0x10
lea ecx, [ebp - 0xf8]
call fcn.0043cc80
test eax, eax
jle 0x462350
lea ecx, [ebp - 0x138]
call fcn.0043cc80
test eax, eax
jle 0x462350
lea ecx, [ebp - 0xf4]
call fcn.0043cc80
test eax, eax
jle 0x462350
lea ecx, [ebp - 0xf0]
call fcn.0043cc80
test eax, eax
jg 0x4623c7
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x154]
jmp 0x462d0f
lea ecx, [ebp - 0xf0]
call fcn.0043cc50
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x462456
mov dword [ebp - 0x158], 0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x158]
jmp 0x462d0f
lea ecx, [ebp - 0xf0]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
and ecx, 1
je 0x4624a1
mov edx, dword [ebp - 0x140]
and edx, 0xfffffffe
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x140]
push eax
lea ecx, [ebp - 0xf0]
call fcn.0043cc50
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x110]
call fcn.0043ca60
lea ecx, [ebp - 0x10c]
call fcn.0043ca60
lea ecx, [ebp - 0x138]
push ecx
lea edx, [ebp - 0xf4]
push edx
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x1e0]
push ecx
call fcn.00468a30
add esp, 0xc
push eax
lea edx, [ebp - 0x1e4]
push edx
call fcn.00468a30
add esp, 0xc
mov ecx, eax
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x1dc]
call fcn.0046a0b0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x130]
call fcn.004258f0
lea ecx, [ebp - 0x1dc]
call fcn.0046a110
lea ecx, [ebp - 0x1e4]
call fcn.0043cae0
lea ecx, [ebp - 0x1e0]
call fcn.0043cae0
mov byte [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov word [ebp - 0xb], ax
mov byte [ebp - 9], al
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x130]
call fcn.00425ad0
push eax
lea ecx, [ebp - 0x130]
call fcn.00425ab0
push eax
call fcn.0046efc0
add esp, 0xc
push 0
push 0x10
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1e8]
push eax
call fcn.0046f3d0
add esp, 0x10
push eax
lea ecx, [ebp - 0x110]
call fcn.0043cb00
lea ecx, [ebp - 0x1e8]
call fcn.0043cae0
lea ecx, [ebp - 0x110]
call fcn.00468950
push 1
lea ecx, [ebp - 0xd4]
call fcn.00499fc0
lea ecx, [ebp - 4]
call fcn.0043ca60
lea ecx, [ebp - 0xf0]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0xd4]
call fcn.0049a010
test eax, eax
je 0x4625ec
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0049a1a0
test eax, eax
jne 0x462697
mov dword [ebp - 0x1ec], 0
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp - 0xd4]
call fcn.00499ff0
lea ecx, [ebp - 0x130]
call fcn.00425990
lea ecx, [ebp - 0x10c]
call fcn.0043cae0
lea ecx, [ebp - 0x110]
call fcn.0043cae0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x1ec]
jmp 0x462d0f
lea ecx, [ebp - 4]
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x13c]
call fcn.00475390
push 0
lea ecx, [ebp - 0xe8]
call fcn.004327d0
lea ecx, [ebp - 0xc8]
call fcn.0042c190
lea ecx, [ebp - 0x13c]
call fcn.00468780
push eax
lea ecx, [ebp - 0x20c]
call fcn.004258f0
push 1
lea edx, [ebp - 0xe8]
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0042c330
movzx ecx, al
neg ecx
sbb ecx, ecx
add ecx, 1
mov byte [ebp - 0x1ed], cl
lea ecx, [ebp - 0x20c]
call fcn.00425990
movzx edx, byte [ebp - 0x1ed]
test edx, edx
je 0x4627f8
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.004687c0
mov dword [ebp - 0x210], 0
lea ecx, [ebp - 0xc8]
call fcn.0042e9c0
lea ecx, [ebp - 0xe8]
call fcn.00432bf0
lea ecx, [ebp - 0x13c]
call fcn.004753d0
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp - 0xd4]
call fcn.00499ff0
lea ecx, [ebp - 0x130]
call fcn.00425990
lea ecx, [ebp - 0x10c]
call fcn.0043cae0
lea ecx, [ebp - 0x110]
call fcn.0043cae0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x210]
jmp 0x462d0f
push 0xfde9
lea eax, [ebp - 0x330]
push eax
push str.url_check
lea ecx, [ebp - 0xe8]
call fcn.00433d40
mov ecx, eax
call fcn.00433010
mov ecx, eax
call fcn.00425ab0
push eax
lea ecx, [ebp - 0x314]
call fcn.0046a150
mov ecx, eax
call fcn.0046a1b0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0043caa0
lea ecx, [ebp - 0x314]
call fcn.0046a180
lea ecx, [ebp - 0x330]
call fcn.00425990
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x1c]
push edx
call fcn.004755f0
add esp, 8
movzx eax, al
test eax, eax
je 0x462953
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.004687c0
mov dword [ebp - 0x334], 0
lea ecx, [ebp - 0x1c]
call fcn.0043cae0
lea ecx, [ebp - 0xc8]
call fcn.0042e9c0
lea ecx, [ebp - 0xe8]
call fcn.00432bf0
lea ecx, [ebp - 0x13c]
call fcn.004753d0
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp - 0xd4]
call fcn.00499ff0
lea ecx, [ebp - 0x130]
call fcn.00425990
lea ecx, [ebp - 0x10c]
call fcn.0043cae0
lea ecx, [ebp - 0x110]
call fcn.0043cae0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x334]
jmp 0x462d0f
push 0xfde9
lea ecx, [ebp - 0x454]
push ecx
push 0x52b298
lea ecx, [ebp - 0xe8]
call fcn.00433d40
mov ecx, eax
call fcn.00433010
mov ecx, eax
call fcn.00425ab0
push eax
lea ecx, [ebp - 0x438]
call fcn.0046a150
mov ecx, eax
call fcn.0046a1b0
push eax
lea ecx, [ebp - 0x114]
call fcn.0043cb20
lea ecx, [ebp - 0x438]
call fcn.0046a180
lea ecx, [ebp - 0x454]
call fcn.00425990
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x4dc]
push edx
call fcn.00468a30
add esp, 0xc
push eax
lea eax, [ebp - 0x4e0]
push eax
call fcn.00468a30
add esp, 0xc
mov ecx, eax
call fcn.0043cc50
push eax
lea ecx, [ebp - 0x4d8]
call fcn.0046a0b0
mov ecx, eax
call fcn.0046a140
push eax
lea ecx, [ebp - 0x38]
call fcn.004258f0
lea ecx, [ebp - 0x4d8]
call fcn.0046a110
lea ecx, [ebp - 0x4e0]
call fcn.0043cae0
lea ecx, [ebp - 0x4dc]
call fcn.0043cae0
mov byte [ebp - 0x108], 0
xor ecx, ecx
mov dword [ebp - 0x107], ecx
mov dword [ebp - 0x103], ecx
mov dword [ebp - 0xff], ecx
mov word [ebp - 0xfb], cx
mov byte [ebp - 0xf9], cl
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 0x38]
call fcn.00425ad0
push eax
lea ecx, [ebp - 0x38]
call fcn.00425ab0
push eax
call fcn.0046efc0
add esp, 0xc
push 0
push 0x10
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x4e4]
push ecx
call fcn.0046f3d0
add esp, 0x10
push eax
lea ecx, [ebp - 0x10c]
call fcn.0043cb00
lea ecx, [ebp - 0x4e4]
call fcn.0043cae0
lea ecx, [ebp - 0x10c]
call fcn.00468950
push 0xfde9
lea edx, [ebp - 0x604]
push edx
push str.content_check
lea ecx, [ebp - 0xe8]
call fcn.00433d40
mov ecx, eax
call fcn.00433010
mov ecx, eax
call fcn.00425ab0
push eax
lea ecx, [ebp - 0x5e8]
call fcn.0046a150
mov ecx, eax
call fcn.0046a1b0
push eax
lea ecx, [ebp - 0xec]
call fcn.0043caa0
lea ecx, [ebp - 0x5e8]
call fcn.0046a180
lea ecx, [ebp - 0x604]
call fcn.00425990
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.004755f0
add esp, 8
movzx edx, al
test edx, edx
je 0x462c20
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.004687c0
mov dword [ebp - 0x608], 0
lea ecx, [ebp - 0xec]
call fcn.0043cae0
lea ecx, [ebp - 0x38]
call fcn.00425990
lea ecx, [ebp - 0x1c]
call fcn.0043cae0
lea ecx, [ebp - 0xc8]
call fcn.0042e9c0
lea ecx, [ebp - 0xe8]
call fcn.00432bf0
lea ecx, [ebp - 0x13c]
call fcn.004753d0
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp - 0xd4]
call fcn.00499ff0
lea ecx, [ebp - 0x130]
call fcn.00425990
lea ecx, [ebp - 0x10c]
call fcn.0043cae0
lea ecx, [ebp - 0x110]
call fcn.0043cae0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x608]
jmp 0x462d0f
push 0xffffffffffffffff
lea ecx, [ebp - 0x13c]
call fcn.004687c0
mov dword [ebp - 0x60c], 1
lea ecx, [ebp - 0xec]
call fcn.0043cae0
lea ecx, [ebp - 0x38]
call fcn.00425990
lea ecx, [ebp - 0x1c]
call fcn.0043cae0
lea ecx, [ebp - 0xc8]
call fcn.0042e9c0
lea ecx, [ebp - 0xe8]
call fcn.00432bf0
lea ecx, [ebp - 0x13c]
call fcn.004753d0
lea ecx, [ebp - 4]
call fcn.0043cae0
lea ecx, [ebp - 0xd4]
call fcn.00499ff0
lea ecx, [ebp - 0x130]
call fcn.00425990
lea ecx, [ebp - 0x10c]
call fcn.0043cae0
lea ecx, [ebp - 0x110]
call fcn.0043cae0
lea ecx, [ebp - 0x114]
call fcn.0043cae0
lea ecx, [ebp - 0x134]
call fcn.0043cae0
lea ecx, [ebp - 0xf0]
call fcn.0043cae0
lea ecx, [ebp - 0xf4]
call fcn.0043cae0
lea ecx, [ebp - 0x138]
call fcn.0043cae0
lea ecx, [ebp - 0xf8]
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
mov eax, dword [ebp - 0x60c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004e9752
mov esp, ebp
pop ebp
ret 0x10