Function at 0x458650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa58
mov eax, dword [0x580280]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xa58], ecx
xor eax, eax
mov word [ebp - 0x220], ax
push 0x206
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.00486c20
add esp, 0xc
xor edx, edx
mov word [ebp - 0x840], dx
push 0x206
push 0
lea eax, [ebp - 0x83e]
push eax
call fcn.00486c20
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xa50], cx
push 0x206
push 0
lea edx, [ebp - 0xa4e]
push edx
call fcn.00486c20
add esp, 0xc
xor eax, eax
mov word [ebp - 0x430], ax
push 0x206
push 0
lea ecx, [ebp - 0x42e]
push ecx
call fcn.00486c20
add esp, 0xc
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
xor edx, edx
mov word [ebp - 0x638], dx
push 0x206
push 0
lea eax, [ebp - 0x636]
push eax
call fcn.00486c20
add esp, 0xc
push str.SOFTWARE_
lea ecx, [ebp - 0x638]
push ecx
call fcn.00486ae5
add esp, 8
push str.PeopleCalendar
lea edx, [ebp - 0x638]
push edx
call fcn.00486ab7
add esp, 8
push 0x559f64
lea eax, [ebp - 0x638]
push eax
call fcn.00486ab7
add esp, 8
lea ecx, [ebp - 8]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x638]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x458835
mov dword [ebp - 0xa54], 0x104
lea eax, [ebp - 0xa54]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push 0x559f68
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0xa54]
push eax
lea ecx, [ebp - 0x840]
push ecx
push 0
push 0
push 0x559f88
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0xa54]
push eax
lea ecx, [ebp - 0xa50]
push ecx
push 0
push 0
push 0x559fa8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0xa54]
push eax
lea ecx, [ebp - 0x430]
push ecx
push 0
push 0
push 0x559fc8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x220]
push ecx
call fcn.00486c9a
add esp, 4
mov dword [ebp - 0x844], eax
lea edx, [ebp - 0x840]
push edx
call fcn.00486c9a
add esp, 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xa50]
push eax
call fcn.00486c9a
add esp, 4
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.00486c9a
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 0x844], 0
je 0x4588a5
cmp dword [ebp - 0x10], 0
je 0x4588a5
cmp dword [ebp - 0xc], 0
je 0x4588a5
cmp dword [ebp - 4], 0
jne 0x4588a9
xor eax, eax
jmp 0x458920
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0xa58]
mov ecx, dword [eax]
push ecx
call fcn.00486ae5
add esp, 8
lea edx, [ebp - 0x840]
push edx
mov eax, dword [ebp - 0xa58]
mov ecx, dword [eax]
add ecx, 0x208
push ecx
call fcn.00486ae5
add esp, 8
lea edx, [ebp - 0xa50]
push edx
mov eax, dword [ebp - 0xa58]
mov ecx, dword [eax]
add ecx, 0x410
push ecx
call fcn.00486ae5
add esp, 8
lea edx, [ebp - 0x430]
push edx
mov eax, dword [ebp - 0xa58]
mov ecx, dword [eax]
add ecx, 0x618
push ecx
call fcn.00486ae5
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00486c08
mov esp, ebp
pop ebp
ret