Function at 0x6a9443b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x6dc
mov dword [ebp - 0x6b0], eax
mov dword [ebp - 0x69c], 0
call fcn.6a9441c0
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
lea edx, [ebp - 0x6a8]
sub esp, 4
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x6a94ac50
mov dword [esp + 4], 0x800
mov dword [esp], eax
call sub.dinput8.dll_DirectInput8Create
mov eax, dword [ebp - 0x6a8]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6a944100
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [edx + 0x10]
mov eax, dword [ebp - 0x6a8]
sub esp, 0x14
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov ebx, dword [sym.imp.user32.dll_SendDlgItemMessageW]
sub esp, 4
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x184
mov dword [esp + 4], 0x7d0
mov dword [ebp - 0x6b4], ebx
call ebx
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x184
mov dword [esp + 4], 0x7d1
call ebx
sub esp, 0x14
mov dword [esp], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x184
mov dword [esp + 4], 0x7d2
call ebx
mov esi, dword [0x6a9480a0]
sub esp, 0x14
cmp esi, 0x6a9480a0
je 0x6a9445e8
lea eax, [ebp - 0x690]
lea ebx, [ebp - 0x464]
mov dword [ebp - 0x6ac], eax
jmp 0x6a94452a
mov dword [esp + 4], 0x7d2
mov eax, dword [ebp - 0x6b0]
mov dword [esp], eax
mov eax, dword [ebp - 0x6b4]
call eax
sub esp, 0x14
mov esi, dword [esi]
cmp esi, 0x6a9480a0
je 0x6a9445e8
xor eax, eax
mov edi, ebx
mov ecx, 0x113
movq xmm0, qword [0x6a94a428]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x6ac]
mov ecx, 0x8a
mov dword [ebp - 0x464], 0x44c
lea ebx, [ebp - 0x464]
rep stosd dword es:[edi], eax
movq qword [ebp - 0x690], xmm0
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x3c]
sub esp, 8
test eax, eax
js 0x6a94451c
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x6ac]
mov edx, dword [eax]
mov dword [esp + 4], 0xc
mov dword [esp + 8], edi
mov dword [esp], eax
call dword [edx + 0x14]
sub esp, 0xc
test eax, eax
js 0x6a94451c
lea eax, [ebp - 0x670]
mov dword [esp + 4], str.ig_
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsstr]
mov dword [esp + 0xc], 0
test eax, eax
mov dword [esp + 8], 0x180
lea eax, [ebp - 0x43c]
mov dword [esp + 0x10], eax
jne 0x6a944500
mov dword [esp + 4], 0x7d0
jmp 0x6a944508
lea edx, [ebp - 0x6a0]
lea eax, [ebp - 0x6a4]
call fcn.6a944340
lea eax, [ebp - 0x69c]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x6a4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x69c]
sub esp, 0x30
test eax, eax
je 0x6a944760
lea ebx, [ebp - 0x464]
xor edi, edi
lea eax, [ebp - 0x690]
mov dword [ebp - 0x6ac], eax
lea esi, [ebp - 0x694]
mov eax, ebx
mov ebx, edi
mov edi, eax
jmp 0x6a9446a7
add ebx, 1
cmp ebx, dword [ebp - 0x69c]
jae 0x6a944760
mov dword [ebp - 0x698], 0x104
mov dword [ebp - 0x694], 0x104
mov dword [esp + 0x1c], esi
mov eax, dword [ebp - 0x6ac]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], edi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x698]
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebx
mov eax, dword [ebp - 0x6a4]
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegEnumValueW]
sub esp, 0x20
test eax, eax
jne 0x6a944698
mov eax, dword [ebp - 0x6ac]
mov dword [esp], str.disabled
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
jne 0x6a944698
mov dword [esp + 0x10], edi
add ebx, 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x180
mov dword [esp + 4], 0x7d1
mov eax, dword [ebp - 0x6b0]
mov dword [esp], eax
mov eax, dword [ebp - 0x6b4]
call eax
sub esp, 0x14
cmp ebx, dword [ebp - 0x69c]
jb 0x6a9446a7
nop
mov eax, dword [ebp - 0x6a4]
test eax, eax
je 0x6a944776
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
mov eax, dword [ebp - 0x6a0]
test eax, eax
je 0x6a94478c
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret