Function at 0x492350
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568b24
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x5d6b80]
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 eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0xa4], edi
call fcn.0048e7f0
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push str.extensions.json
mov dword [ebp - 4], edi
call fcn.0045a3a0
mov eax, dword [ebp - 0x98]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 1
mov esi, esp
push eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0
push eax
call fcn.00516220
add esp, 0xc
push eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0045a580
mov edx, dword [ebp - 0xa0]
or esi, 0xffffffff
add edx, 0xfffffff0
mov byte [ebp - 4], 0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x492418
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x98]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49242f
xor edi, edi
jmp 0x49286e
lea ecx, [ebp - 0x8c]
call fcn.004cc970
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x8c]
call fcn.004ce1d0
push dword [0x5893f8]
lea ecx, [ebp - 0x8c]
call fcn.004cdd90
test al, al
jne 0x49246c
xor edi, edi
jmp 0x49285f
push str._addons
lea ecx, [ebp - 0x90]
call fcn.0045a3a0
push 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cce70
test al, al
jne 0x49249f
xor edi, edi
jmp 0x49283c
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cd5b0
test al, al
mov eax, dword [ebp - 0xb8]
jne 0x4924ee
xor edi, edi
jmp 0x49281d
xor ebx, ebx
test eax, eax
jle 0x49281d
jmp 0x492500
push ebx
lea eax, [ebp - 0x90]
push str._addons__d__id
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004cce70
test al, al
je 0x492808
push 0x59c550
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe4], 0
call fcn.0048cac0
xorps xmm0, xmm0
mov byte [ebp - 0xdc], 0
movlpd qword [ebp - 0xd4], xmm0
movsd qword [ebp - 0xcc], xmm0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cdae0
test al, al
jne 0x4925ab
mov edx, dword [ebp - 0xe0]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x492808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x492808
mov eax, dword [ebp - 0xe0]
add eax, 0xfffffff0
push eax
call fcn.0045a950
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x94], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 7
jl 0x4927eb
push str.ask.com
push esi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x4927eb
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4927eb
push ebx
lea eax, [ebp - 0x90]
push str._addons__d__userDisabled
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004cce70
test al, al
je 0x4927eb
lea ecx, [ebp - 0x104]
call fcn.0048cc20
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cdae0
test al, al
je 0x4927e0
movzx eax, byte [ebp - 0xfc]
push ebx
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0x90]
push str._addons__d__appDisabled
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004cce70
test al, al
je 0x4927e0
lea ecx, [ebp - 0x124]
call fcn.0048cc20
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cdae0
test al, al
je 0x4927d5
movzx eax, byte [ebp - 0x11c]
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
call fcn.0045a530
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xa
jg 0x4926df
or edi, 0xffffffff
jmp 0x4926f9
push 0x5f
push esi
call fcn.00526356
mov edi, eax
add esp, 8
test edi, edi
jne 0x4926f5
or edi, 0xffffffff
jmp 0x4926f9
sub edi, esi
sar edi, 1
cmp dword [esi - 0xc], 0
jg 0x492704
or eax, 0xffffffff
jmp 0x49271c
push 0x40
push esi
call fcn.00526356
add esp, 8
test eax, eax
jne 0x492718
or eax, 0xffffffff
jmp 0x49271c
sub eax, esi
sar eax, 1
cmp edi, 0xffffffff
je 0x4927ca
cmp eax, 0xffffffff
je 0x4927ca
sub eax, edi
lea ecx, [ebp - 0x94]
dec eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xc4]
push eax
call fcn.0045b170
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
call fcn.0045a580
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0xa
call fcn.0048ceb0
mov esi, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc0]
push esi
mov dword [ebp - 0xa0], 0
call fcn.0045cd80
test eax, eax
jne 0x4927ca
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
push eax
push esi
call fcn.00493000
test al, al
je 0x4927ca
cmp dword [ebp - 0xa0], 0
je 0x4927ca
cmp dword [ebp - 0xac], 0
jne 0x4927c0
cmp dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 1
je 0x4927ca
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0x9c]
call fcn.0048ceb0
lea ecx, [ebp - 0x124]
call fcn.004aa2a0
lea ecx, [ebp - 0x104]
call fcn.004aa2a0
lea ecx, [ebp - 0x94]
call fcn.0048ceb0
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 5
call fcn.004aa2a0
or esi, 0xffffffff
mov eax, dword [ebp - 0xb8]
inc ebx
cmp ebx, eax
jl 0x492500
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x49283c
push eax
push ecx
call fcn.0048d290
push dword [ebp - 0xbc]
call fcn.0052616f
add esp, 0xc
mov edx, dword [ebp - 0x90]
mov ecx, esi
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x49285f
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.004ccab0
mov esi, dword [ebp - 0x98]
or ecx, 0xffffffff
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x492895
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.00525878
mov esp, ebp
pop ebp
ret 8