Function at 0x463200
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4843ac
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x8458
call fcn.0046eec0
mov eax, dword [0x4b700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
or edi, 0xffffffff
mov dword [ebp - 0x8424], edi
lea eax, [ebp - 0x8428]
push eax
push 0xf003f
push 0
push dword [ebp + 8]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x463306
mov byte [ebp - 4], 5
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463293
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4632b5
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 7
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4632d7
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 8
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 0x14]
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4632ff
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov eax, esi
jmp 0x46368d
push 0x208
push 0
lea eax, [ebp - 0x41c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x8438], 0x104
mov dword [ebp - 0x842c], 0
lea eax, [ebp - 0x8468]
push eax
lea eax, [ebp - 0x844c]
push eax
lea eax, [ebp - 0x8450]
push eax
lea eax, [ebp - 0x8454]
push eax
lea eax, [ebp - 0x8458]
push eax
lea eax, [ebp - 0x845c]
push eax
lea eax, [ebp - 0x8430]
push eax
lea eax, [ebp - 0x842c]
push eax
push 0
lea eax, [ebp - 0x8438]
push eax
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x8428]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x842c]
test eax, eax
je 0x46351c
xor esi, esi
mov dword [ebp - 0x8448], esi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, eax
jae 0x46351c
mov dword [ebp - 0x843c], 0xff
lea eax, [ebp - 0x8468]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x843c]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push dword [ebp - 0x8428]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46350a
lea eax, [ebp - 0x8420]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x8428]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46350a
mov dword [ebp - 0x8440], 0x7ffe
lea eax, [ebp - 0x8440]
push eax
lea eax, [ebp - 0x841c]
push eax
lea eax, [ebp - 0x8434]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x8420]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4634fe
mov edx, str.DWORD
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x463473
push dword [ebp + 0x14]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
add esp, 4
mov dword [ebp - 0x8444], eax
push 4
lea eax, [ebp - 0x8444]
push eax
push 4
jmp 0x4634e9
mov edx, str.STRING
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x463491
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 1
jmp 0x4634e9
mov edx, str.MULTI_STRING
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x4634af
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 7
jmp 0x4634e9
mov edx, str.EXPANDABLE_STRING
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x4634cd
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 2
jmp 0x4634e9
mov edx, str.NONE
lea ecx, [ebp + 0x10]
call fcn.0045c510
test al, al
je 0x4634fe
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax - 0xc]
inc ecx
push ecx
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x8420]
call ebx
mov edi, eax
mov dword [ebp - 0x8424], edi
push dword [ebp - 0x8420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
mov dword [ebp - 0x8448], esi
mov eax, dword [ebp - 0x842c]
jmp 0x4633a0
push dword [ebp - 0x8428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 9
mov byte [ebp - 4], 2
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46354d
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46356f
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463591
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4635b7
mov ecx, dword [edx]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov eax, edi
jmp 0x46368d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046dda6
mov esp, ebp
pop ebp
ret