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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56475b
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x5be26c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, 0x6400
mov dword [ebp - 0x48c], ebx
mov eax, 0x6417
mov word [ebp - 0x428], cx
xor esi, esi
mov word [ebp - 0x426], ax
mov eax, 0x640a
mov word [ebp - 0x424], ax
mov eax, 0x641e
mov word [ebp - 0x422], cx
mov word [ebp - 0x420], ax
mov eax, 0x640f
mov word [ebp - 0x41e], ax
mov eax, 0x641b
mov word [ebp - 0x41c], ax
mov eax, 0x6420
mov word [ebp - 0x41a], ax
mov eax, 0x640b
mov word [ebp - 0x418], ax
mov eax, 0x6407
mov word [ebp - 0x416], ax
mov eax, 0x646d
mov word [ebp - 0x414], cx
mov dword [ebp - 0x490], ebx
mov ebx, 0xf
mov word [ebp - 0x412], ax
mov ax, word [ebp - 0x428]
mov ax, word [ebp + esi*2 - 0x428]
mov ecx, esi
and ecx, ebx
movzx edi, ax
cmp ecx, ebx
mov eax, 0x8a88645f
mov edx, 0x38137c2d
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [esi + 0x645f]
and cx, bx
xor cx, ax
xor cx, di
mov word [ebp + esi*2 - 0x428], cx
inc esi
cmp esi, 0xc
jb 0x45e391
mov eax, 0xfa43
mov edi, 0xfa42
mov word [ebp - 0x484], ax
mov ecx, 0xfa48
mov eax, 0xfa56
mov edx, 0xfa5d
mov word [ebp - 0x482], ax
mov esi, 0xfa47
mov eax, 0xfa55
mov word [ebp - 0x480], ax
mov eax, 0xfa41
mov word [ebp - 0x47e], ax
mov eax, 0xfa57
mov word [ebp - 0x47c], di
mov word [ebp - 0x47a], ax
mov eax, 0xfa6b
mov word [ebp - 0x478], cx
mov word [ebp - 0x476], dx
mov word [ebp - 0x474], si
mov word [ebp - 0x472], ax
mov eax, 0xfa4d
mov word [ebp - 0x470], ax
mov eax, 0xfa5e
mov word [ebp - 0x46e], cx
mov ecx, 0xfa45
mov word [ebp - 0x46c], ax
mov eax, 0xfa40
mov word [ebp - 0x46a], ax
mov eax, 0xfa59
mov word [ebp - 0x468], ax
mov eax, 0xfa46
mov word [ebp - 0x466], cx
mov word [ebp - 0x464], ax
mov eax, 0xfa7f
mov word [ebp - 0x462], dx
mov edx, 0xfa4c
mov word [ebp - 0x460], ax
mov eax, 0xfa72
mov word [ebp - 0x45e], ax
mov eax, 0xfa48
mov word [ebp - 0x45c], dx
mov word [ebp - 0x45a], ax
mov eax, 0xfa4e
mov word [ebp - 0x458], ax
mov eax, 0xfa5c
mov word [ebp - 0x456], si
mov word [ebp - 0x454], ax
mov eax, 0xfa14
mov word [ebp - 0x452], cx
mov word [ebp - 0x450], ax
mov eax, 0xfa75
mov word [ebp - 0x44e], ax
mov eax, 0xfa68
mov word [ebp - 0x44c], ax
mov eax, 0xfa63
mov word [ebp - 0x44a], ax
mov eax, 0xfa79
mov word [ebp - 0x448], ax
mov eax, 0xfa4f
mov word [ebp - 0x446], ax
mov eax, 0xfa4b
mov word [ebp - 0x444], di
mov word [ebp - 0x442], ax
mov eax, 0xfa56
mov word [ebp - 0x440], ax
mov eax, 0xfa5b
mov word [ebp - 0x43e], ax
mov eax, 0xfa41
mov word [ebp - 0x43c], ax
mov eax, 0xfa60
mov word [ebp - 0x43a], ax
mov eax, 0xfa5f
mov word [ebp - 0x438], ax
mov eax, 0xfa4a
mov word [ebp - 0x436], ax
mov eax, 0xfa48
mov word [ebp - 0x434], ax
mov eax, 0xfa2f
mov word [ebp - 0x432], ax
mov eax, 0xfa2b
mov word [ebp - 0x430], ax
mov ebx, dword [ebp - 0x490]
mov eax, 0xfa25
mov word [ebp - 0x42e], ax
xor edi, edi
mov word [ebp - 0x42c], dx
mov ax, word [ebp - 0x484]
nop dword [eax]
nop dword [eax + eax]
mov ax, word [ebp + edi*2 - 0x484]
mov ecx, edi
and ecx, 0xf
movzx esi, ax
cmp ecx, 0xf
mov eax, 0xf
mov edx, 0xcfbf9564
cmovae ecx, eax
mov eax, 0x67aefa17
shl ecx, 2
call fcn.0046c530
mov cx, ax
lea eax, [edi - 0x5e9]
and cx, 0xf
xor cx, ax
xor cx, si
mov word [ebp + edi*2 - 0x484], cx
inc edi
cmp edi, 0x2d
jb 0x45e5f0
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.005161d0
add esp, 0xc
mov dword [ebp - 0x48c], 1
lea eax, [ebp - 0x494]
mov dword [ebp - 0x494], 0x400
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x484]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea ecx, [ebp - 0x488]
test eax, eax
jne 0x45e6a9
lea eax, [ebp - 0x410]
push eax
jmp 0x45e6ae
push 0x577b60
call fcn.0040ad40
xor eax, eax
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
mov eax, dword [ebp - 0x488]
mov edx, eax
mov dword [ebp - 4], 0
lea esi, [edx + 2]
nop dword [eax + eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45e6e0
sub edx, esi
mov ecx, ebx
sar edx, 1
push edx
push eax
call fcn.004211e0
mov eax, dword [ebp - 0x488]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45e71d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c10d
mov esp, ebp
pop ebp
ret