Function at 0x46f350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0541
mov eax, dword fs:[0]
push eax
sub esp, 0x564
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x524], esi
mov ecx, dword [ebp + 8]
lea edx, [esi + 8]
xor edi, edi
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x518], edi
test ecx, ecx
jne 0x46f3b6
mov eax, edx
cmp dword [eax + 0x14], 8
jb 0x46f3a7
mov eax, dword [eax]
test eax, eax
jne 0x46f51c
xor al, al
jmp 0x46fb21
mov esi, ecx
lea eax, [esi + 2]
mov dword [ebp - 0x528], eax
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46f3c1
sub esi, dword [ebp - 0x528]
mov eax, dword [edx + 0x14]
sar esi, 1
mov dword [ebp - 0x520], eax
cmp esi, eax
ja 0x46f419
mov dword [ebp - 0x50c], edx
cmp eax, 8
jb 0x46f3f6
mov eax, dword [edx]
mov dword [ebp - 0x50c], eax
jmp 0x46f3f8
mov eax, edx
mov dword [edx + 0x10], esi
add esi, esi
push esi
push ecx
push eax
call fcn.0047eed0
mov eax, dword [ebp - 0x50c]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi], cx
jmp 0x46f516
cmp esi, 0x7ffffffe
ja 0x46fb3e
mov ecx, esi
or ecx, 7
cmp ecx, 0x7ffffffe
jbe 0x46f439
mov ecx, SysReAllocString
jmp 0x46f478
mov edi, dword [ebp - 0x518]
shr eax, 1
mov dword [ebp - 0x50c], eax
mov eax, SysReAllocString
sub eax, dword [ebp - 0x50c]
cmp dword [ebp - 0x520], eax
jbe 0x46f461
mov ecx, SysReAllocString
jmp 0x46f478
mov eax, dword [ebp - 0x520]
add eax, dword [ebp - 0x50c]
mov edi, dword [ebp - 0x518]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x50c], ecx
push eax
mov ecx, edx
call fcn.004029b0
mov edx, dword [ebp - 0x524]
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x510], eax
mov dword [edx + 0x18], esi
add esi, esi
push esi
push dword [ebp - 0x51c]
mov dword [edx + 0x1c], ecx
push eax
call fcn.0047eed0
mov eax, dword [ebp - 0x510]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi], cx
mov ecx, dword [ebp - 0x520]
cmp ecx, 8
jb 0x46f50d
mov esi, dword [ebp - 0x524]
lea ecx, [ecx*2 + 2]
mov eax, dword [esi + 8]
cmp ecx, 0x1000
jb 0x46f4f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fb43
mov eax, edx
push ecx
push eax
call fcn.0047dc2a
mov eax, dword [ebp - 0x510]
add esp, 8
mov dword [esi + 8], eax
jmp 0x46f516
mov ecx, dword [ebp - 0x524]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x51c]
xor esi, esi
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x538], esi
mov dword [ebp - 0x534], esi
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x510]
push ecx
push 0x2001f
push esi
push eax
push SysReAllocString
mov dword [ebp - 0x510], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46faee
mov esi, dword [ebp - 0x510]
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x53c], esi
mov dword [ebp - 0x538], eax
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x528]
push eax
push 0
lea eax, [ebp - 0x50c]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push esi
mov dword [ebp - 0x50c], 0x40
mov dword [ebp - 0x51c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x46fae5
xorps xmm0, xmm0
mov dword [ebp - 0x498], eax
lea esi, [ebp - 0x90]
mov dword [ebp - 0x494], eax
lea edx, [eax + 0xa]
movups xmmword [ebp - 0x4a8], xmm0
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x46f5e4
sub esi, ecx
sar esi, 1
cmp esi, 0x7ffffffe
ja 0x46fb3e
mov dword [ebp - 0x494], 7
cmp esi, 8
jae 0x46f639
mov dword [ebp - 0x498], esi
lea eax, [ebp - 0x90]
add esi, esi
push esi
push eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.0047eed0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x4a8], ax
jmp 0x46f69e
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x46f64c
mov eax, SysReAllocString
jmp 0x46f652
cmp eax, 0xa
cmovb eax, edx
mov dword [ebp - 0x510], eax
lea ecx, [ebp - 0x4a8]
inc eax
push eax
call fcn.004029b0
mov edi, eax
mov dword [ebp - 0x498], esi
mov eax, dword [ebp - 0x510]
add esi, esi
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x90]
push esi
push eax
push edi
mov dword [ebp - 0x4a8], edi
call fcn.0047eed0
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [ebp - 0x518]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4a8]
mov ecx, dword [ebp - 0x524]
push eax
lea eax, [ebp - 0x568]
push eax
call fcn.00450170
mov esi, dword [ebp - 0x560]
mov dword [ebp - 0x510], esi
cmp byte [esi + 0xd], 0
jne 0x46f6fa
cmp dword [esi + 0x24], 8
lea ecx, [esi + 0x10]
jb 0x46f6d8
mov ecx, dword [ecx]
cmp dword [ebp - 0x494], 8
lea eax, [ebp - 0x4a8]
push ecx
cmovae eax, dword [ebp - 0x4a8]
push eax
call fcn.0048cccb
add esp, 8
test eax, eax
jns 0x46f708
mov eax, dword [ebp - 0x524]
mov esi, dword [eax]
mov dword [ebp - 0x510], esi
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x494]
cmp ecx, 8
jb 0x46f74c
mov edx, dword [ebp - 0x4a8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46f742
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fb43
push ecx
push edx
call fcn.0047dc2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x498], 0
mov word [ebp - 0x4a8], ax
mov eax, dword [ebp - 0x524]
mov dword [ebp - 0x494], 7
cmp esi, dword [eax]
mov eax, dword [ebp - 0x51c]
mov dword [ebp - 0x520], eax
jne 0x46f9ee
mov esi, dword [ebp - 0x528]
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x558]
call fcn.004026f0
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x4cc], xmm0
xor eax, eax
mov dword [ebp - 0x4bc], 0
movups xmm0, xmmword [ebp - 0x558]
mov dword [ebp - 0x4b8], 0
mov word [ebp - 0x558], ax
movups xmmword [ebp - 0x4cc], xmm0
movq xmm0, qword [ebp - 0x548]
movq qword [ebp - 0x4bc], xmm0
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x544], 7
mov byte [ebp - 4], 3
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4b0], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x4ac], eax
mov byte [ebp - 4], 5
push eax
call fcn.0047df9a
mov esi, eax
add esp, 4
test esi, esi
je 0x46f83e
push dword [ebp - 0x520]
push 0
push esi
call fcn.0047f8f0
add esp, 0xc
jmp 0x46f840
xor esi, esi
or edi, 1
mov dword [ebp - 0x540], esi
mov dword [ebp - 0x518], edi
and edi, 0xfffffffe
mov dword [ebp - 0x540], 0
mov dword [ebp - 0x4b0], esi
mov dword [ebp - 0x518], edi
mov byte [ebp - 4], 4
lea eax, [ebp - 0x490]
push dword [ebp - 0x520]
push eax
push esi
call fcn.0047eed0
add esp, 0xc
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x544]
cmp ecx, 8
jb 0x46f8c6
mov edx, dword [ebp - 0x558]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46f8bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fb43
push ecx
push edx
call fcn.0047dc2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x548], 0
mov dword [ebp - 0x544], 7
mov word [ebp - 0x558], ax
mov byte [ebp - 4], 6
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x508]
call fcn.004026f0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x4cc]
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00451960
mov byte [ebp - 4], 9
lea eax, [ebp - 0x508]
mov ecx, dword [ebp - 0x524]
push eax
lea eax, [ebp - 0x570]
push eax
call fcn.00450690
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4f0]
mov dword [ebp - 0x55c], eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x4d4]
test eax, eax
je 0x46f953
push eax
call fcn.0047dfa3
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x4f0]
call fcn.00402b30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x508]
call fcn.00402b30
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x4b0]
test eax, eax
je 0x46f988
push eax
call fcn.0047dfa3
add esp, 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x4b8]
cmp ecx, 8
jb 0x46f9cc
mov edx, dword [ebp - 0x4cc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x46f9c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46fb43
push ecx
push edx
call fcn.0047dc2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 7
mov word [ebp - 0x4cc], ax
jmp 0x46faa7
mov dword [esi + 0x48], eax
mov byte [ebp - 4], 0x10
push eax
call fcn.0047df9a
mov edi, eax
add esp, 4
test edi, edi
je 0x46fa17
push dword [ebp - 0x520]
push 0
push edi
call fcn.0047f8f0
add esp, 0xc
jmp 0x46fa19
xor edi, edi
mov esi, edi
lea edx, [ebp - 0x52c]
mov dword [ebp - 0x52c], esi
mov ecx, dword [ebp - 0x518]
or ecx, 2
mov dword [ebp - 0x518], ecx
mov eax, dword [ebp - 0x510]
add eax, 0x44
mov dword [ebp - 0x510], eax
cmp eax, edx
je 0x46fa6a
xor esi, esi
mov dword [ebp - 0x52c], esi
mov edx, dword [eax]
mov dword [eax], edi
xor edi, edi
test edx, edx
je 0x46fa6a
push edx
call fcn.0047dfa3
mov ecx, dword [ebp - 0x518]
add esp, 4
and ecx, 0xfffffffd
mov dword [ebp - 0x518], ecx
mov byte [ebp - 4], 0
test edi, edi
je 0x46fa84
push esi
call fcn.0047dfa3
add esp, 4
push dword [ebp - 0x520]
lea eax, [ebp - 0x490]
push eax
mov eax, dword [ebp - 0x510]
push dword [eax]
call fcn.0047eed0
mov edi, dword [ebp - 0x518]
add esp, 0xc
mov eax, dword [ebp - 0x530]
lea ecx, [ebp - 0x51c]
mov esi, dword [ebp - 0x53c]
inc eax
push ecx
lea ecx, [ebp - 0x490]
mov dword [ebp - 0x530], eax
push ecx
lea ecx, [ebp - 0x528]
push ecx
push 0
lea ecx, [ebp - 0x50c]
push ecx
lea ecx, [ebp - 0x90]
push ecx
push eax
jmp 0x46f59f
mov byte [ebp - 0x511], 1
jmp 0x46faf5
mov byte [ebp - 0x511], 0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x46fb11
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x53c], 0
mov al, byte [ebp - 0x511]
mov dword [ebp - 0x538], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 4
call fcn.00402890
call fcn.00482fbf
int3