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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43638a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
movaps xmm0, xmmword [0x46e480]
xor ecx, ecx
movups xmmword [ebp - 0xa4], xmm0
push esi
movaps xmm0, xmmword [0x46e260]
push edi
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x33161e18
mov dword [ebp - 0x80], 0x28121b14
mov dword [ebp - 0x7c], 0x100263a
nop word [eax + eax]
lea eax, [ecx + 0x51]
xor byte [ebp + ecx - 0xa4], al
inc ecx
cmp ecx, 0x2a
jb 0x4299f0
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.004336a0
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 0x429ff4
mov ecx, dword [ebp - 0xc4]
mov eax, Ordinal_2
sub eax, ecx
mov dword [ebp - 0x50], edi
cmp eax, 2
jb 0x42a0db
cmp dword [ebp - 0xc0], 0xf
lea eax, [ebp - 0xd4]
push 2
cmova eax, dword [ebp - 0xd4]
push 0x46dca4
push ecx
push eax
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x110]
call fcn.00434730
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 0x429fb8
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 0x429fb3
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 0x429b70
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.00433e60
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 [0x46e270]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x14d1a24
mov dword [ebp - 0x38], 0x100031d
lea eax, [ecx + 0x51]
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 0x16
jb 0x429bc4
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.004336a0
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.00433310
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 0x429c73
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429c69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429c69
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00434d13
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x429ca9
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429c9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429c9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00434d13
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 0x429ceb
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 0x429cfa
sub esp, 0xc
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00433d30
mov al, byte [0x46dcb8]
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.00433af0
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
je 0x429db0
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.004331a0
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.00433af0
mov edi, dword [ebp - 0x38]
add esp, 0xc
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
jne 0x429d67
mov byte [ebp - 4], 5
cmp edi, 0xf
jbe 0x429de2
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x429dd8
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429f9e
push edi
push esi
call fcn.00434d13
add esp, 8
mov dword [ebp - 0x16], 0x39257f71
xor ecx, ecx
mov dword [ebp - 0x12], 0x68676775
mov word [ebp - 0xe], 0x100
lea eax, [ecx + 0x51]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 8
jb 0x429df8
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.004336a0
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.00433310
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 0x429e9e
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429e94
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429e94
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00434d13
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 0x429ee6
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00433e60
call fcn.00429770
mov ecx, dword [ebp - 0x64]
add esp, 0x18
cmp ecx, 0xf
jbe 0x429f30
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429f26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429f9e
push ecx
push edx
call fcn.00434d13
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x429f60
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429f56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429f9e
push ecx
push edx
call fcn.00434d13
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 0x429fae
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429fa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429fa4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00434d13
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 0x429ff4
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429fea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429fea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00434d13
add esp, 8
push dword [ebp - 0x34]
call esi
test edi, edi
je 0x42a08f
mov esi, edi
test esi, esi
je 0x42a050
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x42a03a
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x42a030
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a0bb
mov eax, edx
push ecx
push eax
call fcn.00434d13
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
jne 0x42a007
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 0x42a085
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a0bb
push ecx
push edi
call fcn.00434d13
add esp, 8
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x42a0cb
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42a0c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42a0c1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00434d13
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.00428c50
int3