Function at 0x43e220
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x4f22ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x150], 0
push edi
xor esi, esi
mov dword [ebp - 0x160], ebx
xor edi, edi
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x15c], ebx
cmp dword [0x53dd94], ebx
jne 0x43e27f
push str.IsWow64Process2
push ecx
mov ecx, str.Kernel32
call fcn.00409990
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x53dd94], eax
push 0x9c
push 0
push 0x52b880
call fcn.00493600
mov eax, dword [str.Windows_Undefined]
add esp, 0xc
mov dword [0x52b89a], eax
mov eax, dword [0x4db73c]
mov dword [0x52b89e], eax
mov eax, dword [0x4db740]
mov dword [0x52b8a2], eax
mov eax, dword [0x4db744]
mov dword [0x52b8a6], eax
mov ax, word [0x4db748]
mov word [0x52b8aa], ax
lea eax, [ebp - 0x144]
push 0x98
push 0
push eax
mov byte [0x52b8ab], bl
call fcn.00493600
add esp, 0xc
mov dword [ebp - 0x148], 0x9c
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x43e332
push 0x98
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.00493600
add esp, 0xc
mov dword [ebp - 0x148], 0x94
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x43ed26
cmp dword [ebp - 0x138], 2
jne 0x43e5b8
cmp dword [ebp - 0x144], 6
ja 0x43e35b
jne 0x43e473
cmp dword [ebp - 0x140], 2
jb 0x43e480
push 1
push 2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov edi, dword [ebp - 0x144]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x154], edx
cmp edi, 9
ja 0x43e473
jmp 0x43e390
push 0x94
lea eax, [ebp - 0xa0]
push 0
push eax
call fcn.00493600
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], edi
push dword [ebp - 0x154]
push dword [ebp - 0x14c]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
jne 0x43e3e0
inc edi
cmp edi, 9
jbe 0x43e390
jmp 0x43e473
cmp dword [ebp - 0x144], edi
jae 0x43e3f4
mov dword [ebp - 0x144], edi
mov dword [ebp - 0x140], ebx
push 1
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov ebx, dword [ebp - 0x140]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x14c], edx
cmp ebx, 9
ja 0x43e473
lea esp, [esp]
push 0x9c
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.00493600
add esp, 0xc
mov dword [ebp - 0xa8], 0x9c
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa0], ebx
push dword [ebp - 0x14c]
push dword [ebp - 0x154]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test eax, eax
jne 0x43e46d
inc ebx
cmp ebx, 9
jbe 0x43e420
jmp 0x43e473
mov dword [ebp - 0x140], ebx
cmp dword [ebp - 0x144], 0xf
ja 0x43e5b8
mov eax, dword [ebp - 0x140]
cmp eax, 0xf
ja 0x43e5b8
mov edx, dword [ebp - 0x144]
mov ecx, 1
cmp cl, byte [ebp - 0xae]
sbb ecx, ecx
shl edx, 4
or edx, eax
inc ecx
mov dword [0x52b880], edx
lea eax, [edx - 0x51]
cmp eax, 0x5f
ja case.0x43e4c1.83
movzx eax, byte [eax + 0x43ed60]
jmp dword [eax*4 + 0x43ed38]
mov esi, 0x4db74c
jmp 0x43e5b8
test ecx, ecx
je 0x43e4e0
mov esi, str.XP_64
jmp 0x43e5b8
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
mov esi, str.Server_2003
mov ecx, str.Server_2003_R2
cmovne esi, ecx
jmp 0x43e5b8
test ecx, ecx
mov esi, str.Vista
mov eax, str.Server_2008
cmove esi, eax
jmp 0x43e5b8
test ecx, ecx
mov esi, 0x4db788
mov eax, str.Server_2008_R2
cmove esi, eax
jmp 0x43e5b8
test ecx, ecx
mov esi, 0x4db79c
mov eax, str.Server_2012
cmove esi, eax
jmp 0x43e5b8
test ecx, ecx
mov esi, 0x4db7ac
mov eax, str.Server_2012_R2
cmove esi, eax
jmp 0x43e5b8
test ecx, ecx
mov esi, str.10__Preview_1_
mov eax, str.Server_10__Preview_1_
cmove esi, eax
jmp 0x43e5b8
mov eax, dword [ebp - 0x13c]
cmp eax, 0x4e20
jae 0x43e586
test ecx, ecx
je 0x43e572
mov esi, 0x4db7e8
jmp 0x43e5b8
cmp eax, 0x4563
mov esi, str.Server_2016
mov ecx, str.Server_2019
cmovae esi, ecx
jmp 0x43e5b8
mov dword [0x52b880], 0xb0
mov edi, 0xb
test ecx, ecx
mov esi, 0x4db804
mov eax, str.Server_2022
cmove esi, eax
jmp 0x43e5b8
cmp edx, 0x51
jae 0x43e5b3
mov dword [0x52b880], esi
jmp 0x43e5b8
mov esi, str.12_or_later
cmp dword [0x53dd94], 0
mov dword [0x52b884], edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x52b888], ebx
je 0x43e600
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x160]
push eax
call edi
push eax
call dword [0x53dd94]
test eax, eax
je 0x43e600
mov ax, word [ebp - 0x158]
mov word [0x52b898], ax
jmp 0x43e683
lea eax, [ebp - 0x15c]
mov ebx, 0x14c
push eax
mov word [0x52b898], bx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x43e670
cmp dword [ebp - 0x15c], 0
je 0x43e670
movzx eax, word [0x52b898]
cmp ax, bx
jne 0x43e642
mov eax, 0x8664
mov word [0x52b898], ax
jmp 0x43e670
mov ecx, 0x1c0
cmp ax, cx
jne 0x43e659
mov eax, 0xaa64
mov word [0x52b898], ax
jmp 0x43e670
push 0x1c3
push str.C:UsersgamerDownloads_rufus72_rufus_7_src_stdfn.c
push str.FALSE
call fcn.0049ed6b
add esp, 0xc
push str.Note:_Underlying_Windows_architecture_was_guessed_and_may_be_incorrect...
call fcn.004407e0
mov ax, word [0x52b898]
add esp, 4
movzx eax, ax
cmp eax, 0x8664
ja 0x43e6b0
je 0x43e6a9
sub eax, 0x14c
je 0x43e6a2
sub eax, 0x74
jne 0x43e6b7
mov edi, 0x4d599c
jmp 0x43e6c3
mov edi, 0x4d5990
jmp 0x43e6c3
mov edi, 0x4d598c
jmp 0x43e6c3
cmp eax, 0xaa64
je 0x43e6be
mov edi, str.unknown
jmp 0x43e6c3
mov edi, str.arm64
lea eax, [ebp - 0x150]
push eax
movzx eax, word [ebp - 0xb2]
push eax
movzx eax, word [ebp - 0xb4]
push eax
push dword [ebp - 0x140]
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test esi, esi
jne 0x43e71c
cmp dword [ebp - 0x138], 2
mov eax, 0x4db8dc
push edi
push dword [ebp - 0x140]
mov ecx, 0x4db8e0
push dword [ebp - 0x144]
cmovne eax, ecx
push eax
push str._s__u._u__s
jmp 0x43eba5
mov ax, word [ebp - 0xb2]
test ax, ax
je 0x43e740
push edi
movzx eax, ax
push eax
movzx eax, word [ebp - 0xb4]
push eax
push esi
push str._s_SP_u._u__s
jmp 0x43eba5
mov ax, word [ebp - 0xb4]
test ax, ax
je 0x43e76b
push edi
movzx eax, ax
push eax
push esi
push str._s_SP_u__s
push 0x76
push 0x52b8a2
call fcn.00403820
add esp, 0x18
jmp 0x43ebb4
mov ecx, dword [ebp - 0x150]
cmp ecx, 0x57
ja 0x43e96d
je 0x43e963
cmp ecx, 0x54
ja case.0x43eaf6.163
movzx eax, byte [ecx + 0x43ee7c]
jmp dword [eax*4 + 0x43edc0]
mov eax, 0x4ce59a
jmp 0x43eb8d
mov eax, str.Ultimate
jmp 0x43eb8d
mov eax, str.Home_Basic
jmp 0x43eb8d
mov eax, str.Home_Premium
jmp 0x43eb8d
mov eax, str.Enterprise
jmp 0x43eb8d
mov eax, str.Home_Basic_N
jmp 0x43eb8d
mov eax, str.Business
jmp 0x43eb8d
mov eax, str.Server_Standard
jmp 0x43eb8d
mov eax, str.Server_Datacenter
jmp 0x43eb8d
mov eax, str.Smallbusiness_Server
jmp 0x43eb8d
mov eax, str.Server_Enterprise
jmp 0x43eb8d
mov eax, str.Starter
jmp 0x43eb8d
mov eax, str.Server_Datacenter__Core_
jmp 0x43eb8d
mov eax, str.Server_Standard__Core_
jmp 0x43eb8d
mov eax, str.Server_Enterprise__Core_
jmp 0x43eb8d
mov eax, str.Business_N
jmp 0x43eb8d
mov eax, str.Web_Server
jmp 0x43eb8d
mov eax, str.HPC_Edition
jmp 0x43eb8d
mov eax, str.Storage_Server__Essentials_
jmp 0x43eb8d
mov eax, str.Home_Premium_N
jmp 0x43eb8d
mov eax, str.Enterprise_N
jmp 0x43eb8d
mov eax, str.Ultimate_N
jmp 0x43eb8d
mov eax, str.Home_Server
jmp 0x43eb8d
mov eax, str.Server_Standard_without_Hyper_V
jmp 0x43eb8d
mov eax, str.Server_Datacenter_without_Hyper_V
jmp 0x43eb8d
mov eax, str.Server_Enterprise_without_Hyper_V
jmp 0x43eb8d
mov eax, str.Server_Datacenter_without_Hyper_V__Core_
jmp 0x43eb8d
mov eax, str.Server_Standard_without_Hyper_V__Core_
jmp 0x43eb8d
mov eax, str.Server_Enterprise_without_Hyper_V__Core_
jmp 0x43eb8d
mov eax, str.Hyper_V_Server
jmp 0x43eb8d
mov eax, str.Starter_N
jmp 0x43eb8d
mov eax, 0x4db338
jmp 0x43eb8d
mov eax, str.Pro_N
jmp 0x43eb8d
mov eax, str.Server_Solutions_Premium
jmp 0x43eb8d
mov eax, str.Server_Solutions_Premium__Core_
jmp 0x43eb8d
mov eax, str.Server_Hyper_Core_V
jmp 0x43eb8d
mov eax, str.Starter_E
jmp 0x43eb8d
mov eax, str.Home_Basic_E
jmp 0x43eb8d
mov eax, str.Premium_E
jmp 0x43eb8d
mov eax, str.Pro_E
jmp 0x43eb8d
mov eax, str.Enterprise_E
jmp 0x43eb8d
mov eax, str.Ultimate_E
jmp 0x43eb8d
mov eax, str.Enterprise__Eval_
jmp 0x43eb8d
mov eax, str.Server_Standard__Eval_
jmp 0x43eb8d
mov eax, str.Server_Datacenter__Eval_
jmp 0x43eb8d
mov eax, str.Enterprise_N__Eval_
jmp 0x43eb8d
mov eax, str.Thin_PC
jmp 0x43eb8d
cmp ecx, 0x7e
ja 0x43ea36
je 0x43ea2c
lea eax, [ecx - 0x58]
cmp eax, 0x25
ja case.0x43eaf6.163
movzx eax, byte [eax + 0x43ef14]
jmp dword [eax*4 + 0x43eed4]
mov eax, str.Embedded
jmp 0x43eb8d
mov eax, str.Home_N
jmp 0x43eb8d
mov eax, str.Home_China
jmp 0x43eb8d
mov eax, str.Home_Single_Language
jmp 0x43eb8d
mov eax, str.Home
jmp 0x43eb8d
mov eax, str.Pro_with_Media_Center
jmp 0x43eb8d
mov eax, str.Home_Connected
jmp 0x43eb8d
mov eax, str.Pro_Student
jmp 0x43eb8d
mov eax, str.Home_Connected_N
jmp 0x43eb8d
mov eax, str.Pro_Student_N
jmp 0x43eb8d
mov eax, str.Home_Connected_Single_Language
jmp 0x43eb8d
mov eax, str.Home_Connected_China
jmp 0x43eb8d
mov eax, str.Education
jmp 0x43eb8d
mov eax, str.Education_N
jmp 0x43eb8d
mov eax, str.Enterprise_LTSB
jmp 0x43eb8d
mov eax, str.Enterprise_LTSB_N
jmp 0x43eb8d
cmp ecx, 0xa1
ja 0x43eada
je 0x43ead0
lea eax, [ecx - 0x7f]
cmp eax, 0x16
ja case.0x43eaf6.163
movzx eax, byte [eax + 0x43ef6c]
jmp dword [eax*4 + 0x43ef3c]
mov eax, str.Pro_S
jmp 0x43eb8d
mov eax, str.Pro_S_N
jmp 0x43eb8d
mov eax, str.Enterprise_LTSB__Eval_
jmp 0x43eb8d
mov eax, str.Enterprise_LTSB_N__Eval_
jmp 0x43eb8d
mov eax, str.Pro_Single_Language
jmp 0x43eb8d
mov eax, str.Pro_China
jmp 0x43eb8d
mov eax, str.Enterprise_Subscription
jmp 0x43eb8d
mov eax, str.Enterprise_Subscription_N
jmp 0x43eb8d
mov eax, str.Server_Datacenter_SA__Core_
jmp 0x43eb8d
mov eax, str.Server_Standard_SA__Core_
jmp 0x43eb8d
mov eax, str.Utility_VM
jmp 0x43eb8d
mov eax, str.Pro_for_Workstations
jmp 0x43eb8d
cmp ecx, 0xb6
ja 0x43eb2a
je 0x43eb23
lea eax, [ecx - 0xa2]
cmp eax, 0xa
ja case.0x43eaf6.163
movzx eax, byte [eax + 0x43ef9c]
jmp dword [eax*4 + 0x43ef84]
mov eax, str.Pro_for_Workstations_N
jmp 0x43eb8d
mov eax, str.Pro_for_Education
jmp 0x43eb8d
mov eax, str.Pro_for_Education_N
jmp 0x43eb8d
mov eax, str.Enterprise_G
jmp 0x43eb8d
mov eax, str.Enterprise_G_N
jmp 0x43eb8d
mov eax, str.Home_OS
jmp 0x43eb8d
cmp ecx, 0xbd
ja 0x43eb57
je 0x43eb50
mov eax, ecx
sub eax, 0xb7
je 0x43eb49
sub eax, 1
jne case.0x43eaf6.163
mov eax, str.Cloud_E_N
jmp 0x43eb8d
mov eax, str.Cloud_E
jmp 0x43eb8d
mov eax, str.Lite
jmp 0x43eb8d
cmp ecx, 0xabcdabcd
je 0x43eb88
push ecx
push str._Unknown_Edition_0x_02X_
push 0x40
push 0x53dd98
call fcn.00403820
mov ecx, dword [ebp - 0x150]
add esp, 0x10
mov byte [0x53ddd7], 0
mov eax, 0x53dd98
jmp 0x43eb8d
mov eax, str._Unlicensed_
push edi
push eax
test ecx, ecx
mov eax, 0x4d69f4
mov edx, 0x4ce59a
cmove eax, edx
push eax
push esi
push str._s_s_s__s
push 0x76
push 0x52b8a2
call fcn.00403820
add esp, 0x1c
cmp dword [0x52b880], 0x62
mov esi, 0x7f
mov eax, dword [ebp - 0x150]
mov dword [0x52b894], eax
mov eax, dword [ebp - 0x13c]
mov byte [0x52b917], 0
mov dword [0x52b88c], eax
jb 0x43ec53
push ecx
lea eax, [ebp - 0x14c]
mov edx, str.SoftwareMicrosoftWindows_NTCurrentVersionUBR
push eax
push ecx
mov ecx, 0x80000002
call fcn.0043dd40
mov ecx, 0x52b89a
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ec02
sub ecx, edx
mov eax, esi
sub eax, ecx
lea edx, [ecx + 0x52b89a]
mov ecx, dword [ebp - 0x14c]
lea edi, [eax + edx]
test ecx, ecx
jle 0x43ec3a
push ecx
push dword [0x52b88c]
push str.__Build__lu._d_
push eax
push edx
call fcn.00403820
add esp, 0x14
jmp 0x43ec4f
push dword [0x52b88c]
push str.__Build__lu_
push eax
push edx
call fcn.00403820
add esp, 0x10
mov byte [edi - 1], 0
mov ecx, 0x52b89a
lea edx, [ecx + 1]
jmp 0x43ec60
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43ec60
mov eax, dword [0x53de38]
sub ecx, edx
sub esi, ecx
lea edi, [ecx + 0x52b89a]
test eax, eax
jne 0x43eccb
push str.WldpQueryWindowsLockdownMode
push ecx
mov ecx, str.Wldp
call fcn.00409990
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x53de38], eax
test eax, eax
jne 0x43eccb
call fcn.00440bb0
push eax
push str.Wldp
push str.WldpQueryWindowsLockdownMode
push str.Unable_to_locate__s___in__s.dll:__s
call fcn.004407e0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14c]
push ecx
call eax
test eax, eax
je 0x43ed03
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.00440bb0
push eax
push str.Could_not_detect_S_Mode:__s
call fcn.004407e0
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00491940
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp dword [ebp - 0x14c], eax
setne al
test eax, eax
je 0x43ed26
push str._in_S_Mode
push esi
push edi
call fcn.00403820
add esp, 0xc
mov byte [esi + edi - 1], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00491940
mov esp, ebp
pop ebp
ret