Function at 0x485e60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50bf2d
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5522c0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
push str.ShowWelcomeWindow
mov esi, str.SoftwareBaofengPhoneAssistantUserConfig
mov edi, SysReAllocString
mov ebx, ecx
call fcn.0045d240
lea esi, [ebx + 0xb4]
add esp, 4
lea eax, [esp + 0x14]
push esi
push eax
mov ebx, str.PhoneAssistant_
mov dword [esp + 0x28], esi
call fcn.0045ce60
add esp, 8
mov dword [esp + 0x240], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
test al, al
jne 0x485f2a
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x485f20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ea
jmp 0x48629f
mov ecx, str.DriverInstallerX64.exe
call fcn.00458e40
mov ecx, str.DriverInstallerX86.exe
call fcn.00458e40
mov ecx, str.PhoneAppCenter.exe
call fcn.00458e40
mov ecx, str.PhoneLauncher.exe
call fcn.00458e40
mov ecx, str.PhoneMediaCenter.exe
call fcn.00458e40
mov ecx, str.PhonePlatform.exe
call fcn.00458e40
mov ecx, str.wandoujia_daemon.exe
call fcn.00458e40
mov ecx, str.wdjconx64.exe
call fcn.00458e40
mov ecx, str.wdjconx86.exe
call fcn.00458e40
mov ecx, str.WDJDriverInstaller.exe
call fcn.00458e40
mov ecx, str.BFVThumbHost.exe
call fcn.00458e40
mov ecx, str.PhoneAssistantUpdate.exe
call fcn.00458e40
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x30], cx
call fcn.004e9a40
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x20]
push edx
push str.InstallPath
push str.SoftwareBaofengPhoneAssistant
mov ebx, 1
push SysReAllocString
mov dword [esp + 0x28], 0x102
mov dword [esp + 0x30], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x48600d
push eax
call fcn.00458cc0
add esp, 4
lea eax, [esp + 0x24]
push 0
push eax
call fcn.0045c7d0
add esp, 8
mov eax, dword [esi]
sub eax, 0x10
call fcn.0045d030
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x240], bl
mov eax, 0x5c
lea ebx, [esp + 0x10]
call fcn.0048d470
mov esi, dword [esp + 0x10]
push 0x5c
push esi
call fcn.004e7b8f
add esp, 8
test eax, eax
je 0x48604c
sub eax, esi
sar eax, 1
jns 0x4860a5
lea eax, [esi - 0x10]
mov byte [esp + 0x240], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486070
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48609b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3eb
jmp 0x48629f
inc eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
call fcn.0045d9a0
lea edi, [esp + 0x10]
mov byte [esp + 0x240], 2
call fcn.0045cf40
mov bl, 1
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4860ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, str.PhoneAssistant_
lea eax, [esp + 0x10]
call fcn.0045b420
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
lea eax, [edi - 0x10]
jne 0x48615e
mov byte [esp + 0x240], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x486154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ec
jmp 0x48629f
push ecx
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x244], 3
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x248], bl
call fcn.0045c9e0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov esi, eax
call fcn.0045c7d0
add esp, 0x10
test esi, esi
jne 0x4861cc
lea ecx, [esp + 0x10]
call fcn.00459240
lea ecx, [esp + 0x14]
call fcn.00459240
mov eax, 0x3ed
jmp 0x48629f
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
mov ebx, str.bin_
call fcn.0045ce60
add esp, 8
mov byte [esp + 0x240], 4
mov ecx, dword [eax]
call fcn.0045be50
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 1
call fcn.00459240
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, str.binUpload.dll
call fcn.0045ce60
mov esi, eax
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x250], 5
call fcn.0045ce60
add esp, 0x10
mov byte [esp + 0x240], 6
mov edx, dword [esi]
mov ebx, dword [eax]
push edx
call fcn.004935b0
lea ecx, [esp + 0x18]
call fcn.00459240
lea ecx, [esp + 0x1c]
call fcn.00459240
push edi
push str.InstallPath
mov edi, str.SoftwareBaofengPhoneAssistant
mov ebx, SysReAllocString
call fcn.0045d1b0
add esp, 8
lea ecx, [esp + 0x10]
test al, al
jne 0x48628c
call fcn.00459240
lea ecx, [esp + 0x14]
call fcn.00459240
mov eax, 0x3ee
jmp 0x48629f
call fcn.00459240
lea ecx, [esp + 0x14]
call fcn.00459240
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004e4d50
mov esp, ebp
pop ebp
ret