Function at 0x483440
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2446
mov eax, dword fs:[0]
push eax
sub esp, 0x66c
mov eax, dword [0x608554]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push ecx
push str.PrinterDriverInstall::WaitFinishPreConfig
lea ecx, [ebp - 0x660]
call fcn.0040a480
mov dword [ebp - 4], 0
mov ecx, dword [0x608f30]
cmp ecx, 0x608f30
je 0x48350a
test byte [ecx + 0x1c], 1
je 0x4834cf
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov edx, 0x5d03b8
cmovae eax, dword [0x608f54]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5e
call fcn.00401840
mov ecx, dword [0x608f30]
add esp, 0xc
cmp ecx, 0x608f30
je 0x48350a
test byte [ecx + 0x1c], 1
je 0x48350a
cmp dword [0x608f68], 8
mov eax, 0x608f54
push esi
cmovae eax, dword [0x608f54]
mov edx, 0x5d03b8
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x5f
call fcn.00405920
add esp, 0x10
push 0x618
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00571c00
add esp, 0xc
mov dword [ebp - 0x678], 0
xor ebx, ebx
mov dword [ebp - 0x674], 0
lea ecx, [ebp - 0x66c]
mov dword [ebp - 0x670], 0
mov dword [ebp - 0x668], ebx
push esi
mov dword [ebp - 0x664], ebx
call fcn.00403320
push 0x2c
push 0x5c
lea ecx, [ebp - 0x66c]
mov byte [ebp - 4], 1
call fcn.0043e030
push dword [ebp - 0x66c]
lea eax, [ebp - 0x628]
push str._sPrinterDriverData
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x4835d1
test byte [edx + 0x1c], 4
je 0x4835d1
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x628]
push ecx
mov eax, 0x608f54
lea ecx, [ebx + 0x60]
cmovae eax, dword [0x608f54]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5d03b8
call fcn.00405920
mov edx, dword [0x608f30]
add esp, 0x10
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor edi, edi
nop dword [eax]
cmp edi, 0x258
jae 0x48375f
push 0
push 0x64
call dword [sym.imp.KERNEL32.dll_SleepEx]
lea eax, [ebp - 0x668]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlPrintPrinters
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x4836f9
lea eax, [ebp - 0x664]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x628]
push eax
push dword [ebp - 0x668]
call esi
test eax, eax
jne 0x48369c
lea eax, [ebp - 0x670]
mov dword [ebp - 0x674], 4
push eax
lea eax, [ebp - 0x678]
mov dword [ebp - 0x670], 4
push eax
lea eax, [ebp - 0x674]
push eax
push 0
push str.PreConfigStatus
push dword [ebp - 0x664]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x664]
test eax, eax
mov eax, 1
cmove ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x668]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48374a
mov eax, dword [0x608f30]
cmp eax, 0x608f30
je 0x4836eb
test byte [eax + 0x1c], 2
je 0x4836eb
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x660]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d03b8
push esi
mov ecx, 0x61
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
push dword [ebp - 0x668]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x48374a
mov edx, dword [0x608f30]
cmp edx, 0x608f30
je 0x483750
test byte [edx + 0x1c], 2
je 0x483750
cmp dword [0x608f68], 8
lea ecx, [ebp - 0x660]
mov esi, 0x608f54
cmovae esi, dword [0x608f54]
call fcn.0040a830
push eax
mov eax, dword [0x608f30]
mov edx, 0x5d03b8
push esi
mov ecx, 0x62
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00405920
add esp, 0x10
mov edx, dword [0x608f30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
inc edi
test ebx, ebx
je 0x4835e0
cmp edx, 0x608f30
je 0x4837a9
test byte [edx + 0x1c], 4
je 0x4837a9
cmp dword [0x608f68], 8
mov ecx, 0x608f54
push dword [ebp - 0x678]
cmovae ecx, dword [0x608f54]
imul eax, edi, 0x64
push eax
push ecx
push dword [edx + 0x14]
mov ecx, 0x63
push dword [edx + 0x10]
mov edx, 0x5d03b8
call fcn.00437f70
mov edx, dword [0x608f30]
add esp, 0x14
mov byte [ebp - 0x65c], 1
cmp edx, 0x608f30
je 0x4837ea
test byte [edx + 0x1c], 1
je 0x4837ea
cmp dword [0x608f68], 8
mov eax, 0x608f54
mov ecx, 0x64
cmovae eax, dword [0x608f54]
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x5d03b8
call fcn.00401840
add esp, 0xc
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x66c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48380c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x660]
call fcn.0040a570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056d977
mov esp, ebp
pop ebp
ret 4