Function at 0x41abe8
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x4467a4]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xb0]
cmp byte [eax + 0xc], 0
je 0x41ae57
lea eax, [esp + 0x14]
xor ebx, ebx
push eax
inc ebx
push ebx
push 0
push 0x403708
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ae57
mov edi, 0x44609c
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 4
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push dword [edi]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ac78
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x1c]
push dword [edi + 4]
call fcn.0041b2f8
test eax, eax
jne 0x41ace0
add edi, 8
cmp edi, 0x4460cc
jb 0x41ac3b
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x30
push eax
lea eax, [esp + 0x20]
xor edi, edi
push eax
push edi
push edi
push 0x403768
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ae4d
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41acf4
cmp eax, 3
je 0x41acf4
test eax, eax
je 0x41acf4
cmp eax, 2
je 0x41acf4
mov ecx, dword [esi + 0xb0]
push ebx
push edi
push 6
call fcn.0041b2f8
test eax, eax
je 0x41ad2e
mov edx, 0x19c
jmp 0x41ace5
mov edx, 0x184
push eax
push ecx
mov ecx, dword [ebp + 4]
call fcn.0041aedf
jmp 0x41ae59
mov ecx, dword [esi + 0xb0]
push ebx
push dword [eax*4 + 0x403778]
push 7
call fcn.0041b2f8
test eax, eax
je 0x41ad14
mov edx, 0x197
jmp 0x41ace5
mov ecx, dword [esi + 0xb0]
push ebx
push ebx
push 6
call fcn.0041b2f8
test eax, eax
je 0x41ad2e
mov edx, 0x198
jmp 0x41ace5
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x40]
push 8
call fcn.0041b2f8
test eax, eax
je 0x41ad4b
mov edx, 0x19e
jmp 0x41ace5
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x44]
push 9
call fcn.0041b2f8
test eax, eax
je 0x41ad6b
mov edx, 0x19f
jmp 0x41ace5
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esi + 0xb0]
push ebx
push eax
push 0xa
call fcn.0041b2f8
test eax, eax
je 0x41ad90
mov edx, 0x1a0
jmp 0x41ace5
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov ecx, dword [esi + 0xb0]
push ebx
push eax
push 0xb
call fcn.0041b2f8
test eax, eax
je 0x41adb5
mov edx, 0x1a1
jmp 0x41ace5
cmp dword [esp + 0x2c], edi
je 0x41addb
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x30]
push 0xc
call fcn.0041b2f8
test eax, eax
je 0x41ae01
mov edx, 0x1a8
jmp 0x41ace5
cmp dword [esp + 0x34], edi
je 0x41ae01
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x38]
push 0xc
call fcn.0041b2f8
test eax, eax
je 0x41ae01
mov edx, 0x1ad
jmp 0x41ace5
cmp dword [esp + 0x30], edi
je 0x41ae27
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x34]
push 0xd
call fcn.0041b2f8
test eax, eax
je 0x41ae4d
mov edx, 0x1b1
jmp 0x41ace5
cmp dword [esp + 0x38], edi
je 0x41ae4d
mov ecx, dword [esi + 0xb0]
push ebx
push dword [esp + 0x3c]
push 0xd
call fcn.0041b2f8
test eax, eax
je 0x41ae4d
mov edx, 0x1b5
jmp 0x41ace5
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004406d0
mov esp, ebp
pop ebp
ret