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

Disassembly:
mov eax, 0x46b3c6
call fcn.00468300
sub esp, 0x18c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x2c], ebx
push 0xf
pop edi
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], edi
mov byte [esi], bl
mov eax, 0xff
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x198]
push ebx
push eax
mov dword [ebp - 0x2c], 1
call fcn.00442300
movaps xmm0, xmmword [0x47e930]
add esp, 0xc
movups xmmword [ebp - 0x60], xmm0
mov edx, ebx
mov dword [ebp - 0x40], 0xfbececeb
movaps xmm0, xmmword [0x47e870]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0xfbc8eaf0
mov dword [ebp - 0x38], 0xf1f7edec
mov word [ebp - 0x34], 0xf0
mov cl, byte [ebp - 0x60]
not cl
xor byte [ebp + edx - 0x5f], cl
inc edx
cmp edx, 0x2c
jb 0x437792
lea eax, [ebp - 0x30]
mov byte [ebp - 0x33], bl
push eax
push 0x20119
push ebx
lea eax, [ebp - 0x5f]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43780b
mov cl, 0x48
mov dword [ebp - 0x20], 0xd8c5e748
mov dword [ebp - 0x1c], 0xc3d4c2d3
mov edx, ebx
mov dword [ebp - 0x18], 0xd2dad6f9
mov byte [ebp - 0x14], bl
not cl
xor byte [ebp + edx - 0x1f], cl
inc edx
cmp edx, 0xb
jae 0x4377ee
mov cl, byte [ebp - 0x20]
jmp 0x4377dd
lea eax, [ebp - 0x64]
mov byte [ebp - 0x14], bl
push eax
lea eax, [ebp - 0x198]
push eax
push ebx
push ebx
lea eax, [ebp - 0x1f]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x198]
mov dword [ebp - 0x7c], ebx
push eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], edi
call fcn.00413e6c
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004133cf
lea ecx, [ebp - 0x7c]
call fcn.00413e0b
push 0xa
pop edx
lea ecx, [ebp - 0x13]
call fcn.00425fdb
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00425ff3
push 0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
mov ebx, 0xc3
mov ecx, esi
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00413258
or edi, 0xffffffff
cmp eax, edi
jne 0x4378b9
mov edx, 0x7e0
lea ecx, [ebp - 0x67]
call fcn.00425fdb
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00425ff3
push 0
lea eax, [ebp - 0x98]
mov ebx, 0x3c7
push eax
mov ecx, esi
mov dword [ebp - 0x2c], ebx
call fcn.00413258
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x4378bd
mov byte [ebp - 0xd], 1
test bl, 4
je 0x4378d3
and ebx, 0xfffffffb
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], ebx
call fcn.00413e0b
and dword [ebp - 4], 0
test bl, 2
je 0x4378ea
and ebx, 0xfffffffd
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
call fcn.00413e0b
cmp byte [ebp - 0xd], 0
je 0x437900
and dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0xa
jmp 0x437b5e
mov cl, 0x36
mov dword [ebp - 0x18], 0xf8e7f136
mov byte [ebp - 0x14], 0
xor edx, edx
not cl
xor cl, byte [ebp + edx - 0x17]
mov byte [ebp + edx - 0x17], cl
inc edx
cmp edx, 3
jae 0x437924
mov cl, byte [ebp - 0x18]
jmp 0x43790f
push ecx
lea eax, [ebp - 0x17]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00413227
cmp eax, edi
jne 0x437b50
mov cl, 0x3b
mov dword [ebp - 0x1c], 0xf5f4f63b
mov dword [ebp - 0x18], 0xf696e4f6
xor edx, edx
mov byte [ebp - 0x14], 0
not cl
xor cl, byte [ebp + edx - 0x1b]
mov byte [ebp + edx - 0x1b], cl
inc edx
cmp edx, 7
jae 0x437967
mov cl, byte [ebp - 0x1c]
jmp 0x437952
push ecx
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00413227
cmp eax, edi
jne 0x437b50
push 8
pop edx
lea ecx, [ebp - 0x67]
call fcn.00425fdb
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00425ff3
or ebx, 0xc00
push 0
lea eax, [ebp - 0x98]
mov dword [ebp - 4], 2
or ebx, 8
mov ecx, esi
push eax
mov dword [ebp - 0x2c], ebx
call fcn.00413258
cmp eax, edi
jne 0x4379fb
mov edx, 0x7dc
lea ecx, [ebp - 0x13]
call fcn.00425fdb
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00425ff3
push 0
lea eax, [ebp - 0x4c]
or ebx, 0x3010
push eax
mov ecx, esi
mov dword [ebp - 0x2c], ebx
call fcn.00413258
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x4379ff
mov byte [ebp - 0xd], 1
test bl, 0x10
je 0x437a12
and ebx, 0xffffffef
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], ebx
call fcn.00413e0b
and dword [ebp - 4], 0
test bl, 8
je 0x437a2c
and ebx, 0xfffffff7
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x2c], ebx
call fcn.00413e0b
cmp byte [ebp - 0xd], 0
je 0x437a3e
mov dword [esi + 0x1c], 2
jmp 0x437b57
push 7
pop edx
lea ecx, [ebp - 0x67]
call fcn.00425fdb
push ecx
lea ecx, [ebp - 0x67]
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.00425ff3
push 0
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
or ebx, 0xc020
call fcn.00413258
cmp eax, edi
jne 0x437aad
mov al, 0x7a
mov dword [ebp - 0x1c], 0xb5b5b77a
mov dword [ebp - 0x18], 0xb7d7a5bd
xor ecx, ecx
mov byte [ebp - 0x14], 0
not al
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 7
jae 0x437a95
mov al, byte [ebp - 0x1c]
jmp 0x437a84
push ecx
lea eax, [ebp - 0x1b]
mov byte [ebp - 0x14], 0
push eax
mov ecx, esi
call fcn.00413227
mov byte [ebp - 0xd], 0
cmp eax, edi
je 0x437ab1
mov byte [ebp - 0xd], 1
test bl, 0x20
je 0x437abe
lea ecx, [ebp - 0x4c]
call fcn.00413e0b
cmp byte [ebp - 0xd], 0
je 0x437ad0
mov dword [esi + 0x1c], 1
jmp 0x437b57
xor ebx, ebx
mov dword [ebp - 0x1a], 0xcbd1ee47
mov al, 0x47
mov word [ebp - 0x16], 0xd9cc
mov byte [ebp - 0x14], bl
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 5
jae 0x437af7
mov al, byte [ebp - 0x1a]
jmp 0x437ae6
push ecx
lea eax, [ebp - 0x19]
mov byte [ebp - 0x14], bl
push eax
mov ecx, esi
call fcn.00413227
cmp eax, edi
jne 0x437b4b
mov al, 0x23
mov dword [ebp - 0x19], 0xececee23
mov word [ebp - 0x15], 0xe4
mov ecx, ebx
not al
xor byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 4
jae 0x437b2c
mov al, byte [ebp - 0x19]
jmp 0x437b1b
push ecx
lea eax, [ebp - 0x18]
mov byte [ebp - 0x14], bl
push eax
mov ecx, esi
call fcn.00413227
cmp eax, edi
jne 0x437b4b
mov dword [esi + 0x18], 0xa
mov dword [esi + 0x1c], ebx
jmp 0x437b5e
mov dword [esi + 0x1c], ebx
jmp 0x437b57
mov dword [esi + 0x1c], 3
mov dword [esi + 0x18], 6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret