Function at 0x474c80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xa38
mov eax, dword [0x651788]
xor eax, esp
mov dword [esp + 0xa34], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x206
lea eax, [esp + 0x636]
push ebx
push eax
mov dword [esp + 0x20], ecx
mov word [esp + 0x63c], bx
call fcn.004afb50
push 0x206
lea ecx, [esp + 0x232]
push ebx
push ecx
mov word [esp + 0x238], bx
call fcn.004afb50
push 0x206
lea edx, [esp + 0x446]
push ebx
push edx
mov word [esp + 0x44c], bx
call fcn.004afb50
push 0x206
lea eax, [esp + 0x862]
push ebx
push eax
mov word [esp + 0x868], bx
call fcn.004afb50
push 0x206
lea ecx, [esp + 0x4e]
push ebx
push ecx
mov word [esp + 0x54], bx
call fcn.004afb50
add esp, 0x3c
xor eax, eax
jmp 0x474d30
movzx ecx, word [eax + str.SOFTWARE_]
mov word [esp + eax + 0x18], cx
add eax, 2
cmp cx, bx
jne 0x474d30
lea edi, [esp + 0x18]
add edi, 0xfffffffe
jmp 0x474d50
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x474d50
mov ecx, 7
mov esi, str.PeopleCalendar
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [esp + 0x18]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x474d71
mov edx, dword [0x5a6604]
lea eax, [esp + 0xc]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x24]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi], edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x474e1e
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x634]
push eax
push ebx
push ebx
push str.OnlyIdentifier1
push ecx
mov dword [esp + 0x28], 0x104
call esi
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x224]
push eax
push ebx
push ebx
push str.OnlyIdentifier2
push ecx
call esi
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x42c]
push eax
push ebx
push ebx
push str.OnlyIdentifier3
push ecx
call esi
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x83c]
push eax
push ebx
push ebx
push 0x582788
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x630]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474e33
sub eax, edx
sar eax, 1
push ebp
mov ebp, eax
lea eax, [esp + 0x224]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474e50
sub eax, edx
sar eax, 1
mov edi, eax
lea eax, [esp + 0x42c]
lea edx, [eax + 2]
jmp 0x474e70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474e70
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [esp + 0x83c]
lea edx, [eax + 2]
jmp 0x474e90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x474e90
sub eax, edx
sar eax, 1
cmp ebp, ebx
pop ebp
je 0x474f5e
cmp edi, ebx
je 0x474f5e
cmp esi, ebx
je 0x474f5e
cmp eax, ebx
je 0x474f5e
mov esi, dword [esp + 0x14]
mov edx, dword [esi]
lea ecx, [esp + 0x630]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x474ed0
mov ecx, dword [esi]
lea edx, [esp + 0x220]
add ecx, 0x208
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
cmp ax, bx
jne 0x474ef0
mov ecx, dword [esi]
lea edx, [esp + 0x428]
add ecx, 0x410
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
cmp ax, bx
jne 0x474f10
mov ecx, dword [esi]
lea edx, [esp + 0x838]
add ecx, 0x618
movzx eax, word [edx]
mov word [ecx], ax
add edx, 2
add ecx, 2
cmp ax, bx
jne 0x474f30
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xa34]
xor ecx, esp
call fcn.004aeca3
add esp, 0xa38
ret
mov ecx, dword [esp + 0xa40]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004aeca3
add esp, 0xa38
ret