Function at 0x10021f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075991
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x1009e034]
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 - 0x98], ecx
push 0x20
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
add esp, 4
mov dword [ebp - 0x8c], esi
test esi, esi
je 0x10021fa5
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0
lea eax, [esi + 4]
mov dword [esi], vtable.iGarbage::ITraceItemSet.0
mov dword [esi + 8], 0x7e0
push 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push eax
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x10021faf
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.1004e070
push 0
push str.SoftwareRealNetworksRealPlayer6.0PreferencesLastOpenFileDir
push 0x80000001
lea ecx, [ebp - 0xd8]
call fcn.1005c350
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1004e0c0
mov byte [ebp - 4], 0
cmp dword [ebp - 0xa4], 8
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x10022015
push dword [ebp - 0xb8]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
jb 0x10022046
push dword [ebp - 0xd4]
call ebx
add esp, 4
push 0
push str.SoftwareRealNetworksRealPlayer6.0PreferencesMostRecentClips1
push 0x80000001
lea ecx, [ebp - 0xd8]
call fcn.1005c350
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1004e0c0
cmp dword [ebp - 0xa4], 8
jb 0x1002207e
push dword [ebp - 0xb8]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0xc0], 8
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
jb 0x100220af
push dword [ebp - 0xd4]
call ebx
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor esi, esi
xor edi, edi
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x14], esi
mov ebx, edx
cmp edx, ecx
je 0x100221bc
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebx]
push 0x18
mov dword [ebp - 0xa0], eax
call dword [sym.imp.MSVCR110.dll_void____cdecl_operator_new_unsigned_int_]
mov edi, eax
add esp, 4
test edi, edi
je 0x1002213e
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x8c]
sar eax, 2
mov ecx, dword [ecx + 8]
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xa0]
mov dword [edi + 4], ecx
mov dword [edi + 0xc], 0
mov dword [edi], vtable.iGarbage::GarbageRegItem.0
mov dword [edi + 0x10], eax
jmp 0x10022140
xor edi, edi
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], edi
cmp ecx, eax
jae 0x10022186
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x90]
cmp ecx, edx
ja 0x10022186
mov edi, edx
sub edi, ecx
sar edi, 2
cmp eax, dword [esi + 0x14]
jne 0x10022175
push ecx
lea ecx, [esi + 0xc]
call fcn.10008fc0
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
test ecx, ecx
je 0x1002219d
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x1002219d
cmp eax, dword [esi + 0x14]
jne 0x10022194
push ecx
lea ecx, [esi + 0xc]
call fcn.10008fc0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1002219d
mov dword [eax], edi
add dword [esi + 0x10], 4
add ebx, 4
cmp ebx, dword [ebp - 0x9c]
jne 0x100220f4
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x94]
test edx, edx
je 0x100221d0
push edx
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
add esp, 4
cmp esi, edi
je 0x10022274
jmp 0x100221e0
mov ebx, dword [esi]
test ebx, ebx
je 0x10022266
cmp dword [ebx + 0x4c], 8
jb 0x100221fc
push dword [ebx + 0x38]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebx + 0x4c], 7
mov dword [ebx + 0x48], 0
mov word [ebx + 0x38], ax
cmp dword [ebx + 0x34], 8
jb 0x10022222
push dword [ebx + 0x20]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebx + 0x34], 7
mov dword [ebx + 0x30], 0
mov word [ebx + 0x20], ax
cmp dword [ebx + 0x18], 8
jb 0x10022248
push dword [ebx + 4]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebx + 0x18], 7
mov dword [ebx + 0x14], 0
push ebx
mov word [ebx + 4], ax
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
add esi, 4
cmp esi, edi
jne 0x100221e0
mov esi, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x10022287
push esi
call ebx
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 4], 5
push 0x19
xor eax, eax
push str._APPDATA_RealRealPlayer
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.10003de0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.10058dd0
mov byte [ebp - 4], 8
cmp dword [ebp - 0x2c], 8
jb 0x100222ef
push dword [ebp - 0x40]
call ebx
add esp, 4
xor eax, eax
push str.History
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.10058b60
add esp, 4
mov byte [ebp - 4], 9
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
cmovae eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x1002239b
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x28]
call fcn.100126d0
mov esi, dword [ebp - 0x8c]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.1002be10
mov byte [ebp - 4], 9
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x100223a1
push dword [ebp - 0x48]
push edi
call fcn.1000db40
push edi
call ebx
add esp, 4
jmp 0x100223a1
mov esi, dword [ebp - 0x8c]
push str.realplayer.ste
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x40]
call fcn.10058b60
add esp, 4
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x2c], 8
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
cmp eax, 1
jne 0x100223dc
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.1002bf50
mov byte [ebp - 4], 9
cmp dword [ebp - 0x2c], 8
jb 0x100223ee
push dword [ebp - 0x40]
call ebx
add esp, 4
push str.cookies.txt
lea edx, [ebp - 0x7c]
lea ecx, [ebp - 0x40]
call fcn.10058b60
add esp, 4
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
cmp eax, 1
jne 0x10022423
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.1002bf50
cmp dword [ebp - 0x2c], 8
jb 0x10022431
push dword [ebp - 0x40]
call ebx
add esp, 4
cmp dword [ebp - 0x50], 8
jb 0x1002243f
push dword [ebp - 0x64]
call ebx
add esp, 4
xor eax, eax
cmp dword [ebp - 0x68], 8
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
jb 0x10022461
push dword [ebp - 0x7c]
call ebx
add esp, 4
mov ecx, dword [ebp - 0x98]
push esi
xor eax, eax
push 0x7e0
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.1001f0a0
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.1006e4e6
mov esp, ebp
pop ebp
ret