Function at 0x48dcc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5683d5
mov eax, dword fs:[0]
push eax
sub esp, 0x148
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 dword [ebp - 0xd0], ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xa4]
mov dword [edx], 0
push eax
mov dword [ebp - 0xd8], edx
mov dword [ebp - 0xd4], esi
mov dword [esi], 0
call fcn.0048e7f0
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.extensions.json
mov dword [ebp - 4], 0
call fcn.0045a3a0
mov eax, dword [ebp - 0xa4]
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 - 0xb0]
mov byte [ebp - 4], 0
push eax
call fcn.00516220
add esp, 0xc
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 2
call fcn.0045a580
mov edx, dword [ebp - 0xb0]
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 0x48ddba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48ddd1
xor esi, esi
jmp 0x48e103
lea ecx, [ebp - 0x8c]
call fcn.004cc970
lea eax, [ebp - 0xa4]
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 0x48de0e
xor esi, esi
jmp 0x48e0f4
push str._addons
lea ecx, [ebp - 0x94]
call fcn.0045a3a0
push 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cce70
test al, al
jne 0x48de41
xor esi, esi
jmp 0x48e0d1
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cd5b0
test al, al
mov eax, dword [ebp - 0xe4]
jne 0x48de90
xor esi, esi
jmp 0x48e0b2
xor ebx, ebx
mov dword [ebp - 0xb0], ebx
test eax, eax
jle 0x48e0ad
xorps xmm0, xmm0
movsd qword [ebp - 0x114], xmm0
jmp 0x48deb0
push ebx
lea eax, [ebp - 0x94]
push str._addons__d__id
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004cce70
test al, al
je 0x48e098
push 0x59c550
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x10c], 0
call fcn.0048cac0
xorps xmm0, xmm0
mov byte [ebp - 0x104], 0
movlpd qword [ebp - 0xfc], xmm0
movsd xmm0, qword [ebp - 0x114]
movsd qword [ebp - 0xf4], xmm0
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cdae0
test al, al
jne 0x48df63
mov edx, dword [ebp - 0x108]
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 0x48e098
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x48e098
mov eax, dword [ebp - 0x108]
add eax, 0xfffffff0
push eax
call fcn.0045a950
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x90], esi
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 7
jl 0x48e07e
push str.ask.com
push esi
call fcn.00526d32
add esp, 8
test eax, eax
je 0x48e07e
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x48e07e
push ebx
lea eax, [ebp - 0x94]
push str._addons__d__userDisabled
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004cce70
test al, al
je 0x48e07e
lea ecx, [ebp - 0x134]
call fcn.0048cc20
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cdae0
test al, al
je 0x48e073
movzx eax, byte [ebp - 0x12c]
push ebx
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x94]
push str._addons__d__appDisabled
push eax
call fcn.0045acb0
add esp, 0xc
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x8c]
push 0
push eax
call fcn.004cce70
test al, al
je 0x48e073
lea ecx, [ebp - 0x154]
call fcn.0048cc20
lea eax, [ebp - 0x154]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x8c]
call fcn.004cdae0
test al, al
jne 0x48e14a
lea ecx, [ebp - 0x154]
call fcn.004aa2a0
lea ecx, [ebp - 0x134]
call fcn.004aa2a0
lea ecx, [ebp - 0x90]
call fcn.0048ceb0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.004aa2a0
mov eax, dword [ebp - 0xe4]
inc ebx
mov dword [ebp - 0xb0], ebx
cmp ebx, eax
jl 0x48deb0
mov esi, 1
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
je 0x48e0d1
push eax
push ecx
call fcn.0048d290
push dword [ebp - 0xe8]
call fcn.0052616f
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 0x48e0f4
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 edi, dword [ebp - 0xa4]
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 0x48e12a
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.00525878
mov esp, ebp
pop ebp
ret 0x18
movzx eax, byte [ebp - 0x14c]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xbc], eax
call fcn.0045a530
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xa
jg 0x48e171
or edi, 0xffffffff
jmp 0x48e18b
push 0x5f
push esi
call fcn.00526356
mov edi, eax
add esp, 8
test edi, edi
jne 0x48e187
or edi, 0xffffffff
jmp 0x48e18b
sub edi, esi
sar edi, 1
cmp dword [esi - 0xc], 0
jg 0x48e196
or eax, 0xffffffff
jmp 0x48e1ae
push 0x40
push esi
call fcn.00526356
add esp, 8
test eax, eax
jne 0x48e1aa
or eax, 0xffffffff
jmp 0x48e1ae
sub eax, esi
sar eax, 1
cmp edi, 0xffffffff
je 0x48e4d4
cmp eax, 0xffffffff
je 0x48e4d4
sub eax, edi
lea ecx, [ebp - 0x90]
dec eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0045b170
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xb
call fcn.0045a580
lea ecx, [ebp - 0xcc]
call fcn.0048ceb0
xor ebx, ebx
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xc4], ebx
mov dword [ebp - 0xac], ebx
call fcn.0045a530
mov edi, dword [ebp - 0xa0]
lea eax, [ebp - 0x9c]
mov esi, dword [ebp + 0x14]
mov ecx, esi
push eax
push edi
mov byte [ebp - 4], 0xc
call fcn.00493000
test al, al
jne 0x48e395
mov ebx, dword [ebp - 0xb4]
lea eax, [ebp - 0xc4]
push eax
mov ecx, esi
push dword [ebx]
call fcn.00493000
test al, al
jne 0x48e38f
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0xa8]
push eax
push edi
call fcn.0045fe90
test al, al
je 0x48e29f
mov esi, dword [ebp - 0xa8]
cmp dword [esi - 0xc], 0
je 0x48e29c
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.00493000
test al, al
je 0x48e29c
mov ebx, dword [ebp - 0xc4]
jmp 0x48e39b
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0xc0]
call fcn.0045a530
lea ecx, [ebp - 0xb8]
call fcn.0045a530
push dword [ebx]
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xe
push dword [0x5d1d00]
push str._s_sInfo
push eax
call fcn.0045acb0
lea eax, [ebp - 0xb8]
push eax
push str.strXPITitle
push dword [ebp - 0xc0]
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00511e70
add esp, 0x20
test eax, eax
je 0x48e374
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
push dword [ebp - 0xb8]
call fcn.00493000
test al, al
je 0x48e374
cmp dword [ebp - 0x9c], 0
je 0x48e374
cmp dword [ebp - 0xc8], 0
jne 0x48e35a
cmp dword [ebp - 0xbc], 0
jne 0x48e35a
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xa0]
push eax
call fcn.00491e30
test eax, eax
je 0x48e35a
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0x98]
push edi
inc dword [eax]
call fcn.004bd130
mov dword [eax], 1
jmp 0x48e374
mov eax, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0x98]
push edi
inc dword [eax]
call fcn.004bd130
mov dword [eax], 0
lea ecx, [ebp - 0xb8]
call fcn.0048ceb0
lea ecx, [ebp - 0xc0]
call fcn.0048ceb0
jmp 0x48e480
mov ebx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0x9c]
test eax, eax
jne 0x48e3b5
test ebx, ebx
jne 0x48e3b5
cmp dword [ebp - 0xac], ebx
je 0x48e480
cmp dword [ebp - 0xc8], 0
jne 0x48e448
cmp dword [ebp - 0xbc], 0
jne 0x48e448
mov ecx, dword [ebp - 0xd0]
lea eax, [ebp - 0xa0]
push eax
call fcn.00491e30
test eax, eax
je 0x48e442
mov eax, dword [ebp - 0xd8]
inc dword [eax]
cmp dword [ebp - 0x9c], 0
je 0x48e406
mov ecx, dword [ebp - 0x98]
push edi
call fcn.004bd130
mov dword [eax], 1
jmp 0x48e480
test ebx, ebx
je 0x48e425
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x98]
push dword [eax]
call fcn.004bd130
mov dword [eax], 1
jmp 0x48e480
cmp dword [ebp - 0xac], 0
je 0x48e480
mov ecx, dword [ebp - 0x98]
push esi
call fcn.004bd130
mov dword [eax], 1
jmp 0x48e480
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xd4]
inc dword [ecx]
test eax, eax
je 0x48e457
push edi
jmp 0x48e46f
test ebx, ebx
je 0x48e465
mov eax, dword [ebp - 0xb4]
push dword [eax]
jmp 0x48e46f
cmp dword [ebp - 0xac], 0
je 0x48e480
push esi
mov ecx, dword [ebp - 0x98]
call fcn.004bd130
mov dword [eax], 0
lea ecx, [ebp - 0xa8]
call fcn.0048ceb0
lea ecx, [ebp - 0xa0]
call fcn.0048ceb0
lea ecx, [ebp - 0x154]
call fcn.004aa2a0
lea ecx, [ebp - 0x134]
call fcn.004aa2a0
lea ecx, [ebp - 0x90]
call fcn.0048ceb0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.004aa2a0
mov ebx, dword [ebp - 0xb0]
or edi, 0xffffffff
jmp 0x48e098
lea ecx, [ebp - 0xa0]
call fcn.0048ceb0
lea ecx, [ebp - 0x154]
call fcn.004aa2a0
lea ecx, [ebp - 0x134]
call fcn.004aa2a0
lea ecx, [ebp - 0x90]
call fcn.0048ceb0
lea ecx, [ebp - 0x10c]
mov byte [ebp - 4], 5
call fcn.004aa2a0
or edi, 0xffffffff
jmp 0x48e098