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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f94c8
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x542488]
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 [0x54c638]
mov edi, dword [eax + ecx*4]
mov eax, dword [0x54aebc]
cmp eax, dword [edi + 4]
jg 0x4430dd
cmp byte [0x54aeb8], 0
je 0x443087
mov al, 1
jmp 0x4430bc
mov eax, dword [0x54aec4]
cmp eax, dword [edi + 4]
jg 0x443197
cmp byte [0x54aec0], 0
je 0x4430a6
mov al, byte [ebp + 8]
jmp 0x4430bc
mov eax, dword [0x54aecc]
cmp eax, dword [edi + 4]
jg 0x44322a
mov al, byte [0x54aec8]
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.004b5e78
mov esp, ebp
pop ebp
ret
call fcn.004c19b9
push 0x54aebc
call fcn.004b6104
add esp, 4
cmp dword [0x54aebc], 0xffffffff
jne 0x44307a
mov eax, dword [0x5414cc]
mov dword [ebp - 4], 0
cmp eax, 0xffffffff
je 0x44310c
cmp eax, 1
sete al
jmp 0x443179
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x44316b
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x443162
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 0x44316b
mov dword [0x5414cc], 1
mov al, 1
jmp 0x443179
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x44316b
mov dword [0x5414cc], 0
xor al, al
jmp 0x443179
push 0x54aebc
mov byte [0x54aeb8], al
mov dword [ebp - 4], 0xffffffff
call fcn.004b60ba
add esp, 4
jmp 0x44307a
push 0x54aec4
call fcn.004b6104
add esp, 4
cmp dword [0x54aec4], 0xffffffff
jne 0x443098
push 0x110
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.004b8860
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 0x54aec4
sete byte [0x54aec0]
call fcn.004b60ba
add esp, 4
jmp 0x443098
push 0x54aecc
call fcn.004b6104
add esp, 4
cmp dword [0x54aecc], 0xffffffff
jne 0x4430b7
push 0
push str.d2d1.dll
mov dword [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x443392
cmp ebx, 0x7fffffff
jbe 0x44326e
call fcn.00402600
cmp ebx, 0x1000
jb 0x44329e
lea eax, [ebx + 0x23]
cmp eax, ebx
ja 0x443282
call fcn.004025d0
push eax
call fcn.004b5e3a
add esp, 4
test eax, eax
je 0x4430d8
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x4432ab
push ebx
call fcn.004b5e3a
add esp, 4
mov esi, eax
jmp 0x4432ab
push ebx
push 0
push esi
lea edi, [esi + ebx]
call fcn.004b8860
add esp, 0xc
push esi
push ebx
push 0
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x443360
lea eax, [ebp - 0x134]
mov dword [ebp - 0x130], 0
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], 0
push eax
push 0x503854
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x443360
cmp dword [ebp - 0x134], 0
je 0x443360
mov eax, dword [ebp - 0x130]
cmp dword [eax + 8], 0x60002
ja 0x44332a
jne 0x443326
cmp dword [eax + 0xc], 0x23f0406c
jae 0x44332a
jmp 0x443326
xor bl, bl
jmp 0x44332e
mov bl, 1
jmp 0x44332e
test esi, esi
je 0x443396
sub edi, esi
cmp edi, 0x1000
jb 0x443354
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4430d8
mov esi, ecx
jmp 0x443354
push edi
push esi
call fcn.004b5e6a
add esp, 8
jmp 0x443396
test esi, esi
je 0x443392
sub edi, esi
cmp edi, 0x1000
jb 0x443386
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x4430d8
mov esi, ecx
jmp 0x443386
push edi
push esi
call fcn.004b5e6a
add esp, 8
jmp 0x443392
xor bl, bl
jmp 0x443396
push 0x54aecc
mov byte [0x54aec8], bl
call fcn.004b60ba
add esp, 4
jmp 0x4430b7