Function at 0xb2f090
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0xc8da1e
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0xcf16ec]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0xcf16ec]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], 0
push eax
mov ecx, esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], esi
mov byte [esp + 0x13], 0
call fcn.00ae0bc0
add esp, 4
xor eax, eax
mov dword [esp + 0x90], eax
cmp dword [esp + 0x40], 8
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
jae 0xb2f111
lea ecx, [esp + 0x2c]
mov eax, dword [edi + 0x60]
mov eax, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0
lea edx, [esp + 0x30]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0xb2f38e
mov eax, dword [esp + 0x14]
xor edx, edx
cmp eax, edx
je 0xb2f38e
mov ecx, dword [esp + 0x28]
dec ecx
cmp ecx, 0xa
ja case.0xb2f157.2
movzx ecx, byte [ecx + 0xb2f3e4]
jmp dword [ecx*4 + 0xb2f3d0]
cmp dword [esp + 0x40], 8
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
jae 0xb2f175
lea ecx, [esp + 0x2c]
mov eax, dword [edi + 0x60]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00b2ea70
test eax, eax
jne case.0xb2f157.2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
or dword [ebx + 0x34], 5
lea ecx, [esp + 0xf]
push ecx
push ebx
push esi
mov ecx, edi
mov dword [ebx + 8], 2
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], eax
call fcn.00b2fba0
mov byte [esp + 0xf], al
jmp case.0xb2f157.2
cmp dword [esp + 0x40], 8
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
jae 0xb2f1ce
lea ecx, [esp + 0x2c]
mov eax, dword [edi + 0x60]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00ae00c0
test eax, eax
jne case.0xb2f157.2
mov eax, dword [esp + 0x18]
or dword [ebx + 0x34], 5
lea edx, [esp + 0xf]
push edx
xor ecx, ecx
push ebx
mov dword [ebx + 0x14], ecx
push esi
mov ecx, edi
mov dword [ebx + 8], 2
mov dword [ebx + 0x10], eax
call fcn.00b2fba0
mov byte [esp + 0xf], al
jmp case.0xb2f157.2
shr eax, 1
mov dword [esp + 0x14], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00c17a7c
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x90], 3
cmp dword [esp + 0x40], 8
mov edx, dword [esp + 0x2c]
jae 0xb2f24d
lea edx, [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x60]
push edx
push ecx
lea edi, [esp + 0x1c]
mov esi, eax
call fcn.00ae0890
test eax, eax
jne 0xb2f2de
mov edx, dword [esp + 0x10]
or dword [ebx + 0x34], 1
lea esi, [esp + 0x48]
mov dword [ebx + 8], 4
call fcn.00ad1e50
lea edx, [esp + 0x64]
push edx
mov ecx, esi
mov byte [esp + 0x94], 5
call fcn.00ae0ad0
add esp, 4
push eax
mov esi, ebx
mov byte [esp + 0x94], 6
call fcn.00ae4310
lea ecx, [esp + 0x64]
mov byte [esp + 0x90], 5
call fcn.00b90ca0
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 3
call fcn.00ad4e90
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0xf]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00b2fba0
mov byte [esp + 0xf], al
mov byte [esp + 0x90], 0
mov edx, dword [esp + 0x10]
push edx
jmp 0xb2f361
push eax
call fcn.00c17a7c
mov edx, eax
add esp, 4
mov dword [esp + 0x10], edx
mov byte [esp + 0x90], 7
cmp dword [esp + 0x40], 8
mov ecx, dword [esp + 0x2c]
jae 0xb2f313
lea ecx, [esp + 0x2c]
mov eax, dword [edi + 0x60]
push ecx
push eax
lea eax, [esp + 0x1c]
mov ecx, edx
call fcn.00ae0860
test eax, eax
jne 0xb2f354
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
mov esi, ebx
call fcn.00bb9aa0
add esp, 4
test al, al
je 0xb2f354
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xf]
push ecx
push ebx
push edx
mov ecx, edi
call fcn.00b2fba0
mov byte [esp + 0xf], al
mov byte [esp + 0x90], 0
mov eax, dword [esp + 0x10]
push eax
call fcn.00c19081
add esp, 4
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0xb2f388
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.00c18a36
add esp, 4
mov al, byte [esp + 0xf]
jmp 0xb2f3af
mov dword [esp + 0x90], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0xb2f3ad
mov edx, dword [esp + 0x2c]
push edx
call fcn.00c18a36
add esp, 4
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.00c18a41
mov esp, ebp
pop ebp
ret