Function at 0x1001ce10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002748f
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.10017e80
mov eax, dword [0x10031118]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [str.SOFTWARE_baidu_baiduan]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001cfff
mov dx, word [0x1002b6b0]
mov word [ebp - 0x434], dx
push 0x40e
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x1c], 0x410
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x434]
push edx
lea eax, [ebp - 0x18]
push eax
push 0
push 0x1002b6b4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001cff5
cmp dword [ebp - 0x1c], 0
jbe 0x1001cff5
lea edx, [ebp - 0x434]
push edx
call fcn.1001cc80
add esp, 4
test eax, eax
jne 0x1001cff5
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x1088]
call fcn.10003d20
mov dword [ebp - 0x10e0], eax
mov ecx, dword [ebp - 0x10e0]
mov dword [ebp - 0x10e4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10e4]
push edx
mov ecx, dword [ebp + 8]
call fcn.10008480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1088]
call fcn.10003da0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0x1002b6cc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001cff5
cmp dword [ebp - 0x1c], 0
jbe 0x1001cff5
lea ecx, [ebp - 0x434]
push ecx
call fcn.1001ca60
add esp, 4
movzx edx, al
test edx, edx
je 0x1001cff5
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x10a4]
call fcn.10003d20
mov dword [ebp - 0x10e8], eax
mov ecx, dword [ebp - 0x10e8]
mov dword [ebp - 0x10ec], ecx
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x10ec]
push edx
mov ecx, dword [ebp + 8]
call fcn.100084c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10a4]
call fcn.10003da0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001cce0
add esp, 4
movzx edx, al
test edx, edx
je 0x1001cfeb
xor eax, eax
jmp 0x1001d236
mov eax, 1
jmp 0x1001d236
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push 0x1002b6e0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001d231
mov dx, word [0x1002b6dc]
mov word [ebp - 0x84c], dx
push 0x40e
push 0
lea eax, [ebp - 0x84a]
push eax
call fcn.1000c7f0
add esp, 0xc
mov dword [ebp - 0x43c], 0x410
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x438]
push eax
push 0
mov ecx, dword [str.InstallDir_an]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001d227
cmp dword [ebp - 0x43c], 0
jbe 0x1001d227
lea eax, [ebp - 0x84c]
push eax
call fcn.1000c7a3
add esp, 4
mov ecx, 0x208
sub ecx, eax
cmp ecx, 5
jbe 0x1001d227
push 0x1002b734
lea edx, [ebp - 0x84c]
push edx
call fcn.1000dbf3
add esp, 8
mov ax, word [0x1002b740]
mov word [ebp - 0x106c], ax
push 0x40e
push 0
lea ecx, [ebp - 0x106a]
push ecx
call fcn.1000c7f0
add esp, 0xc
mov dx, word [0x1002b744]
mov word [ebp - 0xc5c], dx
push 0x40e
push 0
lea eax, [ebp - 0xc5a]
push eax
call fcn.1000c7f0
add esp, 0xc
push 0
mov ecx, dword [str._baiduan_]
push ecx
push 0x207
lea edx, [ebp - 0x106c]
push edx
lea eax, [ebp - 0x84c]
push eax
call fcn.1001cb90
add esp, 0x14
test eax, eax
jne 0x1001d227
mov ecx, dword [str._baiduan_]
push ecx
push 0x207
lea edx, [ebp - 0xc5c]
push edx
lea eax, [ebp - 0x84c]
push eax
call fcn.1001caa0
add esp, 0x10
test eax, eax
jne 0x1001d227
lea ecx, [ebp - 0x106c]
push ecx
lea ecx, [ebp - 0x10c0]
call fcn.10003d20
mov dword [ebp - 0x10f0], eax
mov edx, dword [ebp - 0x10f0]
mov dword [ebp - 0x10f4], edx
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x10f4]
push eax
mov ecx, dword [ebp + 8]
call fcn.10008480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c0]
call fcn.10003da0
lea ecx, [ebp - 0xc5c]
push ecx
lea ecx, [ebp - 0x10dc]
call fcn.10003d20
mov dword [ebp - 0x10f8], eax
mov edx, dword [ebp - 0x10f8]
mov dword [ebp - 0x10fc], edx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x10fc]
push eax
mov ecx, dword [ebp + 8]
call fcn.100084c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10dc]
call fcn.10003da0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
call fcn.1001cce0
add esp, 4
movzx eax, al
test eax, eax
je 0x1001d220
xor eax, eax
jmp 0x1001d236
mov eax, 1
jmp 0x1001d236
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1000bfdf
mov esp, ebp
pop ebp
ret