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

Disassembly:
push 0x254
push 0x610178
call fcn.005b04b0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x260], eax
and dword [ebp - 0x254], 0
test eax, eax
je 0x42d718
xor eax, eax
mov word [ebp - 0x24c], ax
mov esi, 0x206
push esi
push eax
lea eax, [ebp - 0x24a]
push eax
call fcn.00596530
add esp, 0xc
mov dword [ebp - 0x258], 1
mov dword [ebp - 0x25c], esi
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x258]
push eax
push str.biduid
push str.Softwarehao123JuziBrowser
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42d5bf
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x42d4f7
sub eax, edx
sar eax, 1
cmp eax, 8
jbe 0x42d5bf
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x42d517
sub eax, edx
sar eax, 1
mov ebx, eax
lea eax, [ebx + ebx - 0x10]
push eax
lea esi, [ebp - 0x24c]
call fcn.00418e2e
pop ecx
mov dword [ebp - 0x250], eax
xor eax, eax
xor byte [ebp + eax - 0x250], 0x7c
inc eax
cmp eax, 4
jb 0x42d540
xor eax, eax
mov word [ebp - 0x40], ax
push 7
pop ecx
lea edi, [ebp - 0x3e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebp - 0x250]
push str._08X
push 0xf
lea eax, [ebp - 0x40]
push eax
call fcn.0058f42f
add esp, 0x10
lea esi, [ebp + ebx*2 - 0x25c]
mov ecx, esi
lea eax, [ebp - 0x40]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42d5a9
test dx, dx
je 0x42d5a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42d5a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x42d583
xor eax, eax
jmp 0x42d5ae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42d5bf
mov word [esi], ax
mov dword [ebp - 0x254], 1
xor eax, eax
cmp dword [ebp - 0x254], eax
jne 0x42d6e8
mov dword [ebp - 4], eax
push 0x208
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
call fcn.0042d347
pop ecx
test eax, eax
je 0x42d609
mov dword [ebp - 0x254], 1
jmp 0x42d609
mov dword [ebp - 4], 0xfffffffe
cmp dword [ebp - 0x254], 0
je 0x42d710
lea eax, [ebp - 0x24c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x42d626
sub eax, edx
sar eax, 1
mov dword [ebp - 0x264], eax
lea ebx, [eax + eax]
push ebx
lea esi, [ebp - 0x24c]
call fcn.00418e2e
pop ecx
mov dword [ebp - 0x250], eax
xor eax, eax
xor byte [ebp + eax - 0x250], 0x7c
inc eax
cmp eax, 4
jb 0x42d652
xor eax, eax
mov word [ebp - 0x40], ax
push 7
pop ecx
lea edi, [ebp - 0x3e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push dword [ebp - 0x250]
push str._08X
push 0xf
lea eax, [ebp - 0x40]
push eax
call fcn.0058f42f
lea esi, [ebp + ebx - 0x24c]
lea eax, [ebp - 0x40]
push eax
push 0x5db9e0
mov eax, 0x103
sub eax, dword [ebp - 0x264]
push eax
push esi
call fcn.0058f42f
add esp, 0x20
lea eax, [ebp - 0x24c]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x42d6b4
sub eax, ecx
sar eax, 1
add eax, eax
push eax
lea eax, [ebp - 0x24c]
push eax
push 1
push str.biduid
push str.Softwarehao123JuziBrowser
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor eax, eax
mov word [esi], ax
cmp dword [ebp - 0x254], 0
je 0x42d710
lea eax, [ebp - 0x24c]
push eax
push 0x5db9e0
push 0x103
push dword [ebp - 0x260]
call fcn.0058f42f
add esp, 0x10
mov eax, dword [ebp - 0x254]
jmp 0x42d71a
xor eax, eax
call fcn.005b04f8
ret