Function at 0x445860
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a5f1
mov eax, dword fs:[0]
push eax
mov eax, 0x14e8
call fcn.00470d70
mov eax, dword [0x4ae830]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa5c], 0x104
mov byte [ebp - 0xa56], 0
mov dword [ebp - 0x228], 0
mov ecx, 0xc
mov esi, str.Software_baiduSparkSafe
lea edi, [ebp - 0x21c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1d6
push 0
lea eax, [ebp - 0x1ea]
push eax
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
push ecx
push 1
push 0
lea edx, [ebp - 0x21c]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x224], 0
je 0x4459e7
lea eax, [ebp - 0xa5c]
push eax
lea ecx, [ebp - 0x63c]
push ecx
push 0
push 0
push 0x492e20
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4459da
mov dword [ebp - 0xc68], 0x104
lea eax, [ebp - 0xc68]
push eax
lea ecx, [ebp - 0xe74]
push ecx
push 0
push 0
push 0x492e30
mov edx, dword [ebp - 0x224]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4459da
lea eax, [ebp - 0xe74]
push eax
lea ecx, [ebp - 0xe90]
call fcn.00417010
mov dword [ebp - 4], 0
push 0x492e48
lea ecx, [ebp - 0xe90]
call fcn.0041c940
lea ecx, [ebp - 0xe90]
call fcn.00417120
push eax
call fcn.00445840
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4459c8
mov byte [ebp - 0xa56], 1
lea edx, [ebp - 0x63c]
push edx
call fcn.00470944
add esp, 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe90]
call fcn.00417080
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0xa55], 0
mov dword [ebp - 0x220], 0
mov ecx, 0xa
mov esi, 0x492e60
lea edi, [ebp - 0xc64]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1de
push 0
lea ecx, [ebp - 0xc3a]
push ecx
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x224], 0
lea edx, [ebp - 0x224]
push edx
push 1
push 0
lea eax, [ebp - 0xc64]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x224], 0
je 0x445b33
lea ecx, [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0xa54]
push edx
push 0
push 0
push 0x492e8c
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x445b26
mov dword [ebp - 0xe94], 0x104
lea ecx, [ebp - 0xe94]
push ecx
lea edx, [ebp - 0x109c]
push edx
push 0
push 0
push 0x492e9c
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x445b26
lea ecx, [ebp - 0x109c]
push ecx
lea ecx, [ebp - 0x10b8]
call fcn.00417010
mov dword [ebp - 4], 1
push 0x492eb4
lea ecx, [ebp - 0x10b8]
call fcn.0041c940
lea ecx, [ebp - 0x10b8]
call fcn.00417120
push eax
call fcn.00445840
add esp, 4
movzx edx, al
test edx, edx
je 0x445b14
mov byte [ebp - 0xa55], 1
lea eax, [ebp - 0xa54]
push eax
call fcn.00470944
add esp, 4
mov dword [ebp - 0x220], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10b8]
call fcn.00417080
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x845], 0
mov dword [ebp - 0x84c], 0
mov ecx, 0xa
mov esi, 0x492ecc
lea edi, [ebp - 0x844]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1de
push 0
lea edx, [ebp - 0x81a]
push edx
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x224], 0
movzx eax, byte [ebp - 0xa56]
test eax, eax
jne 0x445cf5
movzx ecx, byte [ebp - 0xa55]
test ecx, ecx
jne 0x445cf5
lea edx, [ebp - 0x224]
push edx
push 1
push 0
lea eax, [ebp - 0x844]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x224], 0
je 0x445cf5
lea ecx, [ebp - 0xa5c]
push ecx
lea edx, [ebp - 0x434]
push edx
push 0
push 0
push 0x492ef8
mov eax, dword [ebp - 0x224]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x445cf5
mov ecx, 0x1d
mov esi, 0x492f08
lea edi, [ebp - 0x14d4]
rep movsd dword es:[edi], dword [esi]
push 0x194
push 0
lea ecx, [ebp - 0x1460]
push ecx
call fcn.0046fba0
add esp, 0xc
mov dword [ebp - 0x12c8], 0
lea edx, [ebp - 0x12c8]
push edx
push 1
push 0
lea eax, [ebp - 0x14d4]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [ebp - 0x12c8], 0
je 0x445cf5
mov dword [ebp - 0x14d8], 0x104
lea ecx, [ebp - 0x14d8]
push ecx
lea edx, [ebp - 0x12c4]
push edx
push 0
push 0
push 0x492f7c
mov eax, dword [ebp - 0x12c8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x12c4]
push ecx
lea ecx, [ebp - 0x14f4]
call fcn.00417010
mov dword [ebp - 4], 2
push 0x492f94
lea ecx, [ebp - 0x14f4]
call fcn.0041c940
lea ecx, [ebp - 0x14f4]
call fcn.00417120
push eax
call fcn.00445840
add esp, 4
movzx edx, al
test edx, edx
je 0x445cd6
lea eax, [ebp - 0x434]
push eax
call fcn.00470944
add esp, 4
mov dword [ebp - 0x84c], eax
mov byte [ebp - 0x845], 1
mov ecx, dword [ebp - 0x12c8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14f4]
call fcn.00417080
movzx edx, byte [ebp - 0xa56]
test edx, edx
je 0x445d9f
movzx eax, byte [ebp - 0xa55]
test eax, eax
je 0x445d9f
cmp dword [ebp + 8], 0
je 0x445d95
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x228]
lea eax, [edx + ecx + 1]
cmp dword [ebp + 0xc], eax
jb 0x445d95
lea ecx, [ebp - 0x63c]
push ecx
call fcn.00470944
add esp, 4
push eax
lea edx, [ebp - 0x63c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004710bc
add esp, 0x10
mov edx, 0x20
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp + 8]
mov word [ecx + eax*2 - 2], dx
mov edx, dword [ebp - 0x220]
push edx
lea eax, [ebp - 0xa54]
push eax
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebp - 0x228]
push ecx
mov edx, dword [ebp - 0x228]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx*2]
push ecx
call fcn.004710bc
add esp, 0x10
mov eax, 4
jmp 0x445e67
movzx edx, byte [ebp - 0xa56]
test edx, edx
je 0x445de3
cmp dword [ebp + 8], 0
je 0x445dd9
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x228]
jbe 0x445dd9
mov ecx, dword [ebp - 0x228]
push ecx
lea edx, [ebp - 0x63c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004710bc
add esp, 0x10
mov eax, 2
jmp 0x445e67
movzx edx, byte [ebp - 0xa55]
test edx, edx
je 0x445e24
cmp dword [ebp + 8], 0
je 0x445e1d
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x220]
jbe 0x445e1d
mov ecx, dword [ebp - 0x220]
push ecx
lea edx, [ebp - 0xa54]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004710bc
add esp, 0x10
mov eax, 3
jmp 0x445e67
movzx edx, byte [ebp - 0x845]
test edx, edx
je 0x445e65
cmp dword [ebp + 8], 0
je 0x445e5e
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x84c]
jbe 0x445e5e
mov ecx, dword [ebp - 0x84c]
push ecx
lea edx, [ebp - 0x434]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004710bc
add esp, 0x10
mov eax, 1
jmp 0x445e67
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046fd33
mov esp, ebp
pop ebp
ret