Function at 0x4724e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f0ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
je 0x47252c
mov ecx, dword [eax - 4]
lea esi, [eax - 4]
push 0x4118f0
push ecx
push 0x20
push eax
call fcn.004be265
push esi
call fcn.004e2519
add esp, 4
mov eax, dword [ebx + 0x10]
cmp eax, edi
je 0x47253c
push eax
call fcn.004e2519
add esp, 4
lea esi, [ebx + 0x14]
push 0x55c888
mov ecx, esi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 8], edi
mov dword [ebp - 0x24], edi
call fcn.004e1fbe
mov edx, dword [ebp + 8]
mov ecx, esi
push edx
call fcn.004e2218
mov esi, dword [esi]
lea eax, [ebp - 0x1c]
push eax
push esi
push SysFreeString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x472864
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edi
push edx
push edi
push 0x564360
push eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0x14]
cmp eax, edi
jbe 0x47285a
push eax
mov dword [ebp - 4], edi
call fcn.004e24f0
add esp, 4
lea ecx, [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push esi
push edx
push edi
push 0x564360
push eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 0x20], 3
jne 0x472851
lea edx, [ebp + 8]
lea ecx, [esi + 8]
push edi
push edx
mov dword [ebp + 8], ecx
call fcn.00472240
mov dword [ebx], eax
lea eax, [ebp + 8]
push edi
push eax
call fcn.00472240
lea ecx, [ebp + 8]
push edi
push ecx
mov dword [ebx + 4], eax
call fcn.00472240
mov edi, eax
add esp, 0x18
test edi, edi
mov dword [ebx + 8], edi
jle 0x4726af
mov edx, edi
mov dword [ebp - 4], 2
shl edx, 5
add edx, 4
push edx
call fcn.004e24f0
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x47265d
push 0x4118f0
mov dword [eax], edi
push 0x4156a0
add eax, 4
push edi
push 0x20
push eax
mov dword [ebp - 0x2c], eax
call fcn.004be359
mov eax, dword [ebp - 0x2c]
jmp 0x47265f
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
shl eax, 2
push eax
mov byte [ebp - 4], 2
call fcn.004e24f0
mov ecx, dword [ebx + 8]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4726a8
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, dword [ebx + 8]
jge 0x472851
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x472851
mov edx, dword [ebp - 0x14]
lea eax, [edx + esi]
mov esi, ecx
push eax
lea eax, [ebp + 8]
push eax
shl esi, 5
call fcn.00472240
mov ecx, dword [ebx + 0xc]
mov dword [esi + ecx], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + edx]
add edi, eax
lea eax, [ebp + 8]
push edi
push eax
call fcn.00472240
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 4], eax
call fcn.00472260
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 8], ax
call fcn.00472260
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0xa], ax
call fcn.00472240
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 0xc], eax
call fcn.00472260
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0x10], ax
call fcn.00472260
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0x12], ax
call fcn.00472260
mov ecx, dword [ebx + 0xc]
add esp, 0x40
mov dword [ebp - 0x24], 0
mov word [esi + ecx + 0x14], ax
mov edx, dword [ebx + 0xc]
push edi
test byte [esi + edx + 0xa], 4
je 0x47278a
lea eax, [ebp + 8]
push eax
call fcn.00472360
jmp 0x472793
lea edx, [ebp + 8]
push edx
call fcn.00472290
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [esi + ecx + 0x1c], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + edx + 0x1c]
test eax, eax
je 0x4727c1
push 0x56435c
push eax
call fcn.004be950
add esp, 8
test eax, eax
je 0x4727c1
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp + 8]
mov eax, 0x564354
inc ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ecx]
mov ecx, dword [eax]
cmp edx, ecx
jne 0x4727df
add dword [ebp + 8], 0x14
jmp 0x4727e6
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4727fc
lea eax, [ebp + 8]
push edi
push eax
call fcn.00472360
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [esi + ecx + 0x18], eax
jmp 0x47281d
mov edx, dword [ebx + 0xc]
push edi
mov ecx, dword [esi + edx + 0x1c]
lea eax, [esi + edx]
lea edx, [ebp + 8]
push edx
mov dword [eax + 0x18], ecx
call fcn.00472290
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [esi + ecx + 0x1c], eax
mov edx, dword [ebx + 0xc]
mov esi, dword [esi + edx + 4]
test esi, esi
jl 0x472836
cmp esi, dword [ebx + 8]
jge 0x472836
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
inc eax
mov dword [ebp + 8], edi
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], eax
mov ecx, eax
jmp 0x4726b7
push esi
call fcn.004e2519
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4