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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50af3c
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.004e9520
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.004595b0
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 4], 0
call fcn.004e9520
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.004595b0
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x424]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x47162f
push 0x80004005
call fcn.0045a440
mov edx, dword [ebp - 0x42c]
push ecx
push edx
call fcn.004e7407
add esp, 8
test eax, eax
mov eax, dword [ebp - 0x424]
jne 0x4717df
cmp dword [eax - 0xc], 0
je 0x4717df
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x41e]
push ecx
mov word [ebp - 0x420], ax
call fcn.004e9520
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.004595b0
push 0x14
push str.BaoFengStartPage.xml
lea ebx, [ebp - 0x428]
mov byte [ebp - 4], 2
call fcn.0045b400
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 0x4716e2
push esi
mov ecx, edi
call fcn.00458970
add esp, 4
cmp al, bl
jne 0x471716
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 0x471708
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 0x4717e3
mov eax, dword [ebp - 0x428]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x430], esp
mov esi, esp
call fcn.0045cfd0
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.0045cfd0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
call fcn.00471850
or edx, 0xffffffff
mov byte [ebp - 4], 1
cmp eax, ebx
mov eax, dword [ebp - 0x428]
jne 0x471771
add eax, 0xfffffff0
jmp 0x4716f2
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47178a
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 0x4717af
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 0x4717d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x47182a
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 0x4717ff
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 0x471828
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.004e4840
mov esp, ebp
pop ebp
ret