Function at 0x46f7f0
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50693c
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x54b2c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
push ecx
mov word [ebp - 0x218], ax
call fcn.004e4be0
mov esi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
add esp, 0xc
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x430]
push ecx
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
mov edi, 0x102
mov ebx, 1
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x430], ebx
call esi
lea edx, [ebp - 0x42c]
push edx
lea ecx, [ebp - 0x218]
call fcn.00459530
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.004e4be0
add esp, 0xc
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x438]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], ebx
call esi
lea ecx, [ebp - 0x424]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00459530
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x424]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x46f90f
push 0x80004005
call fcn.00459fc0
mov edx, dword [ebp - 0x42c]
push ecx
push edx
call fcn.004e2807
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x424]
jne 0x46fabf
cmp dword [eax - 0xc], 0
je 0x46fabf
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov word [ebp - 0x420], ax
call fcn.004e4be0
add esp, 0xc
lea edx, [ebp - 0x420]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x420]
call fcn.00459530
push 0x14
push str.BaoFengStartPage.xml
lea ebx, [ebp - 0x428]
mov byte [ebp - 4], 2
call fcn.0045af80
mov eax, dword [0x553cc0]
mov esi, dword [ebp - 0x428]
push str.RESOURCE_DATA
push 0x93
push eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
xor ebx, ebx
cmp eax, ebx
je 0x46f9c2
push esi
mov ecx, edi
call fcn.00458760
add esp, 4
cmp al, bl
jne 0x46f9f6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x428]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46f9e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x424]
jmp 0x46fac3
mov eax, dword [ebp - 0x428]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x430], esp
mov esi, esp
call fcn.0045cb40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x424]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x434], esp
mov esi, esp
call fcn.0045cb40
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.0046fb30
or edx, 0xffffffff
mov byte [ebp - 4], 1
cmp eax, ebx
mov eax, dword [ebp - 0x428]
jne 0x46fa51
add eax, 0xfffffff0
jmp 0x46f9d2
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fa6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x424]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fa8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fab8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x46fb0a
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fadf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x42c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fb08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e0040
mov esp, ebp
pop ebp
ret