Function at 0x479af0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caaad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x148
mov eax, dword [0x519100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x13c], eax
mov edi, ecx
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x138]
mov dword [ebp - 0x1c], 0x100
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push dword [ebx + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
jne 0x479c15
mov esi, dword [ebp - 0x1c]
lea edi, [ebp - 0x34]
shr esi, 1
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x138]
push esi
cmova edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
cmova edx, dword [ebp - 0x34]
sub edi, edx
push eax
sar edi, 1
push edi
call fcn.0040e880
mov esi, dword [ebp - 0x150]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x18]
xor eax, eax
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x34]
mov dword [esi + 0x14], 0
mov word [ebp - 0x34], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
call fcn.00423780
mov eax, esi
jmp 0x479d64
cmp edx, 0xea
je 0x479c5c
mov eax, dword [ebx + 8]
sub esp, 0x10
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x144], eax
mov eax, esp
mov dword [ebp - 0x140], ecx
mov ecx, edx
mov dword [ebp - 0x14c], str.Cannot_query_registry_value_size
mov dword [ebp - 0x148], 0
movups xmm0, xmmword [ebp - 0x14c]
movups xmmword [eax], xmm0
call fcn.00478940
add esp, 0x10
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x479d1b
xor esi, esi
nop dword [eax]
mov ecx, dword [ebp - 0x24]
shr eax, 1
cmp eax, ecx
ja 0x479c8f
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x24], eax
cmova ecx, dword [ebp - 0x34]
xor edx, edx
mov word [ecx + eax*2], dx
jmp 0x479c9c
sub eax, ecx
lea ecx, [ebp - 0x34]
push 0
push eax
call fcn.0040b1e0
cmp dword [ebp - 0x20], 7
lea ecx, [ebp - 0x1c]
push ecx
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x13c]
push 0
push dword [ebx + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 0xea
jne 0x479cdc
inc esi
cmp esi, 5
jge 0x479d82
mov eax, dword [ebp - 0x1c]
jmp 0x479c70
mov eax, dword [ebx + 8]
sub esp, 0x10
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x144], eax
mov eax, esp
mov dword [ebp - 0x140], ecx
mov ecx, edx
mov dword [ebp - 0x14c], str.Cannot_query_registry_value_data
mov dword [ebp - 0x148], 0
movups xmm0, xmmword [ebp - 0x14c]
movups xmmword [eax], xmm0
call fcn.00478940
add esp, 0x10
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
xor eax, eax
movups xmm0, xmmword [ebp - 0x34]
mov dword [edi + 0x14], 0
mov word [ebp - 0x34], ax
mov eax, dword [ebp - 0x18]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov dword [edi + 0x18], eax
call fcn.00423780
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048471b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea ecx, [ebx + 8]
call fcn.00441b60
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x14c]
lea eax, [ebp - 0x13c]
push eax
push 0x3e
push str.Cannot_query_registry_data_due_to__value_changed_too_often
call fcn.0047a070
push 0x516c08
lea eax, [ebp - 0x14c]
push eax
call fcn.00486900
int3