Function at 0x4694a0
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 0x50de9b
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 ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x448], ebx
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.SensApi.dll_IsNetworkAlive]
test eax, eax
jne 0x469533
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x46953a
push ebx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x46953a
mov al, byte [esp + 0x14]
test al, 0x20
jne 0x46953a
test al, 7
je 0x46953a
mov dword [esi + 0x24], 1
cmp dword [0x55ad88], ebx
jne 0x46956d
call fcn.0046ab50
mov ecx, eax
call fcn.00473c20
test eax, eax
jne 0x46956d
lea ecx, [esp + 0x18]
mov dword [esp + 0x448], 0xffffffff
call fcn.00467180
xor eax, eax
jmp 0x46971e
call fcn.0046ab50
push 2
push 0x51cfe0
lea edi, [eax + 0x1b4]
call fcn.00459840
add esp, 8
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push esi
push 0x4698f0
push ebx
push ebx
mov dword [esi + 0x48], eax
call fcn.004e5bd8
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.00459510
lea eax, [edi + 0x20]
push 0x51d754
push eax
xor ebx, ebx
call fcn.00459510
lea eax, [edi + 0x24]
push 0x51d754
push eax
call fcn.00459510
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x236]
push ecx
mov word [esp + 0x238], ax
call fcn.004e95e0
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.004e95e0
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 0x4696a0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x4696a0
lea edi, [esp + 0x24]
mov eax, esi
call fcn.00494ad0
jmp 0x4696cd
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.00459510
cmp dword [0x55ad88], 0
jne 0x469705
test byte [0x55b164], 1
jne 0x4696e6
call fcn.0046aae0
jmp 0x4696eb
mov eax, 0x55af30
push eax
call fcn.0048dcb0
test al, al
je 0x469552
call fcn.0046ab50
mov ebx, eax
call fcn.00474d00
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.004e4900
mov esp, ebp
pop ebp
ret