Function at 0x446880
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x2120]
mov eax, 0x2120
call fcn.004ab4d0
push 0xffffffffffffffff
push 0x4d0c90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x51c080]
xor eax, ebp
mov dword [ebp + 0x211c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x5c], edi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x11], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
push 0x800
push ebx
lea eax, [ebp + 0x111c]
push eax
call fcn.004ab450
push 0x800
push ebx
lea ecx, [ebp + 0x91c]
push ecx
call fcn.004ab450
add esp, 0x18
mov eax, dword [edi]
cmp eax, ebx
jne 0x44691a
push str.Script_Manager_is_invalid.._Init_OS_Data_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
jmp 0x44726b
lea esi, [eax + 0x3cb8]
mov dword [ebp - 0x28], esi
cmp esi, ebx
je 0x4469fb
cmp dword [esi], ebx
je 0x4469fb
push str.OS_String
push str.SEInst_InstallingSetupOS
push esi
mov eax, 0x400
lea edx, [ebp + 0x111c]
call fcn.00441090
test eax, eax
jne 0x4469fb
push str.OS_Dir
push str.SEInst_InstallingSetupOS
push esi
mov eax, 0x400
lea edx, [ebp + 0x91c]
call fcn.00441090
test eax, eax
jne 0x4469fb
mov edx, str.OS_DEFINE
lea eax, [ebp - 0x44]
call fcn.00411be0
mov byte [ebp - 4], 1
add edi, 0x10
lea edx, [ebp - 0x44]
push edx
mov ecx, edi
call fcn.0040fa50
push eax
lea edx, [ebp + 0x111c]
call fcn.00410270
mov byte [ebp - 4], 0
lea esi, [ebp - 0x44]
call fcn.00411bb0
mov edx, str.OS_DIR
lea eax, [ebp - 0x44]
call fcn.00411be0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.0040fa50
push eax
lea edx, [ebp + 0x91c]
call fcn.00410270
mov byte [ebp - 4], 0
lea esi, [ebp - 0x44]
call fcn.00411bb0
push str.OS_data_from_Registry__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
jmp 0x44726b
mov edx, 1
xor eax, eax
mov ecx, dword [edi]
call fcn.00458870
mov dword [ebp - 0x20], eax
cmp eax, ebx
je 0x44706a
call fcn.0044c890
test al, al
je 0x44706a
mov bl, byte [0x52c25c]
mov byte [ebp - 0x19], bl
push 0x11c
push 0
lea ecx, [ebp]
push ecx
call fcn.004ab450
add esp, 0xc
mov dword [ebp], 0x11c
lea edx, [ebp]
push edx
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
call esi
test eax, eax
jne 0x446a9f
mov dword [ebp], 0x114
lea eax, [ebp]
push eax
call esi
test eax, eax
jne 0x446a98
push str.GetVersionEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x527b30
call fcn.00448ec0
add esp, 4
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x60], 0
push 0x5042a0
lea ecx, [ebp - 0x60]
push ecx
call fcn.004abd6e
mov byte [ebp + 0x11a], 1
mov edi, dword [ebp - 0x20]
push edi
mov edx, str.OS_INFO
call fcn.00443d50
test al, al
jne 0x446adc
mov byte [ebp - 0x11], 1
push str.OS_INFO_didnt_exist_in_Data_Script_file___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov dword [ebp - 0x4c], 0
push 0x5042a0
lea edx, [ebp - 0x4c]
push edx
call fcn.004abd6e
push 0x800
xor esi, esi
push esi
lea eax, [ebp + 0x191c]
push eax
call fcn.004ab450
add esp, 0xc
test bl, bl
je 0x446b12
movzx ecx, byte [ebp + 0x11a]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__producttype__d__and__x64_TRUE__
jmp 0x446b2b
movzx edx, byte [ebp + 0x11a]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__producttype__d__
lea edx, [ebp + 0x191c]
call fcn.00411a00
add esp, 0x14
lea eax, [ebp + 0x191c]
push eax
call fcn.00462590
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov edx, eax
mov ecx, edi
call fcn.0044e0b0
test eax, eax
jne 0x446bbc
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp + 0x111c]
call fcn.00443ae0
push 0x400
lea eax, [ebp + 0x91c]
push eax
push 0x4ec340
lea ecx, [ebp + 0x191c]
push ecx
mov ecx, edi
call fcn.00443c90
test eax, eax
je 0x446bab
push 0x3ff
lea edx, [ebp + 0x111c]
push edx
push 0x400
lea eax, [ebp + 0x91c]
push eax
call fcn.004a9be0
add esp, 0x10
mov dword [ebp - 0x50], esi
push 0x5042a0
lea ecx, [ebp - 0x50]
push ecx
call fcn.004abd6e
push 0x800
push esi
lea edx, [ebp + 0x191c]
push edx
call fcn.004ab450
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
lea edx, [ebp + 0x191c]
test bl, bl
je 0x446bee
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__x64_TRUE__
jmp 0x446bf3
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__
call fcn.00411a00
add esp, 0x10
lea eax, [ebp + 0x191c]
push eax
call fcn.00462590
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov edx, eax
mov ecx, edi
call fcn.0044e0b0
test eax, eax
jne 0x446c7e
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp + 0x111c]
call fcn.00443ae0
push 0x400
lea eax, [ebp + 0x91c]
push eax
push 0x4ec340
lea ecx, [ebp + 0x191c]
push ecx
mov ecx, edi
call fcn.00443c90
test eax, eax
je 0x446c6d
push 0x3ff
lea edx, [ebp + 0x111c]
push edx
push 0x400
lea eax, [ebp + 0x91c]
push eax
call fcn.004a9be0
add esp, 0x10
mov dword [ebp - 0x58], esi
push 0x5042a0
lea ecx, [ebp - 0x58]
push ecx
call fcn.004abd6e
mov esi, dword [ebp + 8]
add esi, 0xffffffff
mov dword [ebp - 0x24], esi
push 0x800
push 0
test esi, esi
jl 0x446d63
lea edx, [ebp + 0x191c]
push edx
call fcn.004ab450
add esp, 0xc
push esi
test bl, bl
je 0x446cb9
mov eax, dword [ebp + 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__x64_TRUE__
jmp 0x446cc6
mov edx, dword [ebp + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__
lea edx, [ebp + 0x191c]
call fcn.00411a00
add esp, 0x10
lea ecx, [ebp + 0x191c]
push ecx
call fcn.00462590
add esp, 4
lea edx, [ebp - 0x18]
push edx
mov edx, ecx
mov ecx, edi
call fcn.0044e0b0
test eax, eax
jne 0x446d5b
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp + 0x111c]
call fcn.00443ae0
push 0x400
lea ecx, [ebp + 0x91c]
push ecx
push 0x4ec340
lea edx, [ebp + 0x191c]
push edx
mov ecx, edi
call fcn.00443c90
test eax, eax
je 0x446d46
push 0x3ff
lea eax, [ebp + 0x111c]
push eax
push 0x400
lea ecx, [ebp + 0x91c]
push ecx
call fcn.004a9be0
add esp, 0x10
mov dword [ebp - 0x48], 0
push 0x5042a0
lea edx, [ebp - 0x48]
push edx
call fcn.004abd6e
sub esi, 1
jmp 0x446c84
lea eax, [ebp + 0x191c]
push eax
call fcn.004ab450
add esp, 0xc
test bl, bl
je 0x446d85
mov ecx, dword [ebp + 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.OS_INFO___platform_id__d__and__major__d__and__x64_TRUE__
jmp 0x446d92
mov eax, dword [ebp + 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push str.OS_INFO___platform_id__d__and__major__d__
lea edx, [ebp + 0x191c]
call fcn.00411a00
add esp, 0xc
lea edx, [ebp + 0x191c]
push edx
call fcn.00462590
add esp, 4
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0044e0b0
test eax, eax
jne 0x446e25
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x111c]
call fcn.00443ae0
push 0x400
lea edx, [ebp + 0x91c]
push edx
push 0x4ec340
lea eax, [ebp + 0x191c]
push eax
mov ecx, edi
call fcn.00443c90
test eax, eax
je 0x446e10
push 0x3ff
lea ecx, [ebp + 0x111c]
push ecx
push 0x400
lea edx, [ebp + 0x91c]
push edx
call fcn.004a9be0
add esp, 0x10
mov dword [ebp - 0x68], 0
push 0x5042a0
lea eax, [ebp - 0x68]
push eax
call fcn.004abd6e
mov byte [ebp - 0x1a], 1
push 0x800
push 0
lea ecx, [ebp + 0x11c]
push ecx
call fcn.004ab450
add esp, 0xc
push 0x400
lea edx, [ebp + 0x11c]
push edx
push str.support_unknown
push str.OS_INFO
mov ecx, edi
call fcn.00443c90
test eax, eax
jne 0x446eb5
push str.FALSE
lea eax, [ebp + 0x11c]
push eax
call fcn.004a9af1
add esp, 8
test eax, eax
jne 0x446eb5
mov byte [ebp - 0x1a], al
movzx edx, bl
push edx
movzx eax, byte [ebp + 0x11a]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 4]
push edx
mov eax, dword [ebp + 0x10]
push eax
push str.This_OS_Platform_ID___d__major___d__minor___d__producttype___d__x64___d__was_not_supported____
mov ecx, 0x527b30
call fcn.00449000
add esp, 0x18
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0xffffffff
jmp 0x4470ab
mov edi, dword [ebp + 4]
add edi, 0xffffffff
mov dword [ebp - 0x54], edi
cmp edi, 5
jl 0x446e7b
mov esi, 5
mov dword [ebp - 0x24], esi
push 0x800
push 0
test esi, esi
jl 0x446fa2
lea ecx, [ebp + 0x191c]
push ecx
call fcn.004ab450
add esp, 0xc
push esi
push edi
test bl, bl
je 0x446efa
mov edx, dword [ebp + 0x10]
push edx
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__x64_TRUE__
jmp 0x446f03
mov eax, dword [ebp + 0x10]
push eax
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__
lea edx, [ebp + 0x191c]
call fcn.00411a00
add esp, 0x10
lea ecx, [ebp + 0x191c]
push ecx
call fcn.00462590
add esp, 4
lea edx, [ebp - 0x18]
push edx
mov edx, ecx
mov ecx, dword [ebp - 0x20]
call fcn.0044e0b0
test eax, eax
jne 0x446f9a
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp + 0x111c]
call fcn.00443ae0
push 0x400
lea ecx, [ebp + 0x91c]
push ecx
push 0x4ec340
lea edx, [ebp + 0x191c]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00443c90
test eax, eax
je 0x446f85
push 0x3ff
lea eax, [ebp + 0x111c]
push eax
push 0x400
lea ecx, [ebp + 0x91c]
push ecx
call fcn.004a9be0
add esp, 0x10
mov dword [ebp - 0x70], 0
push 0x5042a0
lea edx, [ebp - 0x70]
push edx
call fcn.004abd6e
sub esi, 1
jmp 0x446ec8
lea eax, [ebp + 0x191c]
push eax
call fcn.004ab450
add esp, 0xc
push edi
test bl, bl
je 0x446fc1
mov ecx, dword [ebp + 0x10]
push ecx
push str.OS_INFO___platform_id__d__and__major__d__and__x64_TRUE__
jmp 0x446fca
mov edx, dword [ebp + 0x10]
push edx
push str.OS_INFO___platform_id__d__and__major__d__
lea edx, [ebp + 0x191c]
call fcn.00411a00
add esp, 0xc
lea eax, [ebp + 0x191c]
push eax
call fcn.00462590
add esp, 4
lea ecx, [ebp - 0x18]
push ecx
mov edx, eax
mov esi, dword [ebp - 0x20]
mov ecx, esi
call fcn.0044e0b0
test eax, eax
jne 0x447062
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp + 0x111c]
call fcn.00443ae0
push 0x400
lea eax, [ebp + 0x91c]
push eax
push 0x4ec340
lea ecx, [ebp + 0x191c]
push ecx
mov ecx, esi
call fcn.00443c90
test eax, eax
je 0x44704d
push 0x3ff
lea edx, [ebp + 0x111c]
push edx
push 0x400
lea eax, [ebp + 0x91c]
push eax
call fcn.004a9be0
add esp, 0x10
mov dword [ebp - 0x6c], 0
push 0x5042a0
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004abd6e
sub edi, 1
jmp 0x446ebb
push str.Data_XML_Script_is_invalid___Init_OS_Data_fail__
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov byte [ebp - 0x11], 1
mov dword [ebp - 0x64], ebx
push 0x5042a0
lea ecx, [ebp - 0x64]
push ecx
call fcn.004abd6e
mov dword [ebp - 4], 0xffffffff
mov eax, 0x44709e
ret
push 0x3ff
test bl, bl
je 0x447101
push str.WINXP64
push 0x400
lea edx, [ebp + 0x111c]
push edx
call fcn.004a9be0
push 0x3ff
push str.WINXP_VISTA_64
push 0x400
lea eax, [ebp + 0x91c]
push eax
jmp 0x44712d
push str.WINXP
push 0x400
lea ecx, [ebp + 0x111c]
push ecx
call fcn.004a9be0
push 0x3ff
push str.WINXP_2000_VISTA_32
push 0x400
lea edx, [ebp + 0x91c]
push edx
call fcn.004a9be0
add esp, 0x20
push str.Data_XML_was_invalid___So__OS_Information_was_set_as_default___
mov ecx, 0x527b30
call fcn.00449000
add esp, 4
mov edx, str.OS_DEFINE
lea eax, [ebp - 0x44]
call fcn.00411be0
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x5c]
add edi, 0x10
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.0040fa50
lea ecx, [ebp + 0x111c]
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x447175
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp + 0x111c]
push ecx
mov esi, eax
call fcn.004102a0
mov dword [ebp - 4], 0xffffffff
mov ebx, 8
cmp dword [ebp - 0x2c], ebx
jb 0x4471b0
mov edx, dword [ebp - 0x40]
push edx
call fcn.004993dd
add esp, 4
mov dword [ebp - 0x2c], 7
xor eax, eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov edx, str.OS_DIR
lea eax, [ebp - 0x44]
call fcn.00411be0
mov dword [ebp - 4], 5
lea eax, [ebp - 0x44]
push eax
mov ecx, edi
call fcn.0040fa50
lea ecx, [ebp + 0x91c]
lea esi, [ecx + 2]
xor edi, edi
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4471f0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp + 0x91c]
push ecx
mov esi, eax
call fcn.004102a0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x2c], ebx
jb 0x447226
mov edx, dword [ebp - 0x40]
push edx
call fcn.004993dd
add esp, 4
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], edi
mov word [ebp - 0x40], di
mov esi, dword [ebp - 0x28]
cmp esi, edi
je 0x44726b
cmp dword [esi], edi
je 0x44726b
push str.OS_String
push str.SEInst_InstallingSetupOS
push esi
lea ecx, [ebp + 0x111c]
call fcn.00440ff0
push str.OS_Dir
push str.SEInst_InstallingSetupOS
push esi
lea ecx, [ebp + 0x91c]
call fcn.00440ff0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x211c]
xor ecx, ebp
call fcn.004a998e
add ebp, 0x2120
mov esp, ebp
pop ebp
ret