Function at 0x40b10d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x118
lea ebp, [esp - 4]
mov eax, dword [0x463060]
xor eax, ebp
mov dword [ebp + 0x118], eax
push 0xb0
mov eax, 0x44fa40
call fcn.0042ec8d
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], 2
call fcn.004036d5
lea eax, [ebp + 0x124]
push eax
lea esi, [ebp - 0x68]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
call fcn.0040268b
push 7
pop eax
xor ecx, ecx
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp + 0xdc], eax
mov dword [ebp + 0xd8], ebx
mov word [ebp + 0xc8], cx
mov dword [ebp + 0x114], eax
xor eax, eax
mov dword [ebp + 0x110], ebx
mov word [ebp + 0x100], ax
mov eax, esi
push eax
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.0040268b
push str.HKEY_CLASSES_ROOT
lea esi, [ebp + 0x70]
mov byte [ebp - 4], 6
call fcn.0040216b
push str.HKEY_CURRENT_USER
lea esi, [ebp + 0x1c]
mov byte [ebp - 4], 7
call fcn.0040216b
push str.HKEY_LOCAL_MACHINE
lea esi, [ebp]
mov byte [ebp - 4], 8
call fcn.0040216b
push str.HKEY_USERS
lea esi, [ebp + 0x38]
mov byte [ebp - 4], 9
call fcn.0040216b
push str.HKEY_PERFORMANCE_DATA
lea esi, [ebp + 0x54]
mov byte [ebp - 4], 0xa
call fcn.0040216b
push str.HKEY_CURRENT_CONFIG
lea esi, [ebp + 0x8c]
mov byte [ebp - 4], 0xb
call fcn.0040216b
push str.HKEY_DYN_DATA
lea esi, [ebp + 0xa8]
mov byte [ebp - 4], 0xc
call fcn.0040216b
push 0x5c
pop edi
lea eax, [ebp - 0x18]
push 1
mov byte [ebp - 4], 0xd
push eax
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x4c]
call fcn.0040419e
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp + 0xe0]
call fcn.00403754
push 1
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], edi
call fcn.0040419e
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp - 0x84]
call fcn.00403754
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xf
call fcn.004025ff
push ebx
push 1
mov byte [ebp - 4], 0xe
call fcn.004026e6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], edi
call fcn.00403782
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp - 0xa0]
call fcn.00403754
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0xfc]
mov byte [ebp - 4], 0x10
call fcn.004025ff
push ebx
push 1
mov byte [ebp - 4], 0xe
call fcn.004026e6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], edi
call fcn.00403782
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebp - 0xbc]
call fcn.00403754
push 0xffffffffffffffff
push ebx
lea ecx, [ebp + 0xc4]
mov byte [ebp - 4], 0x11
call fcn.004025ff
push ebx
push 1
mov byte [ebp - 4], 0xe
call fcn.004026e6
lea ecx, [ebp + 0xe0]
lea eax, [ebp + 0x70]
call fcn.004044f2
mov edi, SysReAllocString
test al, al
je 0x40b335
mov dword [ebp - 0x10], SysStringLen
jmp 0x40b3da
lea ecx, [ebp + 0xe0]
lea eax, [ebp + 0x1c]
call fcn.004044f2
test al, al
je 0x40b34f
mov dword [ebp - 0x10], edi
jmp 0x40b3da
lea ecx, [ebp + 0xe0]
lea eax, [ebp]
call fcn.004044f2
test al, al
je 0x40b36a
mov dword [ebp - 0x10], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x40b3da
lea ecx, [ebp + 0xe0]
lea eax, [ebp + 0x38]
call fcn.004044f2
test al, al
je 0x40b385
mov dword [ebp - 0x10], SysStringLen
jmp 0x40b3da
lea ecx, [ebp + 0xe0]
lea eax, [ebp + 0x54]
call fcn.004044f2
test al, al
je 0x40b3a0
mov dword [ebp - 0x10], SysStringLen
jmp 0x40b3da
lea ecx, [ebp + 0xe0]
lea eax, [ebp + 0x8c]
call fcn.004044f2
test al, al
je 0x40b3be
mov dword [ebp - 0x10], SysStringLen
jmp 0x40b3da
lea ecx, [ebp + 0xe0]
lea eax, [ebp + 0xa8]
call fcn.004044f2
test al, al
je 0x40b3da
mov dword [ebp - 0x10], reloc.OLEAUT32.dll_SysStringLen
push ebx
push 1
lea esi, [ebp + 0xe0]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp + 0xa8]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp + 0x8c]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp + 0x54]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp + 0x38]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp + 0x1c]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp + 0x70]
call fcn.004026e6
push ebx
push 1
lea esi, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.004026e6
cmp dword [ebp - 0x10], edi
jne 0x40b465
lea eax, [ebp - 0x10]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x40b465
mov dword [ebp - 0x10], edi
cmp dword [ebp + 0xdc], 8
mov eax, dword [ebp + 0xc8]
jae 0x40b47a
lea eax, [ebp + 0xc8]
lea ecx, [ebp - 0x1c]
push ecx
push 0x20019
push ebx
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40b524
cmp dword [ebp + 0x114], 8
mov eax, dword [ebp + 0x100]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
jae 0x40b4b1
lea eax, [ebp + 0x100]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x20]
push ecx
push ebx
lea ecx, [ebp - 0x18]
push ecx
push ebx
push eax
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x40b51b
cmp dword [ebp - 0x18], 1
jne 0x40b51b
push dword [ebp - 0x20]
call fcn.0042bc17
cmp dword [ebp + 0x114], 8
mov edi, eax
mov eax, dword [ebp + 0x100]
pop ecx
jae 0x40b4f1
lea eax, [ebp + 0x100]
lea ecx, [ebp - 0x20]
push ecx
push edi
lea ecx, [ebp - 0x18]
push ecx
push ebx
push eax
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x40b514
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x11], 1
jmp 0x40b51b
push edi
call fcn.0042cb0a
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
mov eax, SysReAllocString
and ecx, eax
cmp ecx, eax
je 0x40b53b
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp + 0xfc]
call fcn.004026e6
push ebx
push edi
lea esi, [ebp + 0xc4]
call fcn.004026e6
push ebx
push edi
lea esi, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.004026e6
cmp byte [ebp - 0x11], bl
je 0x40b58b
cmp dword [ebp - 0x24], ebx
je 0x40b59c
cmp dword [ebp - 0x2c], ebx
jbe 0x40b59c
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00402146
push dword [ebp - 0x24]
call fcn.0042cb0a
pop ecx
jmp 0x40b59c
mov ecx, dword [ebp - 0x28]
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x140]
call fcn.004025ff
push ebx
push edi
lea esi, [ebp + 0x124]
call fcn.004026e6
push ebx
push edi
lea esi, [ebp + 0x140]
call fcn.004026e6
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x118]
xor ecx, ebp
call fcn.0042bd77
add ebp, 0x11c
leave
ret