Function at 0x410bd0
Capabilities:
Persist via app paths registry key
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aac8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4611f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
lea ebx, [eax + 0x24]
push str.BFVKanDianYing.exe
mov edx, ebx
lea ecx, [ebp - 0x10]
call fcn.0040bce0
push str.uninst.exe
mov edx, ebx
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.0040bce0
push str.BFVDesktop.exe
mov edx, ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040bce0
push str.BFVAppCenter.exe
mov edx, ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040bce0
add esp, 0x10
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x10]
mov ecx, esi
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410c60
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0x451c88
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsBFVKanDianYing.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410c96
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0x451c88
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsBFVCenter.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [ebp - 0x20]
mov edx, eax
lea esi, [edx + 2]
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410cd0
sub edx, esi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0x451c88
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsBFVDesktop.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [ebp - 0x1c]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410d03
sub edx, esi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push 0x451c88
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsBFVAppCenter.exe
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0xc
push 0x455444
push 1
push str.DisplayName
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBFVKanDianYing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [ebp - 0x24]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410d50
sub edx, esi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push str.UninstallString
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBFVKanDianYing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [ebp - 0x10]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410d83
sub edx, esi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push str.DisplayIcon
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBFVKanDianYing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 0x268]
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410dc0
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push str.DisplayVersion
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBFVKanDianYing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0x2e
push str.http:__www.Baofeng.com
push 1
push str.URLInfoAbout
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBFVKanDianYing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0x1a
push 0x455f4c
push 1
push str.Publisher
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallBFVKanDianYing
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.PlayMode
push str.SoftwareBaofengBFVKanDianYingUserConfig
push SysReAllocStringLen
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x2c], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp dword [ebp - 0x14], 0
jne 0x410e7b
push 4
lea eax, [ebp - 0x2c]
push eax
push 4
push str.PlayMode
push str.SoftwareBaofengBFVKanDianYingUserConfig
push SysReAllocStringLen
mov dword [ebp - 0x2c], 2
call edi
push ebx
mov edx, 0x4555f0
lea ecx, [ebp - 0x2c]
call fcn.00419970
push str.BFVServer.exe___Module_Auto_
mov edx, eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0040bce0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
or esi, 0xffffffff
add esp, 8
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x410ec2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
mov edx, eax
lea ebx, [edx + 2]
lea ebx, [ebx]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x410ed0
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push eax
push 1
push str.BFVServer
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call edi
sub esp, 8
call fcn.0041c410
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f5f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410f7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x410fa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret