Function at 0x1001d120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10028aca
mov eax, dword fs:[0]
push eax
mov eax, 0x10f0
call fcn.10018190
mov eax, dword [0x10032118]
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 0x1001d30f
mov dx, word [0x1002c700]
mov word [ebp - 0x434], dx
push 0x40e
push 0
lea eax, [ebp - 0x432]
push eax
call fcn.1000c950
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 0x1002c704
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 0x1001d305
cmp dword [ebp - 0x1c], 0
jbe 0x1001d305
lea edx, [ebp - 0x434]
push edx
call fcn.1001cf90
add esp, 4
test eax, eax
jne 0x1001d305
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x1088]
call fcn.10003d90
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.100088b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1088]
call fcn.10003e10
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0
push 0x1002c71c
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 0x1001d305
cmp dword [ebp - 0x1c], 0
jbe 0x1001d305
lea ecx, [ebp - 0x434]
push ecx
call fcn.1001cd70
add esp, 4
movzx edx, al
test edx, edx
je 0x1001d305
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x10a4]
call fcn.10003d90
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.100088f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10a4]
call fcn.10003e10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001cff0
add esp, 4
movzx edx, al
test edx, edx
je 0x1001d2fb
xor eax, eax
jmp 0x1001d546
mov eax, 1
jmp 0x1001d546
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 0x1002c730
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1001d541
mov dx, word [0x1002c72c]
mov word [ebp - 0x84c], dx
push 0x40e
push 0
lea eax, [ebp - 0x84a]
push eax
call fcn.1000c950
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 0x1001d537
cmp dword [ebp - 0x43c], 0
jbe 0x1001d537
lea eax, [ebp - 0x84c]
push eax
call fcn.1000c909
add esp, 4
mov ecx, 0x208
sub ecx, eax
cmp ecx, 5
jbe 0x1001d537
push 0x1002c784
lea edx, [ebp - 0x84c]
push edx
call fcn.1000def3
add esp, 8
mov ax, word [0x1002c790]
mov word [ebp - 0x106c], ax
push 0x40e
push 0
lea ecx, [ebp - 0x106a]
push ecx
call fcn.1000c950
add esp, 0xc
mov dx, word [0x1002c794]
mov word [ebp - 0xc5c], dx
push 0x40e
push 0
lea eax, [ebp - 0xc5a]
push eax
call fcn.1000c950
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.1001cea0
add esp, 0x14
test eax, eax
jne 0x1001d537
mov ecx, dword [str._baiduan_]
push ecx
push 0x207
lea edx, [ebp - 0xc5c]
push edx
lea eax, [ebp - 0x84c]
push eax
call fcn.1001cdb0
add esp, 0x10
test eax, eax
jne 0x1001d537
lea ecx, [ebp - 0x106c]
push ecx
lea ecx, [ebp - 0x10c0]
call fcn.10003d90
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.100088b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c0]
call fcn.10003e10
lea ecx, [ebp - 0xc5c]
push ecx
lea ecx, [ebp - 0x10dc]
call fcn.10003d90
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.100088f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10dc]
call fcn.10003e10
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp + 8]
push edx
call fcn.1001cff0
add esp, 4
movzx eax, al
test eax, eax
je 0x1001d530
xor eax, eax
jmp 0x1001d546
mov eax, 1
jmp 0x1001d546
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.1000c2ef
mov esp, ebp
pop ebp
ret