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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4370da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
movaps xmm0, xmmword [0x46f5d0]
xor ecx, ecx
movups xmmword [ebp - 0xa4], xmm0
push esi
movaps xmm0, xmmword [0x46f210]
push edi
movups xmmword [ebp - 0x94], xmm0
mov dword [ebp - 0x84], 0x4b6e6660
mov dword [ebp - 0x80], 0x406a636c
mov dword [ebp - 0x7c], 0x1004e52
nop word [eax + eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xa4], al
inc ecx
cmp ecx, 0x2a
jb 0x4298a0
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.00434240
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 0x429ea4
mov ecx, dword [ebp - 0xc4]
mov eax, Ordinal_2
sub eax, ecx
mov dword [ebp - 0x50], edi
cmp eax, 2
jb 0x429f8b
cmp dword [ebp - 0xc0], 0xf
lea eax, [ebp - 0xd4]
push 2
cmova eax, dword [ebp - 0xd4]
push 0x46ecc4
push ecx
push eax
push ecx
push dword [ebp - 0x34]
lea ecx, [ebp - 0x110]
call fcn.004354e0
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 0x429e68
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 0x429e63
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 0x429a20
sub ecx, edx
lea eax, [ebp - 0x228]
push ecx
push eax
lea ecx, [ebp - 0xbc]
call fcn.00434c10
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 [0x46f380]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x3c], 0x99d582bc
mov dword [ebp - 0x38], 0x1009b85
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x4c], al
inc ecx
cmp ecx, 0x16
jb 0x429a74
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.00434240
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.00433db0
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 0x429b23
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429b19
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429b19
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435a73
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x429b59
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429b4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429b4f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435a73
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 0x429b9b
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 0x429baa
sub esp, 0xc
push dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x30]
call fcn.00434ae0
mov al, byte [0x46ecd8]
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.004348a0
add esp, 0xc
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
je 0x429c60
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.00433c40
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.004348a0
mov edi, dword [ebp - 0x38]
add esp, 0xc
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
cmp eax, 0xffffffff
jne 0x429c17
mov byte [ebp - 4], 5
cmp edi, 0xf
jbe 0x429c92
inc edi
mov eax, esi
cmp edi, 0x1000
jb 0x429c88
mov esi, dword [eax - 4]
add edi, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429e4e
push edi
push esi
call fcn.00435a73
add esp, 8
mov dword [ebp - 0x16], 0x819dc7c9
xor ecx, ecx
mov dword [ebp - 0x12], 0xc0dfdfcd
mov word [ebp - 0xe], 0x100
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 8
jb 0x429ca8
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.00434240
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.00433db0
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 0x429d4e
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429d44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429d44
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435a73
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 0x429d96
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.00434c10
call fcn.00429620
mov ecx, dword [ebp - 0x64]
add esp, 0x18
cmp ecx, 0xf
jbe 0x429de0
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429dd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429e4e
push ecx
push edx
call fcn.00435a73
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0xf
jbe 0x429e10
mov edx, dword [ebp - 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429e06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429e4e
push ecx
push edx
call fcn.00435a73
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 0x429e5e
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429e54
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429e54
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435a73
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 0x429ea4
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429e9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429e9a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435a73
add esp, 8
push dword [ebp - 0x34]
call esi
test edi, edi
je 0x429f3f
mov esi, edi
test esi, esi
je 0x429f00
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x429eea
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x429ee0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429f6b
mov eax, edx
push ecx
push eax
call fcn.00435a73
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
add esi, 0x18
jne 0x429eb7
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 0x429f35
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x429f6b
push ecx
push edi
call fcn.00435a73
add esp, 8
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0xf
jbe 0x429f7b
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x429f71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x429f71
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00435a73
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.00428ad0
int3