Function at 0x10006e4b
Capabilities:
Check os version
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x748
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x744], eax
mov eax, dword [esp + 0x750]
push ebx
push ebp
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x60]
push esi
mov esi, dword [esp + 0x758]
push edi
mov dword [esp + 0x24], eax
xor edi, edi
lea eax, [esp + 0x110]
mov dword [esp + 0x10], edi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x114], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
cmp dword [esp + 0x114], 6
mov ebp, dword [sym.imp.advapi32.dll_RegCloseKey]
sbb ebx, ebx
inc ebx
cmp dword [esp + 0x114], 6
jb 0x10006fe1
lea eax, [esp + 0x1a4]
push eax
call fcn.10006ca8
pop ecx
cmp eax, 0xffffffff
je 0x1000731a
cmp eax, 0xffffff80
je 0x10006fe1
cmp word [esp + 0x250], di
je 0x10006f29
cmp byte [esp + 0x350], 0
je 0x10006f0a
push esi
push dword [esp + 0x1a8]
call fcn.10006be9
pop ecx
pop ecx
push 3
pop eax
jmp 0x10007329
push 0x100
lea eax, [esp + 0x254]
push eax
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
xor eax, eax
add esp, 0xc
inc eax
jmp 0x10007329
cmp word [esp + 0x1a8], di
jne 0x10006fe1
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push str.SystemCurrentControlSetControlTimeZoneInformation
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000731a
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x28]
push eax
push edi
push str.DynamicDaylightTimeDisabled
push dword [esp + 0x24]
call ebx
test eax, eax
jne 0x1000731a
xor edi, edi
inc edi
cmp dword [esp + 0x18], edi
jne 0x10006fa8
push esi
push dword [esp + 0x1a8]
call fcn.10006be9
pop ecx
pop ecx
push 3
pop edi
jmp 0x10006fd0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x100
push eax
push esi
lea eax, [esp + 0x28]
push eax
push 0
push str.TimeZoneKeyName
push dword [esp + 0x24]
call ebx
test eax, eax
jne 0x1000731a
push dword [esp + 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, edi
jmp 0x10007329
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.kernel32.dll_GetTimeZoneInformation]
cmp eax, 0xffffffff
je 0x1000731a
lea eax, [esp + 0x10]
push eax
push 0x20019
push edi
push str.SystemCurrentControlSetControlTimeZoneInformation
push 0x80000002
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
xor edi, edi
inc edi
test eax, eax
jne 0x100070f9
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.DynamicDaylightTimeDisabled
push dword [esp + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x10007073
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push str.DisableAutoDaylightTimeSet
push dword [esp + 0x24]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x100070b0
cmp dword [esp + 0x18], edi
jne 0x10007088
cmp word [esp + 0xfe], 0
je 0x10007088
mov ecx, edi
jmp 0x1000708a
xor ecx, ecx
xor eax, eax
cmp dword [esp + 0x18], edi
sete al
test ebx, ebx
cmovne ecx, eax
test ecx, ecx
je 0x100070b0
push dword [esp + 0x10]
call dword [sym.imp.advapi32.dll_RegCloseKey]
push esi
push dword [esp + 0x68]
jmp 0x10006efb
cmp word [esp + 0x68], 0
jne 0x100070f3
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x200
push eax
lea eax, [esp + 0x558]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push dword [esp + 0x20]
call fcn.10006d80
add esp, 0x14
test eax, eax
jne 0x1000731a
lea eax, [esp + 0x554]
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
call ebp
mov ebx, dword [sym.imp.advapi32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionTime_Zones
push 0x80000002
call ebx
test eax, eax
je 0x1000713b
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionTime_Zones
push 0x80000002
call ebx
test eax, eax
jne 0x10007327
xor ebx, ebx
lea eax, [esp + 0x28]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
push ebx
push ebx
push dword [esp + 0x3c]
call dword [sym.imp.advapi32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x1000731a
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x28], ebx
jbe 0x100072d4
xor eax, eax
mov dword [esp + 0x18], 0x100
push eax
push eax
push eax
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x368]
push eax
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.advapi32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1000731a
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
lea eax, [esp + 0x360]
push eax
push dword [esp + 0x20]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000731a
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x458]
push eax
lea eax, [esp + 0x28]
push eax
push 2
push dword [esp + 0x2c]
call fcn.10006d80
add esp, 0x14
test eax, eax
jne 0x100072ae
push dword [esp + 0x24]
lea eax, [esp + 0x458]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
pop ecx
pop ecx
test eax, eax
jne 0x10007285
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], 0x2c
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x10017590
push dword [esp + 0x30]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x10007298
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x38]
jne 0x10007285
push 0x10
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xb0]
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x10007285
mov eax, dword [esp + 0x10c]
test eax, eax
je 0x10007298
cmp eax, dword [esp + 0x40]
jne 0x10007285
push 0x10
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x104]
push eax
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
je 0x10007298
push dword [esp + 0x1c]
call ebp
inc ebx
cmp ebx, dword [esp + 0x28]
jb 0x1000716c
jmp 0x100072a8
lea eax, [esp + 0x354]
push eax
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
pop ecx
pop ecx
mov ebx, dword [esp + 0x14]
jmp 0x100072d4
push dword [esp + 0x1c]
call ebp
lea eax, [esp + 0x1c]
mov ebx, edi
push eax
push 0x20019
push 0
push dword [esp + 0x30]
push dword [esp + 0x20]
call dword [sym.imp.advapi32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000731a
lea eax, [esp + 0x30]
mov dword [esp + 0x30], 0x20
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x28]
push eax
push 0
push str.MapID
push dword [esp + 0x30]
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
push dword [esp + 0x1c]
mov esi, eax
call ebp
push dword [esp + 0x10]
call ebp
test esi, esi
je 0x10006fda
cmp ebx, edi
je 0x10007327
jmp 0x10006fda
cmp dword [esp + 0x10], 0
je 0x10007327
push dword [esp + 0x10]
call ebp
xor eax, eax
mov ecx, dword [esp + 0x754]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10014785
add esp, 0x748
ret