Function at 0x401710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20f4
call fcn.00410390
mov eax, dword [0x44f028]
xor eax, esp
mov dword [esp + 0x20f0], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
cmp dword [eax], 0x80000003
push edi
mov ebx, edx
je 0x40178f
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x5a44]
push eax
lea edi, [esp + 0x14]
mov dword [esp + 0x14], vtable.CSharingMemory_struct_BDExceptionContext_.0
mov dword [esp + 0x44], eax
call fcn.00404980
test eax, eax
jne 0x4017a6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401780
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40178f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20f0]
xor ecx, esp
call fcn.0040f998
mov esp, ebp
pop ebp
ret
push 1
call fcn.00401990
mov edi, dword [ebx + 4]
test edi, edi
je 0x4017c4
mov ecx, dword [esi + 4]
call fcn.00401a60
test eax, eax
je 0x401950
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebx + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x10], esi
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [ebx + 0x14], edx
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xc], ecx
mov esi, dword [esi + 4]
lea edi, [ebx + 0x20]
mov ecx, 0xb3
push 0x5834
lea edx, [ebx + 8]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x1c]
push edx
push edi
call sub.MSVCR80.dll_memcpy
xor esi, esi
push 0x62
lea eax, [esp + 0xa2]
push esi
push eax
mov word [esp + 0xa8], si
call sub.MSVCR80.dll_memset
add esp, 0x18
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x4c]
push eax
push str.InstTime
push str.Software_baiduBaiduBrowser
push 0x80000001
mov dword [esp + 0x24], 0x32
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4018a5
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x2e]
movzx eax, word [esp + 0x2c]
movzx ecx, word [esp + 0x2a]
push edx
movzx edx, word [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push ecx
movzx ecx, word [esp + 0x2e]
push edx
movzx edx, word [esp + 0x30]
push eax
push ecx
push edx
lea eax, [esp + 0xac]
push str._04d_02d_02d_02d_02d_02d_03d
push eax
or edx, 0xffffffff
call fcn.00405b00
add esp, 0x24
push 0x3c
lea ecx, [esp + 0x54]
push esi
push ecx
mov dword [esp + 0x54], 0x44
mov dword [esp + 0x58], esi
call sub.MSVCR80.dll_memset
xor eax, eax
lea edx, [esp + 0x9c]
push edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x50]
push eax
add ebx, 0x583c
push ebx
lea ecx, [esp + 0x110]
push str.__s____smname_s___insttime_s
push ecx
or edx, 0xffffffff
mov dword [esp + 0x50], esi
call fcn.00405b20
add esp, 0x20
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x4c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x118]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40194a
mov edx, dword [esp + 0x30]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x30]
push ecx
call esi
mov dword [esp + 0xc], 1
jmp 0x401954
mov dword [esp + 0xc], esi
jmp 0x401954
mov edi, dword [esp + 0x18]
push 0
call fcn.00401990
test edi, edi
je 0x401966
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401975
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x20fc]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040f998
mov esp, ebp
pop ebp
ret