Function at 0x401690
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20f4
call fcn.00412860
mov eax, dword [0x451028]
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 0x40171b
mov eax, dword [ebx + 0x5c48]
xor edi, edi
cmp eax, edi
je 0x4016cd
call eax
lea eax, [ebx + 0x5a44]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], edi
push eax
lea edi, [esp + 0x14]
mov dword [esp + 0x14], vtable.CSharingMemory_struct_BDExceptionContext_.0
mov dword [esp + 0x44], eax
call fcn.00405d30
test eax, eax
jne 0x401732
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40170c
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40171b
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.00411d08
mov esp, ebp
pop ebp
ret
push 1
call fcn.00401920
mov edi, dword [ebx + 4]
test edi, edi
je 0x401750
mov ecx, dword [esi + 4]
call fcn.004019f0
test eax, eax
je 0x4018dc
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_baiduBaiduPlayer2
push 0x80000001
mov dword [esp + 0x24], 0x32
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x401831
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.004070e0
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.00407100
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 0x4018d6
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 0x4018e0
mov dword [esp + 0xc], esi
jmp 0x4018e0
mov edi, dword [esp + 0x18]
push 0
call fcn.00401920
test edi, edi
je 0x4018f2
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x401901
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.00411d08
mov esp, ebp
pop ebp
ret