Function at 0x5527f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x110]
sub esp, 0x110
push 0xffffffffffffffff
push 0x5cb84d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x72cec4]
xor eax, ebp
mov dword [ebp + 0x10c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp + 0x118]
mov dword [ebp - 0x4c], ebx
mov eax, dword [eax]
mov dword [ebp - 0x50], ebx
test eax, eax
jne 0x55285a
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 2
jmp 0x552e01
mov edi, dword [ebp + 0x120]
xor ecx, ecx
cmp dword [ebp + 0x11c], ecx
mov dword [ebp - 0x44], ecx
cmove edi, ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
push 0
lea ecx, [ebp - 0x44]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x552840
mov eax, dword [ebp - 0x44]
cmp eax, 1
je 0x5528a3
cmp eax, 2
je 0x5528a3
cmp eax, 7
mov eax, dword [ebp - 0x20]
jne 0x5528ac
add eax, 4
jmp 0x5528a9
mov eax, dword [ebp - 0x20]
add eax, 2
mov dword [ebp - 0x20], eax
lea ecx, [ebp + 0xc]
mov dword [ebp], 0x100
mov esi, eax
mov dword [ebp + 4], 0
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 0
cmp esi, 0x100
jle 0x5528ed
push eax
call fcn.0059bac8
mov ecx, eax
add esp, 4
mov dword [ebp + 8], ecx
test ecx, ecx
je 0x552e28
mov eax, dword [ebp - 0x20]
mov dword [ebp], esi
mov dword [ebp + 4], esi
push eax
push 0
push ecx
mov dword [ebp - 4], 1
call fcn.00599af0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
mov eax, dword [ebp - 0x40]
push 0
push 0
push edi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne case.0x55292e.6
mov eax, dword [ebp - 0x44]
cmp eax, 0xb
ja case.0x55292e.6
jmp dword [eax*4 + 0x552e30]
cmp dword [ebp - 0x20], 0
lea eax, [ebp - 0x2c]
jbe 0x552961
push 0xffffffffffffffff
push dword [ebp + 8]
push eax
call fcn.004b6680
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004cba30
lea ecx, [ebp - 0x2c]
call fcn.004019e0
jmp 0x552dee
push eax
mov ecx, ebx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.004cba30
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x552dee
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x552dee
push 4
push 2
push dword [ebp - 0x2c]
call fcn.00461780
add esp, 0xc
jmp 0x552dee
cmp dword [ebp - 0x20], 0
jbe 0x552ceb
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 0xffffffffffffffff
push dword [ebp + 8]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.004b6680
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 3
lea ecx, [eax + 1]
mov dword [ebp - 0x40], ecx
test eax, eax
je 0x552c71
mov esi, dword [ebp - 0x10]
mov ecx, esi
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x48], ecx
test ebx, ebx
je 0x552ac9
cmp dword [ebx], 1
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
jg 0x552ac9
mov edi, dword [ebp - 0x14]
lea eax, [ebx + 0xf]
and eax, 0xfffffffc
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x3c], eax
mov ecx, edi
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebx + 8]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
sub eax, esi
je 0x552a80
lea eax, [esi + esi*2]
lea ecx, [edi + eax*4]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx], edi
mov dword [ecx + 8], eax
test edi, edi
je 0x552bfb
mov eax, 1
lock xadd dword [edi], eax
jmp 0x552bfb
test esi, esi
jne 0x552ac6
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x3c]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x552ac6
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
mov dword [ecx - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ecx - 0xc], edi
mov dword [ecx - 4], eax
test edi, edi
je 0x552abd
mov eax, 1
lock xadd dword [edi], eax
sub dword [ebp - 0x14], 0xc
jmp 0x552bfb
mov ecx, dword [ebp - 0x48]
movq xmm0, qword [ebp - 0x38]
mov edi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x30]
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
test edi, edi
je 0x552aef
mov eax, 1
lock xadd dword [edi], eax
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test esi, esi
je 0x552aff
test ecx, ecx
jne 0x552aff
mov al, 1
jmp 0x552b01
xor al, al
movzx edx, al
mov byte [ebp - 0x19], al
mov dword [ebp - 0x3c], edx
test ebx, ebx
je 0x552b87
cmp dword [ebx], 1
jg 0x552b84
cmp edx, 1
jne 0x552b32
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
add ecx, 0xf
and ecx, 0xfffffffc
mov eax, ebx
sub eax, ecx
cmp eax, 0xc
jl 0x552b6b
mov edi, dword [ebp - 0x38]
jmp 0x552b97
test al, al
jne 0x552b6b
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov ecx, ebx
lea eax, [esi + 0xf]
and eax, 0xfffffffc
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esi + 8]
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub eax, ecx
sub eax, dword [ebp - 0x10]
cmp eax, 1
jl 0x552b68
mov edi, dword [ebp - 0x38]
jmp 0x552b97
mov edx, dword [ebp - 0x3c]
push 0
push 1
push edx
lea ecx, [ebp - 0x18]
call fcn.00465a80
test al, al
je 0x552b81
mov edi, dword [ebp - 0x38]
jmp 0x552b94
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
push 0
push 1
push edx
lea ecx, [ebp - 0x18]
call fcn.00481ac0
mov ebx, dword [ebp - 0x14]
cmp byte [ebp - 0x19], 0
je 0x552bb2
mov eax, dword [ebp - 0x34]
mov dword [ebx - 8], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx - 0xc], edi
mov dword [ebx - 4], eax
sub dword [ebp - 0x14], 0xc
jmp 0x552be2
mov ecx, dword [ebp - 0x48]
lea eax, [ecx + ecx*2]
lea esi, [ebx + eax*4]
mov eax, dword [ebp - 0x10]
sub eax, ecx
lea eax, [eax + eax*2]
shl eax, 2
push eax
lea eax, [esi + 0xc]
push esi
push eax
call fcn.00599570
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esi], edi
mov dword [esi + 8], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 3
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x552c0d
cmp dword [eax], 1
mov edi, dword [ebp - 0x38]
jle 0x552c1b
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.00481ac0
mov byte [ebp - 4], 2
test edi, edi
je 0x552c41
or eax, 0xffffffff
lock xadd dword [edi], eax
cmp eax, 1
setne al
test al, al
jne 0x552c41
push 4
push 2
push edi
call fcn.00461780
add esp, 0xc
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x40]
push 0xffffffffffffffff
lea eax, [eax + edi*2]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004b6680
add esp, 0xc
mov eax, dword [ebp - 0x30]
inc edi
add edi, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], edi
test eax, eax
jne 0x552a05
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 0x38]
call fcn.004019e0
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004cb8a0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x552dee
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x552dee
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x552cd7
nop
mov ecx, dword [esi]
test ecx, ecx
je 0x552cd0
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x552cd0
push 4
push 2
push dword [esi]
call fcn.00461780
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x552cb0
push 4
push 0xc
push dword [ebp - 0x18]
call fcn.00461780
add esp, 0xc
jmp 0x552dee
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
mov ecx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
call fcn.004cb8a0
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x552dee
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x552dee
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
lea eax, [eax + eax*2]
lea edi, [esi + eax*4]
cmp esi, edi
je 0x552d5d
mov ecx, dword [esi]
test ecx, ecx
je 0x552d56
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp eax, 1
jne 0x552d56
push 4
push 2
push dword [esi]
call fcn.00461780
add esp, 0xc
add esi, 0xc
cmp esi, edi
jne 0x552d36
push 4
push 0xc
push dword [ebp - 0x2c]
call fcn.00461780
add esp, 0xc
jmp 0x552dee
cmp dword [ebp - 0x20], 0
jbe 0x552da1
mov eax, dword [ebp + 4]
cdq
sub eax, edx
sar eax, 1
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x2c]
push eax
call fcn.004b6680
add esp, 0xc
mov ecx, ebx
push eax
call fcn.004cba30
lea ecx, [ebp - 0x2c]
call fcn.004019e0
jmp 0x552dee
lea eax, [ebp - 0x2c]
jmp 0x552961
mov eax, dword [ebp + 8]
mov ecx, ebx
push dword [eax]
call fcn.004cbae0
jmp 0x552dee
mov eax, dword [ebp + 8]
mov ecx, ebx
mov eax, dword [eax]
bswap eax
push eax
call fcn.004cbae0
jmp 0x552dee
mov eax, dword [ebp + 8]
mov ecx, ebx
push dword [eax + 4]
push dword [eax]
call fcn.004cbe20
jmp 0x552dee
xorps xmm0, xmm0
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx + 0x10], 2
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
cmp eax, ecx
je 0x552e01
push eax
call fcn.0059bad3
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10c]
xor ecx, ebp
call fcn.00596709
lea esp, [ebp + 0x110]
pop ebp
ret 0xc
call fcn.0049fdc0
nop dword [eax]
jno 0x552e5f
push ebp
add byte [0x35005529], dh
sub dword [ebp], edx
jno 0x552e6b
push ebp
add byte [ecx - 0x48ffaad3], ch
sub eax, 0x2dd90055
push ebp
add byte [ebp - 0x26ffaad7], ch
sub eax, 0x2dd90055
push ebp
add cl, bl
sub eax, 0x2dc80055
push ebp
invalid