Function at 0x545990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca936
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x72cec4]
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.00466290
test al, al
je 0x5459e8
xor ecx, ecx
jmp 0x5459f5
mov eax, dword [esi + 4]
mov ecx, 0x5e4db8
test eax, eax
cmovne ecx, eax
push ecx
push dword [ebp - 0xf0]
lea eax, [ebp - 0x11c]
push eax
call fcn.00493b80
mov eax, 0x5c
mov dword [ebp - 4], 0
push 0xffffffffffffffff
mov word [ebp - 0xf6], ax
lea eax, [ebp - 0x128]
push 0x698f40
push eax
call fcn.004b6680
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.004e46c0
mov ecx, dword [ebp - 0x128]
or eax, 0xffffffff
test ecx, ecx
je 0x545aa1
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x545a9e
push 4
push 2
push dword [ebp - 0x128]
call fcn.00461780
add esp, 0xc
or eax, 0xffffffff
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x545acf
lock xadd dword [ecx], eax
cmp eax, 1
setne al
test al, al
jne 0x545acf
push 4
push 2
push dword [ebp - 0x11c]
call fcn.00461780
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.00552500
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x545bb1
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf0], 0x40
push ecx
lea ecx, [ebp - 0x90]
push ecx
push 0
push 0
push 0x699078
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 0x699080
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 0x699088
push dword [ebp - 0xec]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x545bb1
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.00552540
mov ecx, dword [ebp - 0x108]
test ecx, ecx
je 0x545bf4
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x545bf4
push 4
push 2
push dword [ebp - 0x108]
call fcn.00461780
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.00596709
mov esp, ebp
pop ebp
ret