Function at 0x442e00
Capabilities:
Check os version
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d21a8
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x513480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x51c9dc]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x51b2f4]
cmp eax, dword [edi + 4]
jg 0x442ead
cmp byte [0x51b2f0], 0
je 0x442e57
mov al, 1
jmp 0x442e8c
mov eax, dword [0x51b2fc]
cmp eax, dword [edi + 4]
jg 0x442f67
cmp byte [0x51b2f8], 0
je 0x442e76
mov al, byte [ebp + 8]
jmp 0x442e8c
mov eax, dword [0x51b304]
cmp eax, dword [edi + 4]
jg 0x442ffa
mov al, byte [0x51b300]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491e13
mov esp, ebp
pop ebp
ret
call fcn.0049d959
push 0x51b2f4
call fcn.0049209f
add esp, 4
cmp dword [0x51b2f4], 0xffffffff
jne 0x442e4a
mov eax, dword [0x5124cc]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x442edc
cmp eax, 1
sete al
jmp 0x442f49
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x442f3b
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x442f32
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x138]
push ecx
lea ecx, [ebp - 0x130]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x130], 0xa
jne 0x442f3b
mov dword [0x5124cc], 1
mov al, 1
jmp 0x442f49
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x442f3b
mov dword [0x5124cc], 0
xor al, al
jmp 0x442f49
push 0x51b2f4
mov byte [0x51b2f0], al
mov dword [ebp - 4], 0xffffffff
call fcn.00492055
add esp, 4
jmp 0x442e4a
push 0x51b2fc
call fcn.0049209f
add esp, 4
cmp dword [0x51b2fc], 0xffffffff
jne 0x442e68
push 0x110
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.00494800
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
mov dword [ebp - 0x128], 6
mov dword [ebp - 0x124], 2
push 3
push 1
push 3
push 2
push 0
push 0
call esi
push edx
push eax
call esi
push edx
push eax
push 3
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
cmp eax, 1
push 0x51b2fc
sete byte [0x51b2f8]
call fcn.00492055
add esp, 4
jmp 0x442e68
push 0x51b304
call fcn.0049209f
add esp, 4
cmp dword [0x51b304], 0xffffffff
jne 0x442e87
push 0
push str.d2d1.dll
mov dword [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x443162
cmp ebx, 0x7fffffff
jbe 0x44303e
call fcn.00402680
cmp ebx, 0x1000
jb 0x44306e
lea eax, [ebx + 0x23]
cmp eax, ebx
ja 0x443052
call fcn.00402650
push eax
call fcn.00491dd5
add esp, 4
test eax, eax
je 0x442ea8
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x44307b
push ebx
call fcn.00491dd5
add esp, 4
mov esi, eax
jmp 0x44307b
push ebx
push 0
push esi
lea edi, [esi + ebx]
call fcn.00494800
add esp, 0xc
push esi
push ebx
push 0
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443130
lea eax, [ebp - 0x134]
mov dword [ebp - 0x130], 0
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], 0
push eax
push 0x4de128
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443130
cmp dword [ebp - 0x134], 0
je 0x443130
mov eax, dword [ebp - 0x130]
cmp dword [eax + 8], 0x60002
ja 0x4430fa
jne 0x4430f6
cmp dword [eax + 0xc], 0x23f0406c
jae 0x4430fa
jmp 0x4430f6
xor bl, bl
jmp 0x4430fe
mov bl, 1
jmp 0x4430fe
test esi, esi
je 0x443166
sub edi, esi
cmp edi, 0x1000
jb 0x443124
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x442ea8
mov esi, ecx
jmp 0x443124
push edi
push esi
call fcn.00491e05
add esp, 8
jmp 0x443166
test esi, esi
je 0x443162
sub edi, esi
cmp edi, 0x1000
jb 0x443156
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x442ea8
mov esi, ecx
jmp 0x443156
push edi
push esi
call fcn.00491e05
add esp, 8
jmp 0x443162
xor bl, bl
jmp 0x443166
push 0x51b304
mov byte [0x51b300], bl
call fcn.00492055
add esp, 4
jmp 0x442e87