Function at 0x4c2560
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x726171
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x83e264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14c], edx
mov edi, ecx
mov dword [ebp - 0x150], edi
mov dword [ebp - 4], 1
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x138], 0
cmovae edx, dword [ebp + 8]
mov ecx, edx
movlpd qword [ebp - 0x120], xmm0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c25e2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x138]
call fcn.00489500
mov eax, dword [ebp - 0x14c]
lea edx, [ebp - 0x118]
push edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x138]
or eax, 0x20019
mov dword [ebp - 0x118], 0
cmp dword [ebp - 0x124], 0x10
push eax
cmovae ecx, dword [ebp - 0x138]
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c264d
xor esi, esi
xor edi, edi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x11c], edi
jmp 0x4c2670
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x120]
push dword [ebp - 0x118]
call fcn.004c2e10
mov edi, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x120]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x4c26ae
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c26a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c29ad
push edx
push ecx
call fcn.0051def4
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
test esi, esi
je 0x4c2913
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4c26f4
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x4c26f4
push 0x5c
lea ecx, [ebp + 8]
call fcn.00488ac0
xorps xmm0, xmm0
mov dword [ebp - 0x124], 0
xor esi, esi
movq qword [ebp - 0x12c], xmm0
xor edi, edi
mov dword [ebp - 0x13c], 0x104
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x124], esi
lea eax, [ebp - 0x148]
mov byte [ebp - 4], 5
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x118], esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x4c28b2
mov edi, esi
nop dword [eax]
nop word [eax + eax]
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x158], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c27a0
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x168]
call fcn.00489500
mov byte [ebp - 4], 6
cmp esi, edi
je 0x4c2806
movups xmm0, xmmword [ebp - 0x168]
mov dword [esi], 0
mov eax, 0xf
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov byte [ebp - 0x168], 0
movq xmm0, qword [ebp - 0x158]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x128], esi
jmp 0x4c282b
lea eax, [ebp - 0x168]
push eax
push esi
lea ecx, [ebp - 0x12c]
call fcn.00494c00
mov esi, dword [ebp - 0x128]
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x124]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x4c2865
mov ecx, dword [ebp - 0x168]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c285b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c29b2
push edx
push ecx
call fcn.0051def4
add esp, 8
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x148]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x104
push ecx
lea ecx, [ebp - 0x114]
inc eax
push ecx
push eax
push dword [ebp - 0x120]
mov dword [ebp - 0x118], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4c2770
mov edi, dword [ebp - 0x12c]
cmp edi, esi
je 0x4c2902
nop word [eax + eax]
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp + 0x44]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x140], eax
test ecx, ecx
je 0x4c29b7
mov eax, dword [ecx]
lea edx, [ebp - 0x118]
push edx
push edi
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x140]
push edx
call dword [eax + 8]
add edi, 0x18
cmp edi, esi
jne 0x4c28c0
lea ecx, [ebp - 0x12c]
call fcn.004892f0
mov edi, dword [ebp - 0x11c]
test edi, edi
je 0x4c2938
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4c2938
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4c2938
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x4c2968
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4c295e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c29b2
push edx
push ecx
call fcn.0051def4
add esp, 8
mov ecx, dword [ebp + 0x44]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
test ecx, ecx
je 0x4c2992
mov edx, dword [ecx]
lea eax, [ebp + 0x20]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.0051deb6
mov esp, ebp
pop ebp
ret
call fcn.0052981f
call fcn.0052981f
call fcn.0051a0b0
int3