Function at 0x4691e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564dc3
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
sub esp, 8
call fcn.00413d90
test eax, eax
jne 0x469230
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
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
push 8
call fcn.00529b2d
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x469264
mov dword [esi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [esi + 4], 0
jmp 0x469266
xor esi, esi
mov byte [ebp - 4], 0
lea edi, [esi + 4]
push 0
push edi
push 0
push 3
push 0
push 0
push 0
push 0x584038
push dword [esi]
mov dword [ebp - 0x14], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x46929c
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x46943e
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], 3
push eax
lea eax, [ebx + 0xfc]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.HKEnable
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
test eax, eax
je 0x4692d5
push eax
call ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], 6
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xf4
mov dword [ebp - 0x1c], 3
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.HKey
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x46930a
push eax
call ebx
lea eax, [ebp + 8]
mov dword [ebp + 8], 6
push eax
mov eax, dword [ebp - 0x10]
add eax, 0x100
mov dword [ebp - 0x1c], 3
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.HKeyMod
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x46933f
push eax
call ebx
mov edx, dword [ebp - 0x10]
mov ecx, 1
add edx, 0x10c
mov dword [ebp - 0x1c], edx
mov eax, dword [edx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x200
or eax, ecx
jge 0x469370
push 0x200
mov ecx, edx
call fcn.00402590
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx]
cmp dword [ecx - 8], 0x200
jge 0x469385
push 0x80070057
call fcn.004027b0
mov dword [ecx - 0xc], 0x200
mov eax, dword [edx]
xor edx, edx
mov dword [ebp - 0x1c], 0x400
mov dword [ebp - 0x18], 1
mov word [eax + 0x400], dx
lea eax, [ebp - 0x1c]
push eax
push ecx
lea eax, [ebp - 0x18]
push eax
push edx
push str.Alias
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4693c3
push eax
call ebx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10c]
test eax, eax
jne 0x4693d4
xor ecx, ecx
jmp 0x4693e9
push dword [eax - 8]
push eax
call fcn.00529878
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x46937b
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10c]
cmp ecx, dword [eax - 8]
jg 0x46937b
mov dword [eax - 0xc], ecx
xor edi, edi
mov eax, dword [edx + 0x10c]
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x1c], 1
mov word [eax + ecx*2], di
lea eax, [ebp - 0x1c]
push eax
lea eax, [edx + 0x140c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
push str.Paused
push dword [esi + 4]
lea edi, [esi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x469439
push eax
call ebx
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
test eax, eax
je 0x469458
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [edi], 0
push esi
call fcn.005295dd
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, ebx
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