Function at 0x43d390
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55837e
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 1
xor esi, esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x498]
mov dword [ebp - 0x498], 0x100
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x43d553
mov edi, dword [sym.imp.DTLUI.dll_public:_int___thiscall_DuiLib::CDuiString::Find_wchar_t_const___int_const]
nop
test eax, eax
jne 0x43d51f
lea eax, [ebp - 0x49c]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43d52a
lea eax, [ebp - 0x4a0]
mov dword [ebp - 0x4a0], 0x200
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x4a4]
push eax
push 0
push 0x595390
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43d513
lea ecx, [ebp - 0x494]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_void_]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x494]
push 0x5953a8
push eax
call dword [sym.imp.DTLUI.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
add esp, 0xc
lea ecx, [ebp - 0x494]
push 0
push str.Microsoft_Visual_C
call edi
cmp eax, 0xffffffff
je 0x43d503
push 0
push str.Redist
lea ecx, [ebp - 0x494]
call edi
cmp eax, 0xffffffff
je 0x43d503
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x494]
push eax
call edi
cmp eax, 0xffffffff
je 0x43d503
cmp dword [ebp + 0x34], 0
setne al
test al, al
je 0x43d5d2
cmp dword [ebp + 0x38], 8
lea eax, [ebp + 0x24]
push 0
cmovae eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x494]
push eax
call edi
cmp eax, 0xffffffff
jne 0x43d5d2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc esi
mov dword [ebp - 0x498], 0x100
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x498]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
jne 0x43d400
xor esi, esi
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x20]
cmp eax, 8
jb 0x43d56e
inc eax
lea ecx, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call fcn.00404be0
xor eax, eax
mov dword [ebp + 0x20], 7
mov dword [ebp + 0x1c], 0
mov word [ebp + 0xc], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x38]
cmp eax, 8
jb 0x43d59e
inc eax
lea ecx, [ebp + 0x24]
push eax
push dword [ebp + 0x24]
call fcn.00404be0
xor eax, eax
mov dword [ebp + 0x38], 7
mov word [ebp + 0x24], ax
mov eax, esi
mov dword [ebp + 0x34], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 0x34
mov eax, dword [0x618d28]
test eax, eax
jne 0x43d5ff
push 0x70
call fcn.005120b2
add esp, 4
mov dword [ebp - 0x4a8], eax
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00409ee0
mov byte [ebp - 4], 2
mov dword [0x618d28], eax
lea ecx, [ebp - 0x410]
push ecx
push 0x59540c
push 0x2da
push 0x595418
push 8
push eax
call fcn.0040a3e0
add esp, 0x18
lea ecx, [ebp - 0x494]
call dword [sym.imp.DTLUI.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [ebp - 0x49c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x494]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov esi, 1
jmp 0x43d555