Function at 0x4298d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43229d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], esi
jb 0x429907
mov ecx, dword [edx]
mov edx, ecx
lea eax, [ecx + eax*2]
jmp 0x42990a
lea eax, [edx + eax*2]
push ecx
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042fba0
cmp dword [eax + 0x14], 0x10
jb 0x42991d
mov eax, dword [eax]
lea ecx, [ebp + 8]
push ecx
push 0x20019
push 0
push eax
push reloc.XINPUT1_4.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x38]
mov edi, eax
cmp ecx, 0x10
jb 0x42996c
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429962
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429962
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00430e84
add esp, 8
test edi, edi
jne 0x4299fb
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x10], edi
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x42998c
mov ecx, dword [edx]
mov edx, ecx
lea eax, [ecx + eax*2]
jmp 0x42998f
lea eax, [edx + eax*2]
push ecx
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042fba0
cmp dword [eax + 0x14], 0x10
jb 0x4299a2
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x38]
mov edi, eax
cmp ecx, 0x10
jb 0x4299ee
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4299e4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4299e4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00430e84
add esp, 8
test edi, edi
je 0x429a32
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
mov eax, esi
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
pop edi
mov byte [esi], 0
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x429a63
mov dword [ebp - 0x24], edi
mov byte [ebp + edi - 0x34], 0
jmp 0x429a93
cmp edi, 0xf
ja 0x429a81
push edi
lea eax, [ebp - 0x34]
mov dword [ebp - 0x24], edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp + edi - 0x34], 0
jmp 0x429a93
push ecx
push edi
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
push edi
call fcn.00430580
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 8
mov eax, dword [edx + 0x10]
jb 0x429aa8
mov ecx, dword [edx]
mov edx, ecx
lea eax, [ecx + eax*2]
jmp 0x429aab
lea eax, [edx + eax*2]
push ecx
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.0042fba0
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 0x10
jb 0x429ac9
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ecx
push 0
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x38]
mov edi, eax
cmp ecx, 0x10
jb 0x429b14
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429b0a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429b0a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00430e84
add esp, 8
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
test edi, edi
je 0x429b8e
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
cmp ecx, 0x10
jb 0x429b9f
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429b72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429b72
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00430e84
add esp, 8
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret