Function at 0x46a9f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660155
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x7000a8]
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 edx, 0x1a
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x40]
call fcn.004764f0
mov esi, eax
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x46aa40
mov esi, dword [esi]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], eax
call fcn.0044db80
mov ecx, eax
test ecx, ecx
je 0x46ac7d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00450950
test al, al
jne 0x46aa99
test esi, esi
jne 0x46aa79
xor ecx, ecx
jmp 0x46aa8f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46aa80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.00450c10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004520c0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edx, dword [ebp - 0x28]
or edi, 0xffffffff
mov esi, eax
add edx, 0xfffffff0
mov ecx, edi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x46aaef
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ab09
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x46ab4a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ab40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ac87
push ecx
push edx
call fcn.004b75c0
add esp, 8
test esi, esi
je 0x46ac5a
mov ebx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x58]
mov edx, 0x1a
call fcn.004764f0
mov esi, eax
mov dword [ebp - 4], 3
cmp dword [esi + 0x14], 8
jb 0x46ab73
mov esi, dword [esi]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.0044db80
mov ecx, eax
test ecx, ecx
je 0x46ac8c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00450950
test al, al
jne 0x46abca
test esi, esi
jne 0x46abac
xor ecx, ecx
jmp 0x46abc0
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46abb1
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00450c10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.004520c0
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], ebx
push eax
push 4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46ac0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x46ac24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x46ac5a
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46ac50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46ac96
push ecx
push edx
call fcn.004b75c0
add esp, 8
cmp dword [ebp - 0x1c], 0
setne al
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.004b75b2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0044d940
call fcn.004bccbf
push 0x80004005
call fcn.0044d940
call fcn.004bccbf
int3