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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b4cc
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x5522c0]
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.004e9a40
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.00459600
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.004e9a40
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.00459600
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x424]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x4718df
push 0x80004005
call fcn.0045a4a0
mov edx, dword [ebp - 0x42c]
push ecx
push edx
call fcn.004e7923
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x424]
jne 0x471a8f
cmp dword [eax - 0xc], 0
je 0x471a8f
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov word [ebp - 0x420], ax
call fcn.004e9a40
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.00459600
push 0x14
push str.BaoFengStartPage.xml
lea ebx, [ebp - 0x428]
mov byte [ebp - 4], 2
call fcn.0045b460
mov eax, dword [0x55ad80]
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 0x471992
push esi
mov ecx, edi
call fcn.004589b0
add esp, 4
cmp al, bl
jne 0x4719c6
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 0x4719b8
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 0x471a93
mov eax, dword [ebp - 0x428]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x430], esp
mov esi, esp
call fcn.0045d030
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.0045d030
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.00471b00
or edx, 0xffffffff
mov byte [ebp - 4], 1
cmp eax, ebx
mov eax, dword [ebp - 0x428]
jne 0x471a21
add eax, 0xfffffff0
jmp 0x4719a2
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x471a3a
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 0x471a5f
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 0x471a88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x471ada
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 0x471aaf
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 0x471ad8
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.004e4d50
mov esp, ebp
pop ebp
ret