Function at 0x406040
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x41bcec
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x4242c0]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
push ebp
push esi
mov eax, dword [0x4242c0]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
xor eax, eax
xor ebx, ebx
mov word [esp + 0x5c], ax
push 0x25
mov eax, str.SoftwareDashlaneInstallInformation_
lea esi, [esp + 0x5c]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
call fcn.004038b0
mov dword [esp + 0x468], ebx
push 0xb
push str.2.1.2.39075
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
call fcn.00405790
mov byte [esp + 0x468], 1
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x40]
call fcn.00405ef0
add esp, 4
mov byte [esp + 0x468], 2
push ebx
push eax
or eax, 0xffffffff
call fcn.004032f0
mov byte [esp + 0x468], 1
mov ebp, 8
cmp dword [esp + 0x54], ebp
jb 0x406119
mov edx, dword [esp + 0x40]
push edx
call fcn.0040a02e
add esp, 4
mov esi, 7
xor eax, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov word [esp + 0x40], ax
mov byte [esp + 0x468], bl
cmp dword [esp + 0x2c], 0x10
jb 0x406148
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0040a02e
add esp, 4
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
cmp dword [esp + 0x70], ebp
jae 0x406166
lea eax, [esp + 0x5c]
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x14]
push ecx
push ebx
push 0xf023f
push ebx
push ebx
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4061c4
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x38]
push ecx
push ebx
push edi
push edx
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0x1f4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x40621a
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x70], ebp
jb 0x4061e2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0040a02e
add esp, 4
xor edx, edx
xor al, al
mov word [esp + 0x5c], dx
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44c]
xor ecx, esp
call fcn.0040a01f
add esp, 0x45c
ret
xor eax, eax
mov dword [esp + 0x2c], esi
mov word [esp + 0x18], ax
push 1
mov eax, 0x42038c
lea esi, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.004038b0
mov byte [esp + 0x468], 3
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x2c], ebp
jae 0x40624f
lea eax, [esp + 0x18]
mov ecx, dword [esp + 0x10]
push 1
push eax
push 1
push ebx
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [esp + 0x468], bl
cmp dword [esp + 0x2c], ebp
jb 0x40627b
mov edx, dword [esp + 0x18]
push edx
call fcn.0040a02e
add esp, 4
mov ecx, dword [esp + 0x10]
xor eax, eax
mov esi, 7
push ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x468], 0xffffffff
cmp dword [esp + 0x70], ebp
jb 0x4062b8
mov edx, dword [esp + 0x5c]
push edx
call fcn.0040a02e
add esp, 4
xor eax, eax
mov word [esp + 0x5c], ax
mov al, 1
jmp 0x4061eb