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

Disassembly:
mov eax, 0x55c232
call fcn.00514868
sub esp, 0xd8
push ebx
push esi
mov eax, ecx
lea ecx, [ebp - 0x48]
push edi
push ecx
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.00448561
and dword [ebp - 4], 0
xor edi, edi
xor esi, esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
and dword [ebp - 0x28], esi
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
and dword [ebp - 0x14], esi
push eax
push 0x20019
push esi
push 0x5d4708
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44887a
and dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push esi
push esi
push esi
push 0x5d4730
push dword [ebp - 0x14]
call ebx
test eax, eax
jne 0x44887a
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.004493a6
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push eax
push edi
push esi
push esi
push 0x5d4730
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x448877
mov esi, edi
mov dword [ebp - 0x2c], esi
jmp 0x44887a
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 0
je 0x448889
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], eax
and dword [ebp - 0x1c], eax
mov byte [ebp - 4], 2
sub esi, edi
je 0x4488ee
test esi, esi
je 0x4488ab
xor byte [edi + eax], 0xaa
inc eax
cmp eax, esi
jb 0x4488a2
push 0x534
lea ecx, [ebp - 0x24]
call fcn.004493a6
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
sub eax, ebx
push esi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push edi
push eax
push ebx
call fcn.0048d057
add esp, 0x10
test eax, eax
js 0x4488e9
push dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
call fcn.004493a6
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
jmp 0x4488ee
mov eax, ebx
mov dword [ebp - 0x20], eax
sub eax, ebx
cmp eax, 0x4f0
jne 0x4489ca
push 0x4d0
push ebx
lea ecx, [ebp - 0xe4]
lea esi, [ebx + 0x4d0]
call fcn.004987b3
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.004989b7
push eax
lea ecx, [ebp - 0x60]
call fcn.00402588
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe4]
call fcn.00498802
cmp dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x60]
jae 0x448941
lea eax, [ebp - 0x60]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x448961
test cl, cl
je 0x44895d
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x448961
add eax, 2
add esi, 2
test cl, cl
jne 0x448941
xor eax, eax
jmp 0x448966
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4489b5
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x448976
lea eax, [ebp - 0x48]
lea ecx, [ebx + 0x384]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x44899c
test dl, dl
je 0x448998
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x44899c
add ecx, 2
add eax, 2
test dl, dl
jne 0x44897c
xor eax, eax
jmp 0x4489a1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4489b5
mov esi, ebx
mov ecx, 0x134
mov ebx, dword [ebp - 0x18]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x4489b8
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
push 0
push 1
call fcn.00401fa5
jmp 0x4489cd
mov ebx, dword [ebp - 0x18]
cmp dword [ebp - 0x34], 0x10
mov ecx, dword [ebp - 0x48]
jae 0x4489d9
lea ecx, [ebp - 0x48]
pop edi
pop esi
lea edx, [ebx + 0x384]
pop ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4489e2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0044934a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.0044934a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret