Function at 0x495870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x623820
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov eax, dword [0x786f54]
xor eax, esp
push eax
lea eax, [esp + 0x6c]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004874b0
mov esi, dword [eax + 0x58]
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x2c], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x2f4]
push 1
push ecx
mov ecx, esi
call edx
mov ebx, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x30c]
lea ecx, [edi + 0x28]
push ecx
push ebx
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x300]
push ebx
mov ecx, esi
call edx
lea ecx, [esp + 0x18]
call sub.SCL.dll_Ordinal_9804
lea ecx, [esp + 0x30]
mov dword [esp + 0x74], 0
call fcn.004dad80
mov eax, dword [edi + 0x40]
mov ecx, dword [eax]
push ecx
add eax, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 1
call fcn.004db080
lea ecx, [esp + 0x30]
call fcn.004dc7b0
mov ebp, dword [esp + 0x50]
push str.mobileSettings_testDevices
lea ecx, [esp + 0x20]
call sub.SCL.dll_Ordinal_9806
mov eax, dword [ebp]
mov edx, dword [eax + 8]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
mov byte [esp + 0x78], 2
call edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], eax
mov byte [esp + 0x74], 1
call sub.SCL.dll_Ordinal_9807
mov eax, dword [esp + 0x24]
test eax, eax
je 0x495ace
lea ecx, [esp + 0x18]
push ecx
push eax
push ebx
call fcn.00495040
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.SCL.dll_Ordinal_9804
push str.mobileSettings_contentType
lea ecx, [esp + 0x20]
mov byte [esp + 0x78], 3
call sub.SCL.dll_Ordinal_9806
mov edx, dword [ebp]
mov edx, dword [edx + 8]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebp
mov byte [esp + 0x78], 4
call edx
lea ecx, [esp + 0x1c]
mov ebp, eax
mov byte [esp + 0x74], 3
call sub.SCL.dll_Ordinal_9807
test ebp, ebp
je 0x495a21
push 0x6ee0d0
lea ecx, [esp + 0x28]
call sub.SCL.dll_Ordinal_9806
push 0x6ee304
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 5
call sub.SCL.dll_Ordinal_9806
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x30]
push edx
mov ecx, ebp
mov byte [esp + 0x80], 6
call fcn.004010b0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 7
call sub.SCL.dll_Ordinal_9808
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 6
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 5
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 3
call sub.SCL.dll_Ordinal_9807
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
je 0x495a38
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.00493e10
jmp 0x495a65
push str.standalonePlayer
lea ecx, [esp + 0x28]
call sub.SCL.dll_Ordinal_9806
lea edx, [esp + 0x24]
push edx
mov ecx, edi
mov byte [esp + 0x78], 8
call fcn.00493e10
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 3
call sub.SCL.dll_Ordinal_9807
mov eax, dword [esi]
mov edx, dword [eax + 0x2fc]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1d0]
push esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x154]
mov ecx, esi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x5c4]
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x340]
push ebx
call eax
mov edx, dword [eax]
push 1
push 1
mov ecx, eax
mov eax, dword [edx + 0x2a4]
push 1
call eax
lea eax, [edi + 0x40]
push eax
mov ecx, edi
call fcn.004945f0
lea ecx, [esp + 0x14]
jmp 0x495af1
push str.standalonePlayer
lea ecx, [esp + 0x28]
call sub.SCL.dll_Ordinal_9806
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
mov byte [esp + 0x78], 9
call fcn.00493e10
lea ecx, [esp + 0x24]
mov byte [esp + 0x74], 1
call sub.SCL.dll_Ordinal_9807
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0
call fcn.004db360
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0xffffffff
call sub.SCL.dll_Ordinal_9807
mov al, 1
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret