Function at 0x40af09
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.0041c520
sub esp, 4
call fcn.0041c5a0
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
lea eax, [ebp + 8]
mov dword [esp], eax
call fcn.0041c600
sub esp, 8
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp + 0x10]
mov dword [esp], eax
call fcn.0041c600
sub esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xc], 0
mov eax, 0
mov edx, 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00408898
sub esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0x458fac
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.0041ca20
test eax, eax
je 0x40b091
mov eax, dword [0x45ff1c]
test eax, eax
je 0x40b04d
mov eax, dword [0x45ff0c]
mov dword [ebp - 0x24], eax
mov eax, dword [0x45fb20]
mov dword [ebp - 0x28], eax
mov eax, dword [0x45ff34]
or eax, 0xf003f
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xc], eax
nop
jmp 0x40b164
nop
mov eax, dword [0x45ff0c]
mov dword [ebp - 0x38], eax
mov eax, dword [0x45fb20]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyW
sub esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
jmp 0x40b164
nop
mov eax, dword [0x45ff0c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x10]
mov edx, eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.ADVAPI32.dll_RegConnectRegistryW
sub esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [0x45ff1c]
test eax, eax
je 0x40b12a
mov eax, dword [0x45fb20]
mov dword [ebp - 0x54], eax
mov eax, dword [0x45ff34]
or eax, 0xf003f
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x5c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x54]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyExW
sub esp, 0x14
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xc], eax
jmp 0x40b164
nop
mov eax, dword [0x45fb20]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x68]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x64]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegOpenKeyW
sub esp, 0xc
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40b28b
mov dword [ebp - 0x84], 0x400
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov edx, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0041ab60
sub esp, 8
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edx, dword [ebp - 0x74]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x70]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegEnumKeyExW
sub esp, 0x20
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40b26f
call fcn.0041c650
call fcn.0041c650
call fcn.0041c6a0
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp - 0x90]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.0041af10
sub esp, 0xc
call fcn.0041c6a0
mov dword [esp + 4], eax
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.0041c880
sub esp, 8
jmp 0x40b28c
nop
mov dword [esp + 4], 0x45ffb0
lea eax, [ebp - 0x94]
mov dword [esp], eax
call fcn.0041c940
sub esp, 8
jmp 0x40b28c
nop
mov eax, dword [ebp - 0x88]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
sub esp, 4
mov dword [ebp - 0x80], eax
call fcn.0041c650
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.0041c820
sub esp, 4
call fcn.0041c7a0
mov dword [ebp - 0x10], eax
nop
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x90]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x94]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0041c910
sub esp, 4
mov eax, dword [ebp - 0x10]
leave
ret 0x10