Function at 0x27557b90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x275a84f8
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x275ba2ec]
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
xor esi, esi
push esi
push 0x2751625c
lea eax, [ebp - 0x128]
push eax
push 0x275161f0
mov edi, ecx
lea ecx, [ebp - 0x11c]
push 2
push ecx
mov dword [ebp - 0x128], esi
call fcn.2753a320
add esp, 0x18
mov dword [ebp - 4], esi
mov dword [ebp - 0x144], esi
mov edx, dword [0x275bc8c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x275bc8c4
mov byte [ebp - 4], 1
call eax
add eax, 0x10
mov dword [ebp - 0x148], eax
xor ebx, ebx
mov dword [ebp - 0x150], ebx
mov dword [ebp - 0x154], esi
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x140], esi
push edi
mov dword [ebp - 0x15c], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x158], 1
lea ecx, [ebp - 0x120]
push ecx
push 0x20019
push esi
push 0x27516198
push SysReAllocString
mov byte [ebp - 4], 5
mov dword [ebp - 0x120], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x27557dd9
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x124]
push edx
push esi
push 0x2751617c
push eax
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x27557dd9
cmp dword [ebp - 0x124], 4
jne 0x27557dd9
mov eax, dword [ebp - 0x130]
push 1
push eax
lea ecx, [ebp - 0x154]
call fcn.27548520
mov ebx, dword [ebp - 0x150]
cmp ebx, esi
jne 0x27557cee
mov dword [ebp - 0x128], 0x8007000e
jmp 0x27557dd9
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x130]
push ecx
push ebx
lea edx, [ebp - 0x124]
push edx
push esi
push 0x2751617c
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x27557dd9
cmp dword [ebp - 0x124], 3
jne 0x27557dd9
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x134], esi
mov eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x120]
push edx
push eax
push ebx
mov ecx, 0x275bbad4
mov byte [ebp - 4], 6
mov dword [ebp - 0x12c], esi
mov dword [ebp - 0x120], esi
call fcn.2759f9a0
mov edx, dword [ebp - 0x120]
xor ecx, ecx
cmp edx, esi
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], esi
je 0x27557d9d
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x134], ecx
cmp eax, esi
jl 0x27557dce
shr ecx, 1
push ecx
mov ecx, dword [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x124]
call fcn.2753b920
push eax
lea ecx, [edi + 0x18]
mov byte [ebp - 4], 7
call fcn.27549570
lea ecx, [ebp - 0x124]
call fcn.2753a510
lea ecx, [ebp - 0x13c]
call fcn.2753a160
mov edx, dword [ebp - 0x128]
push edi
mov dword [ebp - 0x140], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp ebx, esi
je 0x27557df7
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x27557e1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x144]
cmp eax, esi
je 0x27557e2e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x11c]
mov dword [ebp - 4], 0xffffffff
call fcn.2753a430
mov eax, dword [ebp - 0x140]
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.2757f388
mov esp, ebp
pop ebp
ret