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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x103dda04]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe0], 0x456aa31a
lea eax, [ebp - 0x70]
mov dword [ebp - 0xdc], 0x94531149
mov dword [ebp - 0xd8], 0x7aec87e1
mov dword [ebp - 0xd4], 0xc1a4373c
mov dword [ebp - 0xd0], 0xbf536147
mov dword [ebp - 0xcc], 0xc8a0aaee
mov dword [ebp - 0xc8], 0x692bc5fe
mov dword [ebp - 0xc4], 0xb758589b
mov dword [ebp - 0xc0], 0x31c89973
mov dword [ebp - 0xbc], 0xfda70067
mov dword [ebp - 0xb8], 0xa1d52c66
mov dword [ebp - 0xb4], 0x78d11beb
mov dword [ebp - 0xb0], 0xec11eb2a
mov dword [ebp - 0xac], 0xc7b3ead9
mov dword [ebp - 0xa8], 0xde3c8e2d
mov dword [ebp - 0xa4], 0x25af8580
mov dword [ebp - 0xa0], 0x88982862
mov dword [ebp - 0x9c], 0x28d2db98
mov dword [ebp - 0x98], 0x9019bfe7
mov dword [ebp - 0x94], 0x36f321d6
movaps xmm1, xmmword [ebp - 0xe0]
mov dword [ebp - 0x60], 0x4525a349
mov dword [ebp - 0x5c], 0x9407110f
mov dword [ebp - 0x58], 0x7aad87b6
mov dword [ebp - 0x54], 0xc1e1376e
pxor xmm1, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0xe0], xmm1
movaps xmm1, xmmword [ebp - 0xd0]
mov dword [ebp - 0x50], 0xbf04611b
mov dword [ebp - 0x4c], 0xc8f7aaa1
mov dword [ebp - 0x48], 0x691fc5c8
mov dword [ebp - 0x44], 0xb76a58a8
pxor xmm1, xmmword [ebp - 0x50]
movaps xmmword [ebp - 0xd0], xmm1
movaps xmm1, xmmword [ebp - 0xc0]
mov dword [ebp - 0x40], 0x31a7993d
mov dword [ebp - 0x3c], 0xfdc20003
mov dword [ebp - 0x38], 0xa1822c3a
mov dword [ebp - 0x34], 0x78ab1b82
pxor xmm1, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0xc0], xmm1
movaps xmm1, xmmword [ebp - 0xb0]
push eax
push 0x2001f
mov dword [ebp - 0x30], 0xec65eb4f
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x2c], 0xc7feea85
mov dword [ebp - 0x28], 0xde4c8e4c
mov dword [ebp - 0x24], 0x25ca85ec
pxor xmm1, xmmword [ebp - 0x30]
movaps xmmword [ebp - 0xb0], xmm1
movaps xmm1, xmmword [ebp - 0xa0]
push 0
mov dword [ebp - 0x20], 0x88ec2831
mov dword [ebp - 0x1c], 0x28a0dbf7
mov dword [ebp - 0x18], 0x9019bf9e
mov dword [ebp - 0x14], 0x36f321d6
pxor xmm1, xmmword [ebp - 0x20]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [ebp - 0xa0], xmm1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1004e77c
lea eax, [ebp - 0x68]
mov dword [ebp - 0x80], 0x454ca33c
push eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0x7c], 0x94771140
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x78], 0x7a9d87c2
push eax
mov dword [ebp - 0x74], 0xc1e1376e
lea eax, [ebp - 0x80]
push 0
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 4
mov dword [ebp - 0x90], 0x4525a349
mov dword [ebp - 0x8c], 0x9407110f
mov dword [ebp - 0x88], 0x7aad87b6
mov dword [ebp - 0x84], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x80]
push eax
push dword [ebp - 0x70]
movaps xmmword [ebp - 0x80], xmm1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1004e773
cmp dword [ebp - 0x64], 4
jbe 0x1004e773
push 4
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
push eax
push 4
mov dword [ebp - 0x80], 0x454ca33c
lea eax, [ebp - 0x80]
mov dword [ebp - 0x7c], 0x94771140
mov dword [ebp - 0x78], 0x7a9d87c2
mov dword [ebp - 0x74], 0xc1e1376e
push 0
mov dword [ebp - 0x90], 0x4525a349
mov dword [ebp - 0x8c], 0x9407110f
mov dword [ebp - 0x88], 0x7aad87b6
mov dword [ebp - 0x84], 0xc1e1376e
movaps xmm1, xmmword [ebp - 0x90]
pxor xmm1, xmmword [ebp - 0x80]
push eax
push dword [ebp - 0x70]
movaps xmmword [ebp - 0x80], xmm1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b684e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret