Function at 0x544950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d4], 0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x633954]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x6338c0]
cmp eax, dword [ecx + 4]
jg 0x544c07
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x2b4], ax
xor esi, esi
mov dword [ebp - 0x2d0], eax
mov edi, 7
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2a4], esi
push eax
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2d4], 1
call fcn.005457e0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5449f2
mov eax, dword [eax]
lea ecx, [ebp - 0x2d0]
push ecx
push 0x20019
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x2b8]
mov ebx, eax
cmp edx, 8
jb 0x544a4e
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x544a44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x544c59
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 0x2b8], edi
mov word [ebp - 0x2cc], ax
test ebx, ebx
jne 0x544afe
push 0x20a
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x29c]
push ebx
push eax
mov dword [ebp - 0x2d8], 0x208
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2dc]
push eax
push ebx
push str.infoGUID
push dword [ebp - 0x2d0]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x544af2
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x544ac4
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0042daa0
mov edi, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x2a4]
push dword [ebp - 0x2d0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x6338bc]
cmp ecx, 8
jb 0x544b3d
mov eax, dword [0x6338a8]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x544b33
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x544c59
mov eax, edx
push ecx
push eax
call fcn.00546044
add esp, 8
mov eax, dword [ebp - 0x2b4]
mov dword [0x6338a8], eax
mov eax, dword [ebp - 0x2b0]
mov dword [0x6338ac], eax
mov eax, dword [ebp - 0x2ac]
mov dword [0x6338b0], eax
mov eax, dword [ebp - 0x2a8]
mov dword [0x6338b4], eax
mov dword [0x6338b8], esi
mov dword [0x6338bc], edi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x544be6
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x544be6
push 0x80
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x90]
push 0x40
push eax
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x544bc5
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x90]
push ecx
mov ecx, 0x6338a8
call fcn.0042daa0
mov eax, 0x6338a8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
push 0x6338c0
call fcn.00546388
add esp, 4
cmp dword [0x6338c0], 0xffffffff
jne 0x5449a8
xor eax, eax
mov dword [0x6338b8], 0
push 0x5aaa80
mov dword [0x6338bc], 7
mov word [0x6338a8], ax
call fcn.0054669a
push 0x6338c0
call fcn.0054633e
add esp, 8
jmp 0x5449a8
call fcn.00555394
int3