Function at 0x44f5b0
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x2120]
mov eax, 0x2120
call fcn.004fe1a0
push 0xffffffffffffffff
push 0x51fbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5a4aa8]
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 eax, dword [ebp + 0x2128]
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov byte [ebp - 0x11], bl
mov byte [ebp - 0x12], bl
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
push 0x800
push ebx
lea ecx, [ebp + 0x91c]
push ecx
call fcn.004fd670
push 0x800
push ebx
lea edx, [ebp + 0x111c]
push edx
call fcn.004fd670
add esp, 0x18
call fcn.004290d0
lea edx, [ebx + 1]
mov ecx, eax
call fcn.0047f9f0
mov edi, eax
mov dword [ebp - 0x20], edi
mov al, byte [0x64a078]
mov byte [ebp - 0x11], al
push 0x11c
push ebx
lea ecx, [ebp]
push ecx
call fcn.004fd670
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 0x44f6ba
mov dword [ebp], 0x114
lea eax, [ebp]
push eax
call esi
test eax, eax
jne 0x44f6b3
push str.GetVersionEx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov edx, 0x649e50
call fcn.004917b0
add esp, 4
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x48], ebx
push 0x5814b0
lea ecx, [ebp - 0x48]
push ecx
call fcn.004fd5a3
mov byte [ebp + 0x11a], 1
cmp edi, ebx
jne 0x44f6d3
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x30], ebx
push 0x5814b0
lea edx, [ebp - 0x30]
push edx
call fcn.004fd5a3
push edi
mov edx, str.OS_INFO
call fcn.00488160
test al, al
jne 0x44f6f7
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x38], ebx
push 0x5814b0
lea eax, [ebp - 0x38]
push eax
call fcn.004fd5a3
push 0x800
push ebx
lea ecx, [ebp + 0x191c]
push ecx
call fcn.004fd670
add esp, 0xc
cmp byte [ebp - 0x11], bl
je 0x44f72c
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__and__x64_TRUE__
jmp 0x44f745
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.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__producttype__d__
lea edx, [ebp + 0x191c]
call fcn.00404380
add esp, 0x14
lea ebx, [ebp - 0x18]
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487c40
test eax, eax
jne 0x44f7cd
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x91c]
call fcn.00487da0
push 0x400
lea edx, [ebp + 0x111c]
push edx
mov ebx, 0x549304
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487fa0
test eax, eax
je 0x44f7b8
push 0x3ff
lea eax, [ebp + 0x91c]
push eax
push 0x400
lea ecx, [ebp + 0x111c]
push ecx
call fcn.004fa71b
add esp, 0x10
mov dword [ebp - 0x40], 0
push 0x5814b0
lea edx, [ebp - 0x40]
push edx
call fcn.004fd5a3
push 0x800
push 0
lea eax, [ebp + 0x191c]
push eax
call fcn.004fd670
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0x10]
push ecx
push edx
push eax
lea edx, [ebp + 0x191c]
cmp byte [ebp - 0x11], 0
je 0x44f802
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__x64_TRUE__
jmp 0x44f807
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__
call fcn.00404380
add esp, 0x10
lea ebx, [ebp - 0x18]
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487c40
test eax, eax
jne 0x44f889
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x91c]
call fcn.00487da0
push 0x400
lea edx, [ebp + 0x111c]
push edx
mov ebx, 0x549304
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487fa0
test eax, eax
je 0x44f874
push 0x3ff
lea eax, [ebp + 0x91c]
push eax
push 0x400
lea ecx, [ebp + 0x111c]
push ecx
call fcn.004fa71b
add esp, 0x10
mov dword [ebp - 0x28], 0
push 0x5814b0
lea edx, [ebp - 0x28]
push edx
call fcn.004fd5a3
mov esi, dword [ebp + 8]
add esi, 0xffffffff
mov dword [ebp - 0x24], esi
push 0x800
push 0
test esi, esi
jl 0x44f963
lea eax, [ebp + 0x191c]
push eax
call fcn.004fd670
add esp, 0xc
push esi
cmp byte [ebp - 0x11], 0
je 0x44f8c6
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__x64_TRUE__
jmp 0x44f8d3
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__
lea edx, [ebp + 0x191c]
call fcn.00404380
add esp, 0x10
lea ebx, [ebp - 0x18]
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487c40
test eax, eax
jne 0x44f95b
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp + 0x91c]
call fcn.00487da0
push 0x400
lea eax, [ebp + 0x111c]
push eax
mov ebx, 0x549304
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487fa0
test eax, eax
je 0x44f946
push 0x3ff
lea ecx, [ebp + 0x91c]
push ecx
push 0x400
lea edx, [ebp + 0x111c]
push edx
call fcn.004fa71b
add esp, 0x10
mov dword [ebp - 0x50], 0
push 0x5814b0
lea eax, [ebp - 0x50]
push eax
call fcn.004fd5a3
sub esi, 1
jmp 0x44f88f
lea ecx, [ebp + 0x191c]
push ecx
call fcn.004fd670
add esp, 0xc
cmp byte [ebp - 0x11], 0
je 0x44f987
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__x64_TRUE__
jmp 0x44f994
mov ecx, dword [ebp + 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.OS_INFO___platform_id__d__and__major__d__
lea edx, [ebp + 0x191c]
call fcn.00404380
add esp, 0xc
lea ebx, [ebp - 0x18]
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487c40
test eax, eax
jne 0x44fa1c
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp + 0x91c]
call fcn.00487da0
push 0x400
lea ecx, [ebp + 0x111c]
push ecx
mov ebx, 0x549304
lea edx, [ebp + 0x191c]
mov ecx, edi
call fcn.00487fa0
test eax, eax
je 0x44fa07
push 0x3ff
lea edx, [ebp + 0x91c]
push edx
push 0x400
lea eax, [ebp + 0x111c]
push eax
call fcn.004fa71b
add esp, 0x10
mov dword [ebp - 0x4c], 0
push 0x5814b0
lea ecx, [ebp - 0x4c]
push ecx
call fcn.004fd5a3
mov byte [ebp - 0x19], 1
push 0x800
push 0
lea edx, [ebp + 0x11c]
push edx
call fcn.004fd670
add esp, 0xc
push 0x400
lea eax, [ebp + 0x11c]
push eax
mov ebx, str.support_unknown
mov edx, str.OS_INFO
mov ecx, edi
call fcn.00487fa0
test eax, eax
jne 0x44faf2
push str.FALSE
lea ecx, [ebp + 0x11c]
push ecx
call fcn.004f9f1e
add esp, 8
test eax, eax
jne 0x44faf2
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x11]
push eax
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.This_OS_Platform_ID___d__major___d__minor___d__producttype___d__x64___d__was_not_supported____
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x12], 0
je 0x44fcfa
push 0x3ff
cmp byte [ebp - 0x11], 0
je 0x44fcc6
push str.WINXP64
push 0x400
lea edx, [ebp + 0x91c]
push edx
call fcn.004fa71b
push 0x3ff
push str.WINXP_VISTA_64
push 0x400
lea eax, [ebp + 0x111c]
push eax
jmp 0x44fcf2
mov edi, dword [ebp + 4]
add edi, 0xffffffff
mov dword [ebp - 0x3c], edi
cmp edi, 5
jl 0x44fa76
mov esi, 5
mov dword [ebp - 0x24], esi
push 0x800
push 0
test esi, esi
jl 0x44fbd8
lea edx, [ebp + 0x191c]
push edx
call fcn.004fd670
add esp, 0xc
push esi
lea edx, [ebp + 0x191c]
push edi
cmp byte [ebp - 0x11], 0
je 0x44fb43
mov eax, dword [ebp + 0x10]
push eax
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__and__x64_TRUE__
jmp 0x44fb4c
mov ecx, dword [ebp + 0x10]
push ecx
push str.OS_INFO___platform_id__d__and__major__d__and__minor__d__
call fcn.00404380
add esp, 0x10
lea ebx, [ebp - 0x18]
lea edx, [ebp + 0x191c]
mov ecx, dword [ebp - 0x20]
call fcn.00487c40
test eax, eax
jne 0x44fbd0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp + 0x91c]
call fcn.00487da0
push 0x400
lea eax, [ebp + 0x111c]
push eax
mov ebx, 0x549304
lea edx, [ebp + 0x191c]
mov ecx, dword [ebp - 0x20]
call fcn.00487fa0
test eax, eax
je 0x44fbbb
push 0x3ff
lea ecx, [ebp + 0x91c]
push ecx
push 0x400
lea edx, [ebp + 0x111c]
push edx
call fcn.004fa71b
add esp, 0x10
mov dword [ebp - 0x34], 0
push 0x5814b0
lea eax, [ebp - 0x34]
push eax
call fcn.004fd5a3
sub esi, 1
jmp 0x44fb09
lea ecx, [ebp + 0x191c]
push ecx
call fcn.004fd670
add esp, 0xc
push edi
cmp byte [ebp - 0x11], 0
je 0x44fbf9
mov edx, dword [ebp + 0x10]
push edx
push str.OS_INFO___platform_id__d__and__major__d__and__x64_TRUE__
jmp 0x44fc02
mov eax, dword [ebp + 0x10]
push eax
push str.OS_INFO___platform_id__d__and__major__d__
lea edx, [ebp + 0x191c]
call fcn.00404380
add esp, 0xc
lea ebx, [ebp - 0x18]
lea edx, [ebp + 0x191c]
mov esi, dword [ebp - 0x20]
mov ecx, esi
call fcn.00487c40
test eax, eax
jne 0x44fc8d
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp + 0x91c]
call fcn.00487da0
push 0x400
lea edx, [ebp + 0x111c]
push edx
mov ebx, 0x549304
lea edx, [ebp + 0x191c]
mov ecx, esi
call fcn.00487fa0
test eax, eax
je 0x44fc78
push 0x3ff
lea eax, [ebp + 0x91c]
push eax
push 0x400
lea ecx, [ebp + 0x111c]
push ecx
call fcn.004fa71b
add esp, 0x10
mov dword [ebp - 0x44], 0
push 0x5814b0
lea edx, [ebp - 0x44]
push edx
call fcn.004fd5a3
sub edi, 1
jmp 0x44faf8
push str.WINXP
push 0x400
lea ecx, [ebp + 0x91c]
push ecx
call fcn.004fa71b
push 0x3ff
push str.WINXP_2000_VISTA_32
push 0x400
lea edx, [ebp + 0x111c]
push edx
call fcn.004fa71b
add esp, 0x20
lea eax, [ebp + 0x91c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fd03
sub eax, edx
sar eax, 1
push 0
push 1
add eax, eax
push eax
push str.OS_String
mov esi, dword [ebp - 0x2c]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push edx
lea ecx, [ebp + 0x91c]
mov edx, str.InstallingSetupOS
call fcn.004924c0
add esp, 0x14
lea eax, [ebp + 0x111c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44fd43
sub eax, edx
sar eax, 1
push 0
push 1
add eax, eax
push eax
push str.OS_Dir
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push edx
lea ecx, [ebp + 0x111c]
mov edx, str.InstallingSetupOS
call fcn.004924c0
lea eax, [ebp + 0x91c]
push eax
push str.OS_String_______s_
mov ecx, 0x649e50
call fcn.004918f0
lea ecx, [ebp + 0x111c]
push ecx
push str.OS_Directory____s_
mov ecx, 0x649e50
call fcn.004918f0
add esp, 0x24
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.004fa103
add ebp, 0x2120
mov esp, ebp
pop ebp
ret 4