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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495e37
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x4a93dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
push edx
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4bc], ebx
mov word [ebp - 0x21c], cx
call fcn.00489020
mov eax, 7
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x4c8], 0x104
mov dword [ebp - 0x4c4], ebx
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x444], ebx
mov word [ebp - 0x454], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], dx
mov byte [ebp - 4], 1
mov dword [ebp - 0x45c], eax
xor eax, eax
mov word [ebp - 0x470], ax
push 8
mov eax, 0x4a3f7c
lea esi, [ebp - 0x470]
mov dword [ebp - 0x460], ebx
call fcn.00401d90
mov ecx, esi
push ecx
mov eax, 0x49a334
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 2
call fcn.00478670
push eax
mov eax, str.MintCastNetworks
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 3
call fcn.00478670
add esp, 8
mov edi, eax
lea esi, [ebp - 0x438]
mov byte [ebp - 4], 4
call fcn.00401a30
mov edi, 8
cmp dword [ebp - 0x478], edi
jb 0x47ac36
mov edx, dword [ebp - 0x48c]
push edx
call fcn.00480641
add esp, 4
xor eax, eax
mov esi, 7
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x47c], ebx
mov word [ebp - 0x48c], ax
cmp dword [ebp - 0x494], edi
jb 0x47ac67
mov ecx, dword [ebp - 0x4a8]
push ecx
call fcn.00480641
add esp, 4
xor edx, edx
mov byte [ebp - 4], 1
mov dword [ebp - 0x494], esi
mov dword [ebp - 0x498], ebx
mov word [ebp - 0x4a8], dx
cmp dword [ebp - 0x45c], edi
jb 0x47ac97
mov eax, dword [ebp - 0x470]
push eax
call fcn.00480641
add esp, 4
mov eax, dword [ebp - 0x438]
cmp dword [ebp - 0x424], edi
jae 0x47acab
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x4bc]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x47ae40
lea edx, [ebp - 0x4b8]
push edx
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x47ad24
cmp dword [ebp - 0x424], edi
jb 0x47acee
mov eax, dword [ebp - 0x438]
push eax
call fcn.00480641
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], cx
cmp dword [ebp - 0x440], edi
jb 0x47ad1a
mov edx, dword [ebp - 0x454]
push edx
call fcn.00480641
add esp, 4
mov eax, 1
jmp 0x47af20
push 0xff
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x4b8]
push ecx
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jne 0x47ad8e
cmp dword [ebp - 0x424], edi
jb 0x47ad58
mov edx, dword [ebp - 0x438]
push edx
call fcn.00480641
add esp, 4
xor eax, eax
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], ax
cmp dword [ebp - 0x440], edi
jb 0x47ad84
mov ecx, dword [ebp - 0x454]
push ecx
call fcn.00480641
add esp, 4
mov eax, 2
jmp 0x47af20
lea eax, [ebp - 0x41c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47ad97
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x41c]
lea esi, [ebp - 0x454]
call fcn.00401d90
mov eax, dword [ebp - 0x438]
cmp dword [ebp - 0x424], edi
jae 0x47adcc
lea eax, [ebp - 0x438]
lea edx, [ebp - 0x4bc]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x47af3e
mov eax, dword [ebp - 0x454]
cmp dword [ebp - 0x440], edi
jae 0x47adfb
lea eax, [ebp - 0x454]
mov ecx, dword [ebp - 0x444]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [ebp - 0x4bc]
push 1
push ebx
push str.GUID
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x47af3e
mov esi, dword [ebp - 0x4c0]
push ebx
lea ecx, [ebp - 0x454]
add esi, 0x4c
push ecx
or eax, 0xffffffff
mov ecx, esi
call fcn.00401aa0
jmp 0x47ae97
mov ecx, dword [ebp - 0x4bc]
lea edx, [ebp - 0x4c8]
push edx
lea eax, [ebp - 0x21c]
push eax
push ebx
push ebx
push str.GUID
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47af43
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x47ae73
mov esi, dword [ebp - 0x4c0]
sub eax, edx
sar eax, 1
push eax
add esi, 0x4c
lea eax, [ebp - 0x21c]
call fcn.00401d90
mov eax, dword [esi + 0x10]
push 0x49a07c
xor edi, edi
mov ecx, esi
call fcn.00402aa0
test eax, eax
jne 0x47aebe
push ebx
lea edx, [ebp - 0x454]
push edx
or eax, 0xffffffff
mov ecx, esi
call fcn.00401aa0
mov esi, 7
lea edi, [esi + 1]
mov eax, dword [ebp - 0x4bc]
cmp eax, ebx
je 0x47aed7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x424], edi
jb 0x47aeee
mov eax, dword [ebp - 0x438]
push eax
call fcn.00480641
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x428], ebx
mov word [ebp - 0x438], cx
cmp dword [ebp - 0x440], edi
jb 0x47af1a
mov edx, dword [ebp - 0x454]
push edx
call fcn.00480641
add esp, 4
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048014c
mov esp, ebp
pop ebp
ret 4
mov esi, 7
mov dword [ebp - 0x4c4], 3
jmp 0x47aec6