Function at 0x4623e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e670d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x660ff8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp + 0xc]
push 0x20019
push 0
mov dword [ebp - 0x18], 0
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4628ec
mov ebx, dword [ebp - 0x18]
xor esi, esi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x20], 0x3e8
push 0x7d2
mov byte [ebp - 4], 1
call fcn.005bed9d
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
mov dword [ebp - 0x3c], esi
test eax, eax
jne 0x4628b5
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov word [edi + eax*2], cx
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.0040238e
add eax, 0x10
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x4624d0
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x4624e6
call fcn.0040cf77
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
push 0x6356bc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0040d730
test al, al
jne 0x462513
push 0x6356bc
lea ecx, [ebp - 0x1c]
call fcn.0040ff90
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
push dword [esi - 0xc]
push esi
call fcn.004047cb
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x462542
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x46254a
xor ecx, ecx
jmp 0x46255f
mov ecx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x462550
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.004047cb
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 5
call fcn.0040cf77
test eax, eax
je 0x462900
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x6356c0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040d730
test al, al
jne 0x4625c3
push 0x6356c0
lea ecx, [ebp - 0x14]
call fcn.0040d8d0
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea edx, [ebp - 0x10]
mov ecx, esi
call fcn.00462010
mov byte [ebp - 4], 5
add esp, 8
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4625fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 8
call fcn.0040cf77
test eax, eax
je 0x462900
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.DisplayVersion
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.0040d730
test al, al
jne 0x462658
push str.DisplayVersion
lea ecx, [ebp - 0x14]
call fcn.0040d8d0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea edx, [ebp - 0x10]
call fcn.00462010
mov byte [ebp - 4], 8
add esp, 8
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x462690
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 0xb
call fcn.0040cf77
test eax, eax
je 0x462900
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.Publisher
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xc
call fcn.0040d730
test al, al
jne 0x4626ea
push str.Publisher
lea ecx, [ebp - 0x14]
call fcn.0040d8d0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
lea edx, [ebp - 0x10]
call fcn.00462010
mov byte [ebp - 4], 0xb
add esp, 8
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x462722
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040cf77
test eax, eax
je 0x462900
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x630f30
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xe
call fcn.0040d730
test al, al
jne 0x46275e
push 0x630f30
lea ecx, [ebp - 0x14]
call fcn.0040d8d0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
push eax
push 0x20019
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x2c], 0
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x4627c4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4627af
cmp dword [ebp - 0x34], 4
je 0x4627b6
mov dword [ebp - 0x30], 0
test ebx, ebx
je 0x4627c1
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x18]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4627dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
je 0x462882
push 0x10
call fcn.004677d2
mov esi, eax
add esp, 4
test esi, esi
je 0x462848
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
call fcn.0040cf77
mov ecx, eax
test ecx, ecx
je 0x462900
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
jmp 0x46284a
xor esi, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x2c], esi
push eax
mov ecx, esi
call fcn.00410070
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 4]
call fcn.00410070
mov eax, dword [ebp - 0x30]
lea ecx, [esi + 0xc]
mov dword [esi + 8], eax
lea eax, [ebp - 0x24]
push eax
call fcn.00410070
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.0043f800
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x3e8
call fcn.0040d690
lea ecx, [ebp - 0x28]
call fcn.0040d690
lea ecx, [ebp - 0x1c]
call fcn.0040d690
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d690
mov esi, dword [ebp - 0x3c]
jmp 0x462477
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x4628c7
push ebx
call esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
push edi
mov dword [ebp - 0x50], 0
call fcn.005bc852
add esp, 4
mov byte [ebp - 4], 0
push 0
call fcn.005bc852
add esp, 4
test ebx, ebx
je 0x4628ec
push ebx
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00402449
int3