Function at 0x555910
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3147
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x639354]
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 [0x643da0]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x643d18]
cmp eax, dword [ecx + 4]
jg 0x555bd4
xor eax, eax
mov dword [ebp - 0x2b4], 0
mov word [ebp - 0x2b4], ax
xor esi, esi
mov dword [ebp - 0x2d0], eax
mov edi, 7
lea eax, [ebp - 0x2cc]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x2a4], esi
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x2d4], 1
call fcn.0055aa10
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x5559bc
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 0x555a18
mov ecx, dword [ebp - 0x2cc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x555a0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x555c0a
push edx
push ecx
call fcn.0055c524
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 0x555aca
push 0x20a
mov dword [ebp - 0x2dc], eax
lea eax, [ebp - 0x29c]
push ebx
push eax
mov dword [ebp - 0x2d8], 0x208
call fcn.00560a80
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 0x555abe
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x555a90
sub ecx, edx
lea eax, [ebp - 0x29c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0042e330
mov edi, dword [ebp - 0x2a0]
mov esi, dword [ebp - 0x2a4]
push dword [ebp - 0x2d0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [0x6392d8]
cmp edx, 8
jb 0x555b0a
mov ecx, dword [0x6392c4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x555b00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x555c0f
push edx
push ecx
call fcn.0055c524
add esp, 8
mov eax, dword [ebp - 0x2b4]
mov dword [0x6392c4], eax
mov eax, dword [ebp - 0x2b0]
mov dword [0x6392c8], eax
mov eax, dword [ebp - 0x2ac]
mov dword [0x6392cc], eax
mov eax, dword [ebp - 0x2a8]
mov dword [0x6392d0], eax
mov dword [0x6392d4], esi
mov dword [0x6392d8], edi
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x555bb3
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x555bb3
push 0x80
lea eax, [ebp - 0x90]
push esi
push eax
call fcn.00560a80
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 0x555b92
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x90]
push ecx
mov ecx, 0x6392c4
call fcn.0042e330
mov eax, 0x6392c4
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.0055c3a9
mov esp, ebp
pop ebp
ret
push 0x643d18
call fcn.0055c868
add esp, 4
cmp dword [0x643d18], 0xffffffff
jne 0x555968
push 0x5b5f40
call fcn.0055cb7a
push 0x643d18
call fcn.0055c81e
add esp, 8
jmp 0x555968
call fcn.0056af64
call fcn.0056af64
int3