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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4af7ae
mov eax, dword fs:[0]
push eax
sub esp, 0x90
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x70]
push 0
push eax
mov dword [ebp - 0x84], 0
call fcn.004089b0
mov dword [ebp - 4], 0
push eax
call fcn.0046ba00
add esp, 4
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00402b30
push 0xffffffffffffffff
push 5
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.004089b0
mov dword [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x98], edi
xor eax, eax
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 3
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x48]
sub eax, ecx
mov dword [ebp - 0x80], ecx
cmp eax, 1
jb 0x469917
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov esi, 7
mov dword [ebp - 0x18], edi
cmovae eax, dword [ebp - 0x58]
xorps xmm0, xmm0
inc ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x28]
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x7c], eax
movups xmmword [ebp - 0x28], xmm0
cmp ecx, esi
jbe 0x469634
mov esi, ecx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x469612
mov esi, SysReAllocString
jmp 0x46961c
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x28]
call fcn.004029b0
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x80]
add esi, esi
mov dword [ebp - 0x18], ecx
push esi
push dword [ebp - 0x8c]
push eax
call fcn.0047eed0
mov eax, dword [ebp - 0x7c]
mov ecx, 0x5c
xor edx, edx
add esp, 0xc
mov word [esi + eax], cx
mov esi, 1
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], esi
mov word [eax + ecx*2 + 2], dx
mov edx, dword [ebp - 0x78]
add edx, 0xb4
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x80], ecx
jb 0x46968b
mov edx, dword [edx]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x7c]
cmp ecx, eax
ja 0x4696d8
mov eax, dword [ebp - 0x7c]
lea esi, [ebp - 0x28]
add eax, ecx
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], eax
cmovae esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x7c]
lea ecx, [esi + eax*2]
mov eax, dword [ebp - 0x80]
add eax, eax
push eax
push edx
push ecx
call fcn.0047eed0
mov eax, dword [ebp - 0x80]
add esp, 0xc
add eax, dword [ebp - 0x7c]
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x28]
lea esi, [ecx + 1]
jmp 0x4696e6
push ecx
push edx
push dword [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00406590
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
or esi, 2
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x40]
mov dword [ebp - 0x84], esi
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x40]
xor edx, edx
push ecx
push 0x2011f
push edx
push eax
push dword [ebp - 0x88]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46976c
mov edi, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], edi
mov dword [ebp - 0x94], 0x100
and esi, 0xfffffffd
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x4697b3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4697a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46991c
push ecx
push edx
call fcn.0047dc2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
and esi, 0xfffffffe
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x46980e
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x469804
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46991c
push ecx
push edx
call fcn.0047dc2a
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
test edi, edi
jne 0x46982e
mov byte [ebp - 0x71], al
jmp 0x4698c5
cmp byte [ebp + 0x10], al
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 2
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x78], 4
push eax
push 0
je 0x46987c
push 0x4e5f76
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x80]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push 0
push str.LoadBehavior
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4698bf
push str.LoadBehavior
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 0x80]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x78]
push eax
push 4
push 0
push 0x4e5f76
push edi
call esi
push 4
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 4
push 0
push str.LoadBehavior
push edi
call esi
test eax, eax
sete byte [ebp - 0x71]
mov byte [ebp - 4], 1
test edi, edi
je 0x4698de
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00402b30
mov al, byte [ebp - 0x71]
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 0xc
call fcn.00402890
call fcn.00482fbf
int3