Function at 0x53d9a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c2916
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x71c56c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ecx, esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xfc], 0x2c
mov byte [edi], 0
mov eax, dword [esi + 8]
mov dword [ebp - 0xf0], eax
call fcn.0045e2f0
test al, al
je 0x53d9f8
xor ecx, ecx
jmp 0x53da05
mov eax, dword [esi + 4]
mov ecx, 0x5cebe4
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0xf0]
lea eax, [ebp - 0x11c]
push eax
call fcn.0048bbd0
mov eax, 0x5c
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov word [ebp - 0xf6], ax
lea eax, [ebp - 0x128]
push 0x682d70
push eax
call fcn.004ae6d0
add esp, 0x18
mov dword [ebp - 0x110], eax
lea ecx, [ebp - 0xf4]
lea eax, [ebp - 0xf6]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x108]
push eax
call fcn.004dc6e0
mov ecx, dword [ebp - 0x128]
or eax, 0xffffffff
test ecx, ecx
je 0x53dab1
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x53daae
push 4
push 2
push dword [ebp - 0x128]
call fcn.004597e0
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x53dadf
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x53dadf
push 4
push 2
push dword [ebp - 0x11c]
call fcn.004597e0
add esp, 0xc
mov ecx, dword [ebp - 0x104]
mov eax, dword [ebp - 0x100]
push 0
push 0x20019
sub esp, 8
mov edx, esp
push SysStringLen
mov dword [edx + 4], ecx
lea ecx, [ebp - 0xec]
mov dword [edx], eax
call fcn.0054a500
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x53dbc1
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x40
push ecx
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
push 0x682ea8
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x40
push eax
lea eax, [ebp - 0xe4]
push eax
push 0
push 0
push 0x682eb0
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push 0x682eb8
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x53dbc1
movups xmm0, xmmword [ebp - 0x30]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x38]
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], eax
movups xmm0, xmmword [ebp - 0x20]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
movups xmmword [ebp - 0x50], xmm0
mov byte [edi], 1
mov edi, dword [ebp + 8]
lea esi, [ebp - 0xe8]
mov ecx, 0x2b
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0xec]
call fcn.0054a540
mov ecx, dword [ebp - 0x108]
test ecx, ecx
je 0x53dc04
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x53dc04
push 4
push 2
push dword [ebp - 0x108]
call fcn.004597e0
add esp, 0xc
mov eax, dword [ebp + 8]
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.0058e709
mov esp, ebp
pop ebp
ret