Function at 0x46bd20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9706
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x532ae0]
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 0x46bd5a
xor al, al
jmp 0x46c02e
mov al, byte [esi + 0x51d]
test al, al
je 0x46bdb3
push 1
mov ecx, esi
call fcn.00464970
mov byte [esi + 0x56c], 1
push edi
add esi, 0x53c
push 1
mov ecx, esi
call fcn.00482f70
test eax, eax
je 0x46bd53
mov ecx, esi
call fcn.00483070
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ecx, esi
call fcn.00483070
mov edx, dword [ebp + 0x14]
push eax
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.004830b0
mov al, 1
jmp 0x46c02e
lea ecx, [esi + 0x40]
push ecx
lea edx, [ebp - 0x6c]
push str.SOFTWARE_
push edx
call fcn.0040c710
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 4], edi
call fcn.004893e0
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x46bde7
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.004e11d0
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.00404f40
mov edi, eax
cmp edi, 0xffffffff
je 0x46bed4
push edi
push 0
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call int.00426900
push eax
lea ecx, [ebp - 0x6c]
push 0x504804
push ecx
mov byte [ebp - 4], 4
call fcn.0040c710
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.004078b0
cmp dword [ebp - 0x54], 0x10
jb 0x46be65
mov edx, dword [ebp - 0x68]
push edx
call fcn.004e11d0
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 0x46be90
mov eax, dword [ebp - 0x84]
push eax
call fcn.004e11d0
add esp, 4
push 0xffffffffffffffff
inc edi
push edi
lea ecx, [ebp - 0x88]
push ecx
mov ecx, ebx
call int.00426900
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00408e40
mov eax, dword [ebp - 0x70]
mov edi, 0x10
cmp eax, edi
mov byte [ebp - 4], 3
jb 0x46bee6
mov edx, dword [ebp - 0x84]
push edx
call fcn.004e11d0
add esp, 4
jmp 0x46bee6
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [ebp - 0x34]
call fcn.00408e40
mov edi, 0x10
cmp dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x4c]
jae 0x46bef1
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x2001f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46bfbf
cmp dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x30]
jae 0x46bf1b
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 0x46bfb0
mov al, byte [esi + 0x51c]
test al, al
je 0x46bf92
mov ecx, esi
call fcn.004648d0
push 1
add esi, 0x53c
push 0
mov ecx, esi
call fcn.0048e7d0
push 5
push 0xb
mov ecx, esi
call fcn.0048e7d0
push 1
push 1
mov ecx, esi
call fcn.0048e7d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.0048e910
mov eax, dword [edi]
push eax
mov ecx, esi
call fcn.0048e910
mov ecx, dword [edi]
push ecx
push ebx
mov ecx, esi
call fcn.0048e9a0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.00483280
lea ecx, [ebp - 0x50]
call fcn.00483280
mov al, 1
jmp 0x46c02d
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, 0x10
mov al, byte [esi + 0x51c]
test al, al
je 0x46bff7
mov ecx, esi
call fcn.004648d0
push 1
add esi, 0x53c
push 0
mov ecx, esi
call fcn.0048e7d0
push 5
push 0xb
mov ecx, esi
call fcn.0048e7d0
push 1
push 0
mov ecx, esi
call fcn.0048e7d0
cmp dword [ebp - 0x1c], edi
jb 0x46c008
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004e11d0
add esp, 4
cmp dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x46c02b
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004e11d0
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.004e19df
mov esp, ebp
pop ebp
ret 0x10