Function at 0x43be99
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x4ea7f1
call fcn.00446890
sub esp, 0x2a0
push ebx
push esi
push edi
mov al, byte [ebp + 0x1b]
xor esi, esi
push esi
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], esi
mov byte [ebp - 0x6c], al
call fcn.0040931c
mov edi, str.AcadLocation
push edi
call fcn.00447e90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x6c]
call fcn.0040979c
mov al, byte [ebp + 0x1b]
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], al
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov al, byte [ebp + 0x1b]
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
mov byte [ebp - 0x4c], al
call fcn.0040931c
mov edi, 0x513d38
push edi
call fcn.00447e90
pop ecx
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.0040979c
push 1
mov byte [ebp - 4], 3
pop ebx
cmp dword [ebp + 0x10], ebx
jb 0x43c1a2
mov edi, 0x513d34
lea eax, [ebp - 0x4c]
push edi
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00420beb
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00420c74
add esp, 0x18
push ebx
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.0040931c
mov eax, dword [ebp - 0x58]
cmp eax, esi
jne 0x43bf5f
mov eax, 0x4edffc
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c195
mov esi, 0x200
lea eax, [ebp - 0x2ac]
push esi
push eax
mov dword [ebp - 0x10], ebx
push 0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, 0x103
je 0x43bffd
mov al, byte [ebp + 0x1b]
push 0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 0x3c], al
call fcn.0040931c
lea eax, [ebp - 0x2ac]
push eax
call fcn.00447e90
pop ecx
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040979c
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x24]
push eax
mov byte [ebp - 4], 7
push dword [ebp - 0x1c]
call fcn.00413b51
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.0040931c
mov eax, dword [ebp - 0x10]
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x2ac]
push esi
push ecx
push eax
jmp 0x43bf8f
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43c193
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
sar ecx, 4
cmp ecx, ebx
jb 0x43c193
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x1c]
je 0x43c193
lea eax, [ebp - 0x4c]
push edi
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.00420beb
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00420c74
push edi
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 9
push eax
call fcn.00420beb
push dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00420c74
add esp, 0x30
push dword [0x4ee000]
xor esi, esi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
push esi
push eax
call fcn.004096be
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.0040931c
push ebx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 9
call fcn.0040931c
push ebx
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 8
call fcn.0040931c
push ebx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 6
call fcn.0040931c
mov eax, dword [ebp - 0x58]
cmp eax, esi
jne 0x43c0de
mov eax, 0x4edffc
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c160
mov eax, dword [ebp - 0x68]
cmp eax, esi
jne 0x43c104
mov eax, 0x4edffc
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2ac]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43c160
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x2ac]
push 0x51544c
push eax
call fcn.004489eb
lea eax, [ebp - 0x2ac]
push esi
push eax
call fcn.00449424
add esp, 0x10
cmp eax, 0xffffffff
jg 0x43c16c
add dword [ebp - 0x10], 0x10
mov eax, dword [ebp - 0x10]
jmp 0x43c02a
cmp dword [ebp + 0x18], 0
je 0x43c18f
lea eax, [ebp - 0x2ac]
push eax
call fcn.00447e90
pop ecx
mov ecx, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x2ac]
push eax
call fcn.0040979c
mov esi, ebx
jmp 0x43c195
xor esi, esi
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.0040931c
push ebx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.0040931c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.004139e9
and byte [ebp - 4], 0
push ebx
lea ecx, [ebp - 0x6c]
call fcn.0040931c
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp + 8]
call fcn.0040931c
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret