Function at 0x43c91c
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x444
mov eax, 0x5a3bda
call fcn.0058141a
mov esi, ecx
mov dword [ebp - 0x44c], esi
call fcn.0041e5f7
mov ebx, eax
mov dword [ebp - 0x444], ebx
test ebx, ebx
jne 0x43c94f
call fcn.0041e8e4
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x448], 1
call fcn.0041e555
test eax, eax
je 0x43c974
xor ebx, ebx
mov dword [ebp - 0x448], 2
mov dword [ebp - 0x444], ebx
or dword [0x6188a0], 0xffffffff
push 0
push 0
push 0x184
push dword [esi + 0x150]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, 0x6b67e0
push 9
mov edi, esi
pop ebx
push 0x5e66b6
mov ecx, edi
call fcn.00403e04
add edi, 4
sub ebx, 1
jne 0x43c99a
sub esi, 0xffffff80
cmp esi, 0x6b6c60
jl 0x43c995
and dword [ebp - 0x440], ebx
lea eax, [ebp - 0x214]
push str.SOFTWAREStardockMultiplicity2
push eax
call fcn.00589e60
lea eax, [ebp - 0x214]
push 0x5e60a0
push eax
call fcn.00589e70
lea eax, [ebp - 0x214]
push str.Machines
push eax
call fcn.00589e70
add esp, 0x18
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push 0xff
lea eax, [ebp - 0x114]
push eax
push ebx
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov ebx, dword [ebp - 0x444]
xor esi, esi
inc esi
test eax, eax
jne 0x43cacf
mov edi, dword [ebp - 0x44c]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x444]
call fcn.00403e54
push ecx
push str.Machines
push 0
mov edx, str.OnlyVideoMode
lea ecx, [ebp - 0x114]
call fcn.004386d9
test eax, eax
jne 0x43ca9f
push ecx
push str.Machines
push eax
mov edx, str.InternalOnly
lea ecx, [ebp - 0x114]
call fcn.004386d9
test eax, eax
jne 0x43ca9f
push dword [ebp - 0x444]
push eax
push 0x180
push dword [edi + 0x150]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x444]
lea ecx, [ecx - 0x10]
call fcn.00404048
push 0xff
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
inc esi
test eax, eax
je 0x43ca3e
push dword [ebp - 0x440]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x61889c]
mov edi, ecx
mov eax, dword [0x618898]
add eax, ecx
cmp edi, eax
jge 0x43cc99
mov edx, dword [0x618894]
mov eax, edi
shl eax, 5
mov dword [ebp - 0x440], eax
mov eax, dword [0x618890]
mov esi, edx
add eax, edx
cmp esi, eax
jge 0x43cc82
push 0xa
lea eax, [ebp - 0x214]
push eax
push edi
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x314]
push 0xa
push eax
push esi
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00589e60
lea eax, [ebp - 0x114]
push 0x5e6b10
push eax
call fcn.00589e70
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00589e70
add esp, 0x18
mov byte [ebp - 0x214], 0
lea eax, [ebp - 0x214]
mov ecx, str.GridConfig
lea edx, [ebp - 0x114]
push 0x5e6c6c
push 0xff
push eax
push 0x5e66b6
call fcn.00434d68
cmp byte [ebp - 0x214], 0
je 0x43cc66
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x444]
call fcn.00403e54
and dword [ebp - 4], 0
push dword [ebp - 0x444]
mov eax, dword [ebp - 0x44c]
push 0xffffffffffffffff
push 0x1a2
push dword [eax + 0x150]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x450], eax
cmp eax, 0xffffffff
je 0x43cc3d
mov eax, dword [ebp - 0x448]
test ebx, ebx
jne 0x43cbfa
test eax, eax
jle 0x43cc3d
dec eax
mov dword [ebp - 0x448], eax
mov eax, dword [ebp - 0x440]
add eax, esi
lea ecx, [eax*4 + 0x6b67e0]
lea eax, [ebp - 0x444]
push eax
call fcn.00406c84
mov eax, dword [ebp - 0x44c]
push 0
push dword [ebp - 0x450]
push 0x182
push dword [eax + 0x150]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43cc54
push 0x5e6c6c
push 0
lea edx, [ebp - 0x114]
mov ecx, str.GridConfig
call fcn.0042b829
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x444]
lea ecx, [ecx - 0x10]
call fcn.00404048
mov eax, dword [0x618890]
inc esi
mov edx, dword [0x618894]
add eax, edx
cmp esi, eax
jl 0x43cb14
mov ecx, dword [0x61889c]
mov eax, dword [0x618898]
inc edi
add dword [ebp - 0x440], 0x20
add eax, ecx
cmp edi, eax
jl 0x43cb03
push 0x5e6c6c
mov ebx, str.GridConfig
mov edx, str.PrimaryX
push 3
mov ecx, ebx
call fcn.00434e91
push 0x5e6c6c
push 3
mov edx, str.PrimaryY
mov ecx, ebx
mov esi, eax
call fcn.00434e91
mov edx, dword [0x61889c]
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x440], eax
cmp esi, edx
jl 0x43cce6
mov ecx, dword [0x618898]
add ecx, edx
cmp esi, ecx
jl 0x43cce9
xor edi, edi
inc edi
mov ecx, dword [0x618894]
cmp eax, ecx
jl 0x43cd06
mov eax, dword [0x618890]
add eax, ecx
mov ecx, dword [ebp - 0x440]
cmp ecx, eax
jl 0x43cd0f
jmp 0x43cd0c
mov ecx, dword [ebp - 0x440]
xor ebx, ebx
inc ebx
test edi, edi
jne 0x43cd1b
test ebx, ebx
je 0x43cf05
mov edx, 0x5e66b6
mov ecx, 0x6b696c
call fcn.00406825
test al, al
je 0x43cd81
push 3
pop ebx
push 0xa
lea eax, [ebp - 0x114]
mov dword [ebp - 0x440], ebx
push eax
push ebx
mov esi, ebx
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x114]
mov edi, 0x5e6c6c
mov edx, str.PrimaryX
mov ecx, str.GridConfig
push edi
push eax
call fcn.0042b829
push 0xa
lea eax, [ebp - 0x114]
push eax
push ebx
call fcn.0058b78d
lea eax, [ebp - 0x114]
jmp 0x43ceeb
mov ecx, dword [0x61889c]
mov ebx, ecx
mov eax, dword [0x618898]
and dword [ebp - 0x444], 0
add eax, ecx
cmp ebx, eax
jge 0x43ce2c
mov edx, dword [0x618894]
mov eax, ebx
shl eax, 5
mov dword [ebp - 0x448], eax
mov eax, dword [0x618890]
mov edi, edx
add eax, edx
cmp edi, eax
jge 0x43ce0b
mov eax, dword [ebp - 0x448]
add eax, edi
lea ecx, [eax*4 + 0x6b67e0]
mov dword [ebp - 0x450], ecx
mov edx, 0x5e66b6
call fcn.00406825
test al, al
jne 0x43cff0
mov ecx, dword [ebp - 0x450]
inc edi
mov eax, dword [0x618890]
add ecx, 4
mov edx, dword [0x618894]
add eax, edx
mov dword [ebp - 0x450], ecx
cmp edi, eax
jl 0x43cdd2
mov ecx, dword [0x61889c]
mov edi, dword [ebp - 0x444]
mov eax, dword [0x618898]
inc ebx
add dword [ebp - 0x448], 0x20
add eax, ecx
cmp ebx, eax
jl 0x43cdb0
test edi, edi
jne 0x43ceff
push 0xa
lea eax, [ebp - 0x314]
push eax
push 3
pop ebx
push ebx
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x414]
push 0xa
push eax
push ebx
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00589e60
lea eax, [ebp - 0x114]
push 0x5e6b10
push eax
call fcn.00589e70
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00589e70
add esp, 0x18
lea edx, [ebp - 0x114]
mov edi, 0x5e6c6c
mov ecx, str.GridConfig
push edi
push 0
call fcn.0042b829
push 0xa
lea eax, [ebp - 0x214]
mov dword [ebp - 0x440], ebx
push eax
push ebx
mov esi, ebx
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x214]
mov edx, str.PrimaryX
mov ecx, str.GridConfig
push edi
push eax
call fcn.0042b829
push 0xa
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.0058b78d
lea eax, [ebp - 0x214]
add esp, 0xc
mov edx, str.PrimaryY
mov ecx, str.GridConfig
push edi
push eax
call fcn.0042b829
mov ecx, dword [ebp - 0x440]
shl esi, 5
add esi, ecx
push 0x5eb6d4
lea ecx, [esi*4 + 0x6b67e0]
call fcn.00403e04
mov edx, 0x5f58d4
lea ecx, [ebp - 0x43c]
call fcn.00429b1a
cmp dword [eax + 0x14], 8
jb 0x43cf33
mov eax, dword [eax]
mov ebx, dword [ebp - 0x44c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x180
push dword [ebx + 0x150]
call edi
push 0
push 1
lea ecx, [ebp - 0x43c]
mov esi, eax
call fcn.00403bb4
push 0xffffffffffffffff
push esi
push 0x19a
push dword [ebx + 0x150]
call edi
fld qword [0x618870]
fmul qword [0x5f5f20]
call fcn.00581600
movzx eax, ax
push eax
push esi
push 0x1a0
push dword [ebx + 0x150]
call edi
lea eax, [ebp - 0x424]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x418]
shl eax, 0x10
add eax, dword [ebp - 0x41c]
push eax
push 0
push 5
push dword [ebx + 0x20]
call edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e9
push dword [ebx + 0x20]
call edi
mov esi, dword [sym.imp.USER32.dll_InvalidateRect]
push 0
push 0
push eax
call esi
push 0x3f9
push dword [ebx + 0x20]
call edi
push 0
push 0
push eax
call esi
call fcn.005813c4
ret
push 0xa
lea eax, [ebp - 0x114]
mov dword [ebp - 0x440], edi
push eax
push ebx
mov esi, ebx
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x114]
mov edx, str.PrimaryX
mov ecx, str.GridConfig
push 0x5e6c6c
push eax
call fcn.0042b829
push 0xa
lea eax, [ebp - 0x114]
push eax
push edi
call fcn.0058b78d
add esp, 0xc
lea eax, [ebp - 0x114]
mov edx, str.PrimaryY
mov ecx, str.GridConfig
push 0x5e6c6c
push eax
call fcn.0042b829
mov ecx, dword [0x61889c]
xor edi, edi
mov edx, dword [0x618894]
inc edi
mov dword [ebp - 0x444], edi
jmp 0x43ce11