Function at 0x46a810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x514eb8]
xor eax, dword [ebp + 4]
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x54]
push edi
xor edi, edi
cmp eax, edi
jne 0x46a84a
xor al, al
jmp 0x46ab28
mov al, byte [esi + 0x549]
test al, al
je 0x46a8ad
mov al, byte [esi + 0x54a]
test al, al
jne 0x46a843
push 1
mov ecx, esi
call fcn.00462db0
mov byte [esi + 0x598], 1
push edi
add esi, 0x568
push 1
mov ecx, esi
call fcn.00420eb0
test eax, eax
je 0x46a843
mov ecx, esi
call fcn.00420fb0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, esi
call fcn.00420fb0
mov edx, dword [ebp + 0x14]
push eax
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.00420ff0
mov al, 1
jmp 0x46ab28
lea ecx, [esi + 0x40]
push ecx
lea edx, [ebp - 0x6c]
push str.SOFTWARE_
push edx
call fcn.00411879
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], edi
call fcn.004281e0
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x46a8e1
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004c2b1b
add esp, 4
push ebx
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
mov ebx, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea edx, [ebp - 0x14]
push edx
mov ecx, ebx
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00416570
mov edi, eax
cmp edi, 0xffffffff
je 0x46a9ce
push edi
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.004028e0
push eax
lea ecx, [ebp - 0x6c]
push 0x4e564c
push ecx
mov byte [ebp - 4], 4
call fcn.00411879
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00409fcc
cmp dword [ebp - 0x54], 0x10
jb 0x46a95f
mov edx, dword [ebp - 0x68]
push edx
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 3
jb 0x46a98a
mov eax, dword [ebp - 0x84]
push eax
call fcn.004c2b1b
add esp, 4
push 0xffffffffffffffff
inc edi
push edi
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call fcn.004028e0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004024d0
mov eax, dword [ebp - 0x70]
mov edi, 0x10
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x46a9e0
mov edx, dword [ebp - 0x84]
push edx
call fcn.004c2b1b
add esp, 4
jmp 0x46a9e0
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.004024d0
mov edi, 0x10
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x46a9eb
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46aab9
cmp dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x30]
jae 0x46aa15
lea eax, [ebp - 0x30]
mov edi, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push edi
push ebx
push edx
push 0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46aaaa
mov al, byte [esi + 0x548]
test al, al
je 0x46aa8c
mov ecx, esi
call fcn.00462d10
push 1
add esi, 0x568
push 0
mov ecx, esi
call fcn.0042d580
push 5
push 0xb
mov ecx, esi
call fcn.0042d580
push 1
push 1
mov ecx, esi
call fcn.0042d580
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.0042d6c0
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0042d6c0
mov ecx, dword [edi]
push ecx
push ebx
mov ecx, esi
call fcn.0042d750
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.0040207a
lea ecx, [ebp - 0x50]
call fcn.0040207a
mov al, 1
jmp 0x46ab27
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x10
mov al, byte [esi + 0x548]
test al, al
je 0x46aaf1
mov ecx, esi
call fcn.00462d10
push 1
add esi, 0x568
push 0
mov ecx, esi
call fcn.0042d580
push 5
push 0xb
mov ecx, esi
call fcn.0042d580
push 1
push 0
mov ecx, esi
call fcn.0042d580
cmp dword [ebp - 0x1c], edi
jb 0x46ab02
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004c2b1b
add esp, 4
cmp dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x46ab25
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004c2b1b
add esp, 4
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop edi
pop esi
call fcn.004c478a
mov esp, ebp
pop ebp
ret 0x10