Function at 0x463110
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0xc04]
sub esp, 0xc04
push 0xffffffffffffffff
push 0x521a20
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0xc00], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov byte [ebp - 0x11], 1
xor ebx, ebx
mov dword [ebp - 0x24], ebx
push 0x535a4c
lea ecx, [ebp - 0x18]
call fcn.00405c00
mov dword [ebp - 4], ebx
push 0x535a4c
lea ecx, [ebp - 0x1c]
call fcn.00405c00
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 2
cmp byte [ebp + 0xc0c], bl
jne 0x4631ab
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406150
xor al, al
jmp 0x4633c8
push ebx
lea eax, [ebp - 0x24]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.InstallingComponents
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46318a
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [ebp - 0x20]
push edx
push ebx
push ebx
push ebx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x46318a
cmp dword [ebp - 0x20], ebx
je 0x46318a
xor edi, edi
mov dword [ebp - 0x2c], edi
cmp edi, dword [ebp - 0x20]
jge 0x46337d
push 0x200
push ebx
lea ecx, [ebp + 0xa00]
push ecx
call fcn.004fd670
add esp, 0xc
mov dword [ebp - 0x28], pe_nt_image_headers32
lea edx, [ebp - 0x38]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0xa00]
push ecx
push edi
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x463375
push str.InstallOrder
lea eax, [ebp + 0xa00]
push eax
call fcn.004f9f1e
add esp, 8
test eax, eax
je 0x463375
lea ecx, [ebp + 0xa00]
push ecx
push str.InstallingComponents
push 0x535a74
lea edx, [ebp - 0x18]
push edx
call fcn.004081a0
push 0x200
push ebx
lea eax, [ebp + 0x800]
push eax
call fcn.004fd670
mov eax, dword [esi + 4]
push 1
push 0x200
lea ecx, [ebp + 0x800]
push ecx
push str.Class
push eax
mov edx, dword [ebp - 0x18]
call fcn.004920e0
add esp, 0x30
test eax, eax
jne 0x463375
lea eax, [ebp + 0x800]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4632b7
sub eax, edx
sar eax, 1
je 0x463375
push str.Printer
lea edx, [ebp + 0x800]
push edx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x463375
push 0x800
push ebx
lea eax, [ebp]
push eax
call fcn.004fd670
mov eax, dword [esi + 4]
push 1
push 0x800
lea ecx, [ebp]
push ecx
push str.Inst_Param
push eax
mov edx, dword [ebp - 0x18]
call fcn.004920e0
add esp, 0x20
test eax, eax
jne 0x463331
lea edx, [ebp]
push edx
push str._s__x
lea eax, [ebp - 0x1c]
push eax
call fcn.004081a0
add esp, 0xc
jmp 0x463342
push 0x557f3c
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004081a0
add esp, 8
push ebx
push str.Inst_Param
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [esi + 4]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00419c20
mov ecx, dword [ebp - 0x1c]
push ecx
lea edx, [ebp + 0xa00]
push edx
push str.Set___s__Printer_Install_Parameter_:___s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x1c
add edi, 1
jmp 0x4631ef
mov dword [ebp - 4], 1
jmp 0x4633ab
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x1c]
call fcn.00406150
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00406150
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc00]
xor ecx, ebp
call fcn.004fa103
add ebp, 0xc04
mov esp, ebp
pop ebp
ret 4