Function at 0x1a2470
Capabilities:
Check os version
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1bc
mov eax, dword [0x1d6750]
xor eax, esp
mov dword [esp + 0x1b8], eax
mov eax, dword [esp + 0x1c4]
push ebp
push esi
push edi
xor esi, esi
push 0x8c
lea ecx, [esp + 0x38]
push esi
push ecx
mov dword [esp + 0x2c], eax
mov ebp, 0xf003f
mov dword [esp + 0x38], 0x94
mov dword [esp + 0x3c], esi
call fcn.001a76a0
push 0x103
lea edx, [esp + 0xd1]
push esi
push edx
mov byte [esp + 0xd8], 0
call fcn.001a76a0
add esp, 0x18
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x30], 5
jne 0x1a24ef
cmp dword [esp + 0x34], esi
je 0x1a24f4
mov ebp, 0xf013f
lea ecx, [esp + 0xc]
push ecx
push ebp
push esi
push 0x1d5dcc
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a2716
mov ecx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xd4]
push eax
push esi
push ecx
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
jne 0x1a25ed
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push ebp
push 0
lea eax, [esp + 0xcc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1a25aa
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push edx
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1a259f
cmp dword [esp + 0x24], 4
jne 0x1a259f
mov eax, dword [esp + 0x1cc]
cmp dword [esp + 0x28], eax
je 0x1a25da
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xd4]
push eax
inc esi
push esi
push ecx
mov dword [esp + 0x30], 0x104
call edi
test eax, eax
je 0x1a2542
jmp 0x1a25ed
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x1c], 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x18], 0
je 0x1a2716
mov edi, dword [str.SOFTWAREIBMTPHOTKEYUltraZoomModesxxxxxxxx]
mov ecx, 9
mov esi, 0x1d5df4
rep movsd dword es:[edi], dword [esi]
mov eax, 0x1d5e1c
movsw word es:[edi], word [esi]
mov edx, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1a2620
mov edi, dword [str.SOFTWAREIBMTPHOTKEYUltraZoomModesxxxxxxxx]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1a2630
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0xc0]
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1a2651
mov edi, dword [str.SOFTWAREIBMTPHOTKEYUltraZoomModesxxxxxxxx]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x1a2663
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 1
mov edi, edi
push 0
push esi
push 0x1d5cf0
call fcn.001a1240
inc esi
add esp, 0xc
mov edi, eax
cmp esi, 8
jb 0x1a2680
mov esi, dword [esp + 0x20]
push 0x9c
push 0
push esi
call fcn.001a76a0
mov ecx, 0x9c
mov word [esi + 0x24], cx
mov edx, dword [0x1d5d1c]
mov eax, dword [edx]
mov dword [esi + 0x68], eax
mov ecx, dword [0x1d5d2c]
mov edx, dword [ecx]
mov dword [esi + 0x6c], edx
mov eax, dword [0x1d5d3c]
mov ecx, dword [eax]
mov dword [esi + 0x70], ecx
mov edx, dword [0x1d5d4c]
mov eax, dword [edx]
mov dword [esi + 0x74], eax
mov ecx, dword [0x1d5d5c]
mov edx, dword [ecx]
mov dword [esi + 0x78], edx
mov eax, dword [0x1d5d6c]
mov ecx, dword [eax]
add esp, 0xc
mov eax, edi
pop edi
mov dword [esi + 0x34], ecx
mov dword [esi + 0x28], 0x7c0080
pop esi
pop ebp
mov ecx, dword [esp + 0x1b8]
xor ecx, esp
call fcn.001a771a
add esp, 0x1bc
ret
mov ecx, dword [esp + 0x1c4]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 0xe8
call fcn.001a771a
add esp, 0x1bc
ret