Function at 0x4695b0
Capabilities:
Check internet connectivity via wininet
Create thread
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50e21b
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x428], eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x440]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
mov esi, ecx
push eax
mov ecx, str.CB5_InstallApp::InitInstance
call fcn.00467280
xor edi, edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x448], edi
push ecx
mov dword [esp + 0x18], edi
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x469643
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
je 0x46964a
push edi
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x46964a
mov al, byte [esp + 0x14]
test al, 0x20
jne 0x46964a
test al, 7
je 0x46964a
mov dword [esi + 0x24], 1
cmp dword [0x55ad88], edi
jne 0x46967d
call fcn.0046ac90
mov ecx, eax
call fcn.00473f20
test eax, eax
jne 0x46967d
lea ecx, [esp + 0x18]
mov dword [esp + 0x448], 0xffffffff
call fcn.00467180
xor eax, eax
jmp 0x46981f
call fcn.0046ac90
push eax
call fcn.0048c1c0
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push edi
push esi
push 0x4699f0
push edi
push edi
mov dword [esi + 0x48], eax
call fcn.004e5eb8
mov dword [esi + 0xac], eax
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x38]
add esp, 0x18
lea eax, [edi + 0x1c]
push str.Skin.xml
push eax
mov ebx, 8
call fcn.004594e0
lea eax, [edi + 0x20]
push 0x51a1b4
push eax
xor ebx, ebx
call fcn.004594e0
push 0x51a1b4
add edi, 0x24
push edi
call fcn.004594e0
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call fcn.004e98c0
mov eax, dword [0x55ad80]
add esp, 0xc
push 0x104
lea edx, [esp + 0x230]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str...Default.bfskin
lea ecx, [esp + 0x230]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2e]
push eax
mov word [esp + 0x30], dx
call fcn.004e98c0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
push str.BFInstallSkinFolder
push str.SoftwareBaofengStormPlayerUserConfig
push SysReAllocString
mov dword [esp + 0x2c], 0x102
mov dword [esp + 0x38], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x24], bx
je 0x4697a1
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4697a1
lea edi, [esp + 0x24]
mov eax, esi
call fcn.00494df0
jmp 0x4697ce
mov eax, dword [esi + 4]
mov edx, dword [0x55ad80]
mov dword [eax + 0x5c], 2
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], 0x8c
add eax, 0x70
push str.Theme
push eax
mov ebx, 5
call fcn.004594e0
cmp dword [0x55ad88], 0
jne 0x469806
test byte [0x55b164], 1
jne 0x4697e7
call fcn.0046ac20
jmp 0x4697ec
mov eax, 0x55af30
push eax
call fcn.0048dcf0
test al, al
je 0x469662
call fcn.0046ac90
mov ebx, eax
call fcn.00475000
lea ecx, [esp + 0x18]
mov dword [esp + 0x448], 0xffffffff
call fcn.00467180
mov eax, 1
mov ecx, dword [esp + 0x440]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.004e4be0
mov esp, ebp
pop ebp
ret