Function at 0x463480
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fae4a
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x53f030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc8], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x9c]
mov dword [edx], 0
push eax
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xc0], esi
mov dword [esi], 0
call fcn.00463e90
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
push str.extensions.json
mov dword [ebp - 4], 0
call fcn.0043a420
mov eax, dword [ebp - 0x9c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 1
mov esi, esp
push eax
call fcn.0043a9d0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0
push eax
call fcn.004c4580
add esp, 0xc
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0043a620
mov edx, dword [ebp - 0xa8]
or edi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x463571
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x9c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x463588
xor esi, esi
jmp 0x4638ad
lea ecx, [ebp - 0x8c]
call fcn.0048fe10
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x8c]
call fcn.004917c0
push dword [0x5107a4]
lea ecx, [ebp - 0x8c]
call fcn.00491380
test al, al
jne 0x4635c5
xor esi, esi
jmp 0x46389e
push str._addons
lea ecx, [ebp - 0x94]
call fcn.0043a420
push 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.004903c0
test al, al
jne 0x4635f8
xor esi, esi
jmp 0x46387b
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.00490b00
test al, al
mov eax, dword [ebp - 0xd8]
jne 0x463647
xor esi, esi
jmp 0x46385c
xor ebx, ebx
test eax, eax
jle 0x463857
xorps xmm0, xmm0
movsd qword [ebp - 0x124], xmm0
lea esp, [esp]
push ebx
lea eax, [ebp - 0x94]
push str._addons__d__id
push eax
call fcn.0043ad30
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004903c0
test al, al
je 0x463848
push 0x51e9b0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0xfc], 0
call fcn.00461f80
xorps xmm0, xmm0
mov byte [ebp - 0xf4], 0
movlpd qword [ebp - 0xec], xmm0
movsd xmm0, qword [ebp - 0x124]
movsd qword [ebp - 0xe4], xmm0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x8c]
call fcn.00491030
test al, al
jne 0x463713
mov edx, dword [ebp - 0xf8]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x463848
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x463848
mov eax, dword [ebp - 0xf8]
add eax, 0xfffffff0
push eax
call fcn.0043a9d0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x90], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 7
jl 0x46382e
push str.ask.com
push esi
call fcn.004d9e7e
add esp, 8
test eax, eax
je 0x46382e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x46382e
push ebx
lea eax, [ebp - 0x94]
push str._addons__d__userDisabled
push eax
call fcn.0043ad30
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004903c0
test al, al
je 0x46382e
lea ecx, [ebp - 0x11c]
call fcn.004620e0
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x8c]
call fcn.00491030
test al, al
je 0x463823
movzx eax, byte [ebp - 0x114]
push ebx
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x94]
push str._addons__d__appDisabled
push eax
call fcn.0043ad30
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004903c0
test al, al
je 0x463823
lea ecx, [ebp - 0x144]
call fcn.004620e0
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x8c]
call fcn.00491030
test al, al
jne 0x4638f4
lea ecx, [ebp - 0x144]
call fcn.00492ed0
lea ecx, [ebp - 0x11c]
call fcn.00492ed0
lea ecx, [ebp - 0x90]
call fcn.00441080
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 5
call fcn.00492ed0
mov eax, dword [ebp - 0xd8]
inc ebx
cmp ebx, eax
jl 0x463660
mov esi, 1
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
je 0x46387b
push eax
push ecx
call fcn.00462770
push dword [ebp - 0xdc]
call fcn.004d92bb
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov ecx, edi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46389e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.0048ff30
mov edi, dword [ebp - 0x9c]
or ecx, 0xffffffff
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4638d4
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d89fb
mov esp, ebp
pop ebp
ret 0x14
movzx eax, byte [ebp - 0x13c]
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xa8], eax
call fcn.0043a5b0
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xa
jg 0x46391b
or edi, 0xffffffff
jmp 0x463935
push 0x5f
push esi
call fcn.004d94a2
mov edi, eax
add esp, 8
test edi, edi
jne 0x463931
or edi, 0xffffffff
jmp 0x463935
sub edi, esi
sar edi, 1
cmp dword [esi - 0xc], 0
jg 0x463940
or eax, 0xffffffff
jmp 0x463958
push 0x40
push esi
call fcn.004d94a2
add esp, 8
test eax, eax
jne 0x463954
or eax, 0xffffffff
jmp 0x463958
sub eax, esi
sar eax, 1
cmp edi, 0xffffffff
je 0x463b79
cmp eax, 0xffffffff
je 0x463b79
sub eax, edi
lea ecx, [ebp - 0x90]
dec eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.0043b1e0
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xb
call fcn.0043a620
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.00441080
mov esi, dword [ebp - 0x98]
lea eax, [ebp - 0xa0]
mov ecx, dword [ebp + 0x14]
xor edi, edi
push eax
push esi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xc4], edi
call fcn.004675c0
test al, al
jne 0x463aed
mov edi, dword [ebp - 0xb4]
lea eax, [ebp - 0xc4]
mov ecx, dword [ebp + 0x14]
push eax
push dword [edi]
call fcn.004675c0
test al, al
jne 0x463ae7
lea ecx, [ebp - 0xb8]
call fcn.0043a5b0
lea ecx, [ebp - 0xb0]
call fcn.0043a5b0
push dword [edi]
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 0xd
push dword [0x53c210]
push str._s_sInfo
push eax
call fcn.0043ad30
lea eax, [ebp - 0xb0]
push eax
push str.strXPITitle
push dword [ebp - 0xb8]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004b9fe0
add esp, 0x20
test eax, eax
je 0x463acc
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xb0]
call fcn.004675c0
test al, al
je 0x463acc
cmp dword [ebp - 0xa0], 0
je 0x463acc
cmp dword [ebp - 0xac], 0
jne 0x463ab2
cmp dword [ebp - 0xa8], 0
jne 0x463ab2
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x98]
push eax
call fcn.004663f0
test eax, eax
je 0x463ab2
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xa4]
push esi
inc dword [eax]
call fcn.004d2420
mov dword [eax], 1
jmp 0x463acc
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xa4]
push esi
inc dword [eax]
call fcn.004d2420
mov dword [eax], 0
lea ecx, [ebp - 0xb0]
call fcn.00441080
lea ecx, [ebp - 0xb8]
call fcn.00441080
jmp 0x463b79
mov edi, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xa0]
test esi, esi
jne 0x463afb
test edi, edi
je 0x463b79
cmp dword [ebp - 0xac], 0
jne 0x463b4f
cmp dword [ebp - 0xa8], 0
jne 0x463b4f
mov ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0x98]
push eax
call fcn.004663f0
test eax, eax
je 0x463b4f
mov edi, dword [ebp - 0xcc]
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0xa4]
inc dword [edi]
test esi, esi
cmove eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.004d2420
mov dword [eax], 1
jmp 0x463b79
mov edi, dword [ebp - 0xc0]
lea eax, [ebp - 0x98]
mov ecx, dword [ebp - 0xa4]
inc dword [edi]
test esi, esi
cmove eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.004d2420
mov dword [eax], 0
lea ecx, [ebp - 0x98]
call fcn.00441080
lea ecx, [ebp - 0x144]
call fcn.00492ed0
lea ecx, [ebp - 0x11c]
call fcn.00492ed0
lea ecx, [ebp - 0x90]
call fcn.00441080
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 5
call fcn.00492ed0
or edi, 0xffffffff
jmp 0x463848