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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cae3c
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x50b3e0]
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 [0x5132c4]
test al, 1
jne 0x43e4da
or eax, 1
mov dword [0x5132c4], eax
mov ecx, dword [0x50a40c]
mov dword [ebp - 4], 0
cmp ecx, 0xffffffff
je 0x43e45d
cmp ecx, 1
mov dword [ebp - 4], 0xffffffff
sete cl
mov byte [0x5132c0], cl
jmp 0x43e4e0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x43e4ba
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e4b3
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 0x43e4ba
mov dword [0x50a40c], 1
mov cl, 1
jmp 0x43e4c6
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x50a40c], 0
xor cl, cl
mov eax, dword [0x5132c4]
mov byte [0x5132c0], cl
mov dword [ebp - 4], 0xffffffff
jmp 0x43e4e0
mov cl, byte [0x5132c0]
test cl, cl
je 0x43e4eb
mov al, 1
jmp 0x43e6d9
test al, 2
jne 0x43e567
or eax, 2
push 0x110
mov dword [0x5132c4], eax
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0048ee50
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
mov eax, dword [0x5132c4]
sete cl
mov byte [0x5132c8], cl
jmp 0x43e56d
mov cl, byte [0x5132c8]
test cl, cl
je 0x43e579
mov al, byte [ebp + 8]
jmp 0x43e6d9
test al, 4
jne 0x43e6d1
or eax, 4
mov dword [0x5132c4], eax
push 0
push str.d2d1.dll
mov dword [ebp - 4], 1
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x43e6c7
cmp ebx, 0x7fffffff
ja 0x43e6f5
cmp ebx, 0x1000
jb 0x43e5e1
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x43e6fa
push eax
call fcn.0048c62e
add esp, 4
test eax, eax
je 0x43e6ff
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43e5ec
push ebx
call fcn.0048c62e
add esp, 4
mov esi, eax
push ebx
push 0
push esi
lea edi, [esi + ebx]
call fcn.0048ee50
add esp, 0xc
push esi
push ebx
push 0
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43e69d
lea eax, [ebp - 0x134]
mov dword [ebp - 0x130], 0
push eax
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], 0
push eax
push 0x4d70f4
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x43e69d
cmp dword [ebp - 0x134], 0
je 0x43e69d
mov eax, dword [ebp - 0x130]
cmp dword [eax + 8], 0x60002
ja 0x43e669
jne 0x43e665
cmp dword [eax + 0xc], 0x23f0406c
jae 0x43e669
xor bl, bl
jmp 0x43e66b
mov bl, 1
test esi, esi
je 0x43e6c9
sub edi, esi
cmp edi, 0x1000
jb 0x43e68b
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x43e6ff
mov esi, ecx
push edi
push esi
call fcn.0048c65e
add esp, 8
mov byte [0x5132c9], bl
jmp 0x43e6d7
test esi, esi
je 0x43e6c7
sub edi, esi
cmp edi, 0x1000
jb 0x43e6bd
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x43e6ff
mov esi, ecx
push edi
push esi
call fcn.0048c65e
add esp, 8
xor bl, bl
mov byte [0x5132c9], bl
jmp 0x43e6d7
mov bl, byte [0x5132c9]
mov al, bl
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.0048c66c
mov esp, ebp
pop ebp
ret
call fcn.00402d00
call fcn.00402cd0
call fcn.00497fa9
int3