Function at 0x4c29c0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7261e1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
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 - 0x260], edx
mov edi, ecx
mov dword [ebp - 0x264], edi
mov dword [ebp - 4], 1
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 8
xorps xmm0, xmm0
mov dword [ebp - 0x25c], 0
cmovae edx, dword [ebp + 8]
xor eax, eax
mov ecx, edx
movlpd qword [ebp - 0x224], xmm0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov word [ebp - 0x25c], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2a44
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x25c]
call fcn.00481410
mov eax, dword [ebp - 0x260]
lea edx, [ebp - 0x244]
push edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x25c]
or eax, 0x20019
mov dword [ebp - 0x244], 0
cmp dword [ebp - 0x248], 8
push eax
cmovae ecx, dword [ebp - 0x25c]
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4c2ab7
xor edi, edi
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], edi
jmp 0x4c2ad4
push dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x244]
call fcn.004c2e10
mov edi, dword [ebp - 0x220]
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 4
call fcn.004813b0
cmp dword [ebp - 0x224], 0
je 0x4c2d2f
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4c2b14
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x4c2b14
push 0x5c
lea ecx, [ebp + 8]
call fcn.0049a9e0
xor eax, eax
mov dword [ebp - 0x22c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x228], 0x104
movq qword [ebp - 0x234], xmm0
xor esi, esi
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 5
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x228]
mov dword [ebp - 0x21c], esi
push eax
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4c2cbf
mov edi, dword [ebp - 0x224]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
lea edx, [ecx + 2]
mov word [ebp - 0x25c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c2bc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x25c]
call fcn.00481410
mov byte [ebp - 4], 6
cmp esi, dword [ebp - 0x22c]
je 0x4c2c41
movups xmm0, xmmword [ebp - 0x25c]
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x25c], ax
movq xmm0, qword [ebp - 0x24c]
movq qword [esi + 0x10], xmm0
add esi, 0x18
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 7
mov dword [ebp - 0x230], esi
jmp 0x4c2c5a
lea eax, [ebp - 0x25c]
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.004a4b60
mov esi, dword [ebp - 0x230]
lea ecx, [ebp - 0x25c]
mov byte [ebp - 4], 5
call fcn.004813b0
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x240]
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], 0x104
push ecx
lea ecx, [ebp - 0x218]
inc eax
push ecx
push eax
push edi
mov dword [ebp - 0x21c], eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4c2b90
mov edx, dword [ebp - 0x234]
mov edi, dword [ebp - 0x220]
mov dword [ebp - 0x244], edx
jmp 0x4c2cc1
xor edx, edx
cmp edx, esi
je 0x4c2d24
nop word [eax + eax]
mov eax, dword [ebp - 0x260]
mov ecx, dword [ebp + 0x44]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x238], eax
test ecx, ecx
je 0x4c2d8f
mov eax, dword [ecx]
lea edi, [ebp - 0x21c]
push edi
push edx
lea edx, [ebp + 8]
push edx
lea edx, [ebp - 0x238]
push edx
call dword [eax + 8]
mov edx, dword [ebp - 0x244]
mov edi, dword [ebp - 0x220]
add edx, 0x18
mov dword [ebp - 0x244], edx
cmp edx, esi
jne 0x4c2cd0
lea ecx, [ebp - 0x234]
call fcn.00482630
test edi, edi
je 0x4c2d54
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x4c2d54
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x4c2d54
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea ecx, [ebp + 8]
call fcn.004813b0
mov ecx, dword [ebp + 0x44]
test ecx, ecx
je 0x4c2d74
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.0051a0b0
int3