Function at 0x429770
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436daa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
movaps xmm0, xmmword [0x46e4f0]
xor ecx, ecx
movups xmmword [ebp - 0xa4], xmm0
push esi
movaps xmm0, xmmword [0x46e050]
push edi
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x23060e08
mov dword [ebp - 0x80], 0x38020b04
mov dword [ebp - 0x7c], 0x100362a
nop word [eax + eax]
lea eax, [ecx + 0x41]
xor byte [ebp + ecx - 0xa4], al
inc ecx
cmp ecx, 0x2a
jb 0x4297d0
push ecx
lea eax, [ebp - 0x7a]
mov byte [ebp - 0x79], 0
push eax
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00433f10
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov eax, 0xf
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], eax
mov byte [ebp - 0x128], 0
xor edi, edi
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf0], edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
cmp dword [ebp - 0xc0], 0xf
lea eax, [ebp - 0xd4]
push ecx
cmova eax, dword [ebp - 0xd4]
push 0x20019
push edi
push eax
push reloc.XINPUT1_4.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x5c], esi
test eax, eax
jne 0x429dd4
mov ecx, dword [ebp - 0xc4]
mov eax, Ordinal_2
sub eax, ecx
mov dword [ebp - 0x50], edi
cmp eax, 2
jb 0x429ebb
cmp dword [ebp - 0xc0], 0xf
lea eax, [ebp - 0xd4]
push 2
cmova eax, dword [ebp - 0xd4]
push 0x46dcc4
push ecx
push eax
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x110]
call fcn.004351b0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
cmp dword [ebp - 0xfc], 0xf
lea eax, [ebp - 0x110]
push ecx
cmova eax, dword [ebp - 0x110]
push eax
push reloc.XINPUT1_4.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x429d98
push 0xff
push eax
lea eax, [ebp - 0x228]
mov dword [ebp - 0x50], 0xff
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push str.InstallPath
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x429d93
xorps xmm0, xmm0
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0xa8], eax
movups xmmword [ebp - 0xbc], xmm0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429950
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.004348e0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 5
xor ecx, ecx
movaps xmm0, xmmword [0x46e1f0]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x317d2a14
mov dword [ebp - 0x38], 0x100332d
lea eax, [ecx + 0x41]
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 0x16
jb 0x4299a4
push ecx
lea eax, [ebp - 0x36]
mov byte [ebp - 0x35], 0
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00433f10
mov byte [ebp - 4], 6
lea eax, [ebp - 0xbc]
cmp dword [ebp - 0xa8], 0xf
push dword [ebp - 0xac]
cmova eax, dword [ebp - 0xbc]
push eax
push ecx
lea ecx, [ebp - 0x90]
call fcn.00433a80
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
mov byte [ebp - 4], 5
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x429a53
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429a49
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429a49
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435743
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x429a89
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429a7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429a7f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435743
add esp, 8
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x1c]
mov eax, edx
mov ecx, dword [ebp - 0x20]
sub eax, ecx
cmp eax, 1
jb 0x429acb
inc ecx
lea esi, [ebp - 0x30]
cmp edx, 0xf
mov dword [ebp - 0x20], ecx
push ecx
cmova esi, dword [ebp - 0x30]
push esi
lea eax, [esi + 1]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi], 0x22
jmp 0x429ada
sub esp, 0xc
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
call fcn.004347b0
mov al, byte [0x46dcd8]
xorps xmm0, xmm0
mov esi, dword [str..exe_]
mov edi, 0xf
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 5
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x48], al
mov byte [ebp - 0x47], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x78], 0x6578652e
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x20]
cmova ecx, dword [ebp - 0x30]
push 4
push eax
push 0
call fcn.00434570
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
je 0x429b90
push dword [ebp - 0x3c]
cmp edi, 0xf
lea ecx, [ebp - 0x4c]
cmova ecx, esi
push ecx
push 4
push eax
lea ecx, [ebp - 0x30]
call fcn.00433910
cmp dword [ebp - 0x1c], 0xf
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
push 4
push eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x3c]
push eax
call fcn.00434570
mov edi, dword [ebp - 0x38]
add esp, 0xc
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
jne 0x429b47
mov byte [ebp - 4], 5
cmp edi, 0xf
jbe 0x429bc2
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x429bb8
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429d7e
push edi
push esi
call fcn.00435743
add esp, 8
mov dword [ebp - 0x16], 0x29356f61
xor ecx, ecx
mov dword [ebp - 0x12], 0x78777765
mov word [ebp - 0xe], 0x100
lea eax, [ecx + 0x41]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 8
jb 0x429bd8
push ecx
lea eax, [ebp - 0xe]
mov byte [ebp - 0xd], 0
push eax
lea eax, [ebp - 0x16]
push eax
lea ecx, [ebp - 0xec]
call fcn.00433f10
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
push dword [ebp - 0x20]
cmova eax, dword [ebp - 0x30]
push eax
push ecx
lea ecx, [ebp - 0xec]
call fcn.00433a80
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
mov byte [ebp - 4], 5
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0xf
jbe 0x429c7e
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429c74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429c74
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435743
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x78]
cmp dword [ebp - 0x64], 0xf
xorps xmm0, xmm0
cmova edx, dword [ebp - 0x78]
sub esp, 0x18
mov esi, esp
mov ecx, edx
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
lea edi, [ecx + 1]
mov dword [esi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x429cc6
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004348e0
call fcn.00429550
mov ecx, dword [ebp - 0x64]
add esp, 0x18
cmp ecx, 0xf
jbe 0x429d10
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429d06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429d7e
push ecx
push edx
call fcn.00435743
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x429d40
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429d36
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429d7e
push ecx
push edx
call fcn.00435743
add esp, 8
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp ecx, 0xf
jbe 0x429d8e
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429d84
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429d84
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435743
add esp, 8
mov esi, dword [ebp - 0x5c]
xor edi, edi
push dword [ebp - 0x60]
call esi
mov ecx, dword [ebp - 0xfc]
cmp ecx, 0xf
jbe 0x429dd4
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429dca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429dca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435743
add esp, 8
push dword [ebp - 0x34]
call esi
test edi, edi
je 0x429e6f
mov esi, edi
test esi, esi
je 0x429e30
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x429e1a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x429e10
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429e9b
mov eax, edx
push ecx
push eax
call fcn.00435743
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
jne 0x429de7
xor ecx, ecx
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x429e65
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429e9b
push ecx
push edi
call fcn.00435743
add esp, 8
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x429eab
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429ea1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429ea1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435743
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00428a10
int3