Function at 0x41bdf0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181cbec]
push ebx
push esi
push edi
cmp dword [eax + 0x6b4], 0
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
je 0x41be31
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push ebx
push edx
push ecx
call edi
jmp 0x41bf79
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor esi, esi
mov edi, dword [eax + 0x30]
xor ebx, ebx
shr edx, 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0x811c9dc5
lea ecx, [edi + edx*2]
cmp edi, ecx
cmova edx, esi
mov dword [ebp - 0x1c], edx
test edx, edx
je 0x41be97
mov eax, edx
mov dl, byte [edi]
lea edi, [edi + 2]
movsx esi, dl
sub dl, 0x41
mov ecx, esi
or ecx, 0x20
cmp dl, 0x19
cmova ecx, esi
inc ebx
xor ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x1000193
mov dword [ebp - 0xc], ecx
cmp ebx, eax
jne 0x41be65
mov eax, dword [ebp - 0x18]
cmp ecx, 0x8ec4c73b
je 0x41be9b
mov eax, dword [eax]
jmp 0x41be3d
mov ebx, dword [eax + 0x18]
mov eax, dword [0x181cffc]
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x41bf5d
test ebx, ebx
je 0x41bf56
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], edx
cmp edx, ebx
je 0x41bf58
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x41bf56
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x41bf26
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x41bef5
cmp esi, 0xee94850c
je 0x41bf36
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
inc eax
add edi, 4
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x41bf56
mov ebx, dword [ebp - 0x18]
jmp 0x41bee5
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x41bf58
xor eax, eax
mov dword [0x181cffc], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
lea ecx, [ebp - 8]
push ecx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41c176
cmp dword [ebp - 8], 1
jne 0x41c176
mov eax, dword [ebp - 4]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00490df2
mov ecx, dword [ebp - 4]
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [ecx*2 + 2]
push ecx
push 0
push esi
call fcn.006ce4d0
mov ecx, dword [0x181cbec]
add esp, 0x10
cmp dword [ecx + 0x6b4], 0
je 0x41bfe6
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call edi
jmp 0x41c12f
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
movzx edx, word [eax + 0x2c]
xor esi, esi
mov edi, dword [eax + 0x30]
xor ebx, ebx
shr edx, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0x811c9dc5
lea ecx, [edi + edx*2]
cmp edi, ecx
cmova edx, esi
mov dword [ebp - 0x20], edx
test edx, edx
je 0x41c052
mov eax, edx
nop word [eax + eax]
mov dl, byte [edi]
lea edi, [edi + 2]
movsx esi, dl
sub dl, 0x41
mov ecx, esi
or ecx, 0x20
cmp dl, 0x19
cmova ecx, esi
inc ebx
xor ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x1000193
mov dword [ebp - 0x18], ecx
cmp ebx, eax
jne 0x41c020
mov eax, dword [ebp - 0xc]
cmp ecx, 0x8ec4c73b
je 0x41c056
mov eax, dword [eax]
jmp 0x41bff2
mov ebx, dword [eax + 0x18]
mov eax, dword [0x181cffc]
mov dword [ebp - 0x18], ebx
test eax, eax
jne 0x41c118
test ebx, ebx
je 0x41c111
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + ebx + 0x78]
mov eax, dword [eax + ebx + 0x7c]
add edx, ebx
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x24], edx
cmp edx, ebx
je 0x41c113
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x41c111
mov edi, dword [edx + 0x20]
add edi, ebx
mov edx, dword [edi]
mov esi, 0x811c9dc5
add edx, ebx
mov bl, byte [edx]
inc edx
test bl, bl
je 0x41c0e1
movsx ecx, bl
lea edx, [edx + 1]
sub bl, 0x41
mov eax, ecx
or eax, 0x20
cmp bl, 0x19
mov bl, byte [edx - 1]
cmova eax, ecx
xor eax, esi
imul esi, eax, 0x1000193
test bl, bl
jne 0x41c0b0
cmp esi, 0xee94850c
je 0x41c0f1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
inc eax
add edi, 4
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x41c111
mov ebx, dword [ebp - 0x18]
jmp 0x41c0a0
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov eax, dword [esi + 0x24]
lea eax, [eax + ecx*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
jmp 0x41c113
xor eax, eax
mov dword [0x181cffc], eax
mov esi, dword [ebp - 0x1c]
lea ecx, [ebp - 4]
push ecx
push esi
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call eax
test eax, eax
jne 0x41c176
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0xc]
mov edx, eax
shl edx, 2
mov esi, ecx
cmp dword [ecx + 0x14], 8
jb 0x41c14c
mov esi, dword [ecx]
mov eax, dword [ecx + 0x10]
lea eax, [esi + eax*2]
mov esi, ecx
jb 0x41c158
mov esi, dword [ecx]
sar edx, 1
sub eax, esi
push edx
push dword [ebp - 0x1c]
sar eax, 1
push 0
push eax
call fcn.00421130
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret