Function at 0x436be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ac36c
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4e42d0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push esi
push edi
mov eax, dword [0x4e42d0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov ebx, ecx
push str.ShowWelcomeWindow
mov esi, str.SoftwareBaofengVideoPhoneAssistantUserConfig
mov edi, SysReAllocString
mov dword [esp + 0x1c], ebx
call fcn.00405330
add esp, 4
lea esi, [ebx + 0xa0]
lea eax, [esp + 0x14]
push esi
push eax
mov ebx, str.PhoneAssistant_
call fcn.00404f20
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 0x436cd4
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xb4], al
jne 0x436cf0
mov ecx, dword [0x4ea688]
mov dword [esp + 0x240], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
cmp byte [ecx + 0x99], 0
jne 0x436cb1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x436d0f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436cca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ea
jmp 0x43701a
mov ecx, dword [esp + 0x18]
cmp byte [ecx + 0xb4], 0
je 0x436d24
mov edx, dword [esp + 0x14]
push 0
push edx
call fcn.00404890
add esp, 8
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 0x437015
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x437015
mov ecx, dword [0x4ea688]
cmp byte [ecx + 0x99], 0
je 0x436ce1
mov ecx, str.DriverInstallerX64.exe
call fcn.00401920
mov ecx, str.DriverInstallerX86.exe
call fcn.00401920
mov ecx, str.PhoneAppCenter.exe
call fcn.00401920
mov ecx, str.PhoneLauncher.exe
call fcn.00401920
mov ecx, str.PhoneMediaCenter.exe
call fcn.00401920
mov ecx, str.PhonePlatform.exe
call fcn.00401920
mov ecx, str.wandoujia_daemon.exe
call fcn.00401920
mov ecx, str.wdjconx64.exe
call fcn.00401920
mov ecx, str.wdjconx86.exe
call fcn.00401920
mov ecx, str.WDJDriverInstaller.exe
call fcn.00401920
mov ecx, str.BFVThumbHost.exe
call fcn.00401920
mov ecx, str.PhoneAssistantUpdate.exe
call fcn.00401920
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2e]
push edx
mov word [esp + 0x30], cx
call fcn.00493520
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push str.InstallPath
push str.SoftwareBaofengVideoPhoneAssistant
mov ebx, 1
push SysReAllocString
mov dword [esp + 0x30], 0x102
mov dword [esp + 0x34], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x436e16
push eax
call fcn.004017b0
add esp, 4
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00404890
add esp, 8
mov eax, dword [esi]
sub eax, 0x10
call fcn.004050f0
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x240], bl
mov eax, 0x5c
lea ebx, [esp + 0x18]
call fcn.0043bd10
mov esi, dword [esp + 0x18]
push 0x5c
push esi
call fcn.00490c12
add esp, 8
test eax, eax
je 0x436e55
sub eax, esi
sar eax, 1
jns 0x436eae
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 0x436e79
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 0x436ea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3eb
jmp 0x43701a
inc eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x18]
call fcn.00405a30
lea edi, [esp + 0x18]
mov byte [esp + 0x240], 2
call fcn.00405000
mov bl, 1
mov byte [esp + 0x240], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436ef6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, str.PhoneAssistant_
lea eax, [esp + 0x18]
call fcn.0040ae90
mov esi, dword [esp + 0x18]
cmp dword [esi - 0xc], 0
lea eax, [esi - 0x10]
jne 0x436f67
mov byte [esp + 0x240], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x436f32
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 0x436f5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x3ec
jmp 0x43701a
push ecx
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.004050f0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x244], 3
mov eax, dword [esp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
call fcn.004050f0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x248], bl
call fcn.00404aa0
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov edi, eax
call fcn.00404890
add esp, 0x10
test edi, edi
jne 0x436fd2
lea ecx, [esp + 0x18]
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
mov eax, 0x3ed
jmp 0x43701a
push esi
push str.InstallPath
mov edi, str.SoftwareBaofengVideoPhoneAssistant
mov ebx, SysReAllocString
call fcn.004052a0
add esp, 8
lea ecx, [esp + 0x18]
test al, al
jne 0x437007
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
mov eax, 0x3ee
jmp 0x43701a
call fcn.00402760
lea ecx, [esp + 0x14]
call fcn.00402760
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.0048f6cb
mov esp, ebp
pop ebp
ret