Function at 0x418e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce076
mov eax, dword fs:[0]
push eax
sub esp, 0x994
mov eax, dword [0x52cc80]
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 - 0x9a0], ecx
mov dword [ebp - 4], 0
mov eax, dword [0x52c6d8]
xor ebx, ebx
cmp byte [0x531d94], bl
mov ecx, 0x52c6d8
sete bl
add ebx, 0x80000001
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x990], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x988], 0
mov dword [ebp - 0x984], 0
mov dword [ebp - 0x980], 0
mov byte [ebp - 4], 5
mov esi, dword [0x531d90]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 8
jne 0x418f72
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x141]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a90f9
push eax
call fcn.004aa18b
add esp, 8
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x978], eax
mov byte [ebp - 4], 6
mov eax, 0x511460
test eax, 0xffff0000
jne 0x418fb5
movzx esi, ax
mov ecx, esi
call fcn.00401b90
test eax, eax
je 0x418fc5
push esi
push eax
lea ecx, [ebp - 0x978]
call fcn.00402900
jmp 0x418fc5
push 0x511460
lea ecx, [ebp - 0x978]
call fcn.00403540
mov byte [ebp - 4], 7
lea eax, [ebp - 0x978]
push eax
lea edx, [ebp - 0x990]
lea ecx, [ebp - 0x998]
call fcn.0040e9b0
mov byte [ebp - 4], 8
push 0x531f54
mov edx, eax
lea ecx, [ebp - 0x99c]
call fcn.0040e9b0
mov byte [ebp - 4], 9
push 0x5113f8
mov edx, eax
lea ecx, [ebp - 0x994]
call fcn.00417410
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x97c]
call fcn.0040e9b0
add esp, 0x10
mov byte [ebp - 4], 0xb
push 1
push dword [eax]
lea ecx, [ebp - 0x988]
push ebx
call fcn.00418210
test eax, eax
setne bl
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x97c]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x419064
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x994]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419087
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x99c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4190aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x998]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4190cd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x978]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4190f0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x419106
mov ebx, dword [ebp - 0x988]
mov byte [ebp - 0x971], 0
jmp 0x4192ce
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
mov dword [ebp - 0x98c], 0x400
call fcn.004aee10
mov ebx, dword [0x531d90]
mov eax, ebx
imul eax, ebx
imul eax, ebx
cdq
mov ecx, 0xc
idiv ecx
add esp, 0xc
xor esi, esi
cmp edx, 2
jne 0x419159
mov edi, ebx
lea ecx, [ecx]
inc esi
dec edi
cmp esi, 0x58
jb 0x419150
xor esi, esi
mov ebx, dword [ebp - 0x988]
nop
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x98c]
push eax
lea eax, [ebp - 0x810]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
inc esi
mov dword [ebp - 0x97c], esi
test edi, edi
je 0x419197
cmp edi, 0x103
jne 0x41929f
mov eax, dword [0x52c6d8]
mov ecx, 0x52c6d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x978], eax
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x810]
test eax, 0xffff0000
jne 0x4191db
movzx esi, ax
mov ecx, esi
call fcn.00401b90
test eax, eax
je 0x419202
push esi
push eax
lea ecx, [ebp - 0x978]
call fcn.00402900
jmp 0x419202
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4191e0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x978]
call fcn.00402690
mov byte [ebp - 4], 0x12
mov eax, dword [0x531d90]
imul eax, eax
cdq
mov ecx, 0xe
idiv ecx
cmp edx, 0xc
jne 0x419237
mov esi, 1
mov eax, esi
mov edx, 0x35
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x419227
mov dword [0x531d90], ecx
mov eax, dword [ebp - 0x978]
cmp dword [eax - 0xc], 0
je 0x419255
mov ecx, dword [ebp - 0x9a0]
lea eax, [ebp - 0x978]
push eax
call fcn.00419880
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
mov dword [ebp - 0x98c], 0x400
call fcn.004aee10
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x978]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419299
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x97c]
test edi, edi
je 0x419160
test ebx, ebx
je 0x4192ba
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov dword [ebp - 0x988], ebx
mov dword [ebp - 0x984], 0
mov byte [ebp - 0x971], 1
or esi, 0xffffffff
mov byte [ebp - 4], 2
test ebx, ebx
je 0x4192e7
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x988], 0
mov dword [ebp - 0x984], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x990]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x419314
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp + 8]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x419335
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x971]
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.004a992a
mov esp, ebp
pop ebp
ret