Function at 0x52d3ca
Capabilities:
Check os version
Link many functions at runtime

Disassembly:
mov ecx, 0x6c6940
jmp 0x52d3b0
push 0xffffffffffffffff
push 0x6214a1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov al, byte [esi + 4]
lea ecx, [esi + 0xc]
and al, 0xfe
push str.Unknown
mov dword [esp + 0x18], esi
mov dword [esi], ebx
mov byte [esi + 4], al
mov dword [esi + 8], ebx
call fcn.005dd21e
mov al, byte [esi + 0xa5]
lea ecx, [esi + 0xc4]
and al, 0xe0
mov dword [esp + 0x20], ebx
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], al
call fcn.005514a0
lea ebp, [esi + 0x10]
mov ecx, 0x25
xor eax, eax
mov edi, ebp
mov dword [esi + 0x190], ebx
mov dword [esi + 0x194], ebx
mov dword [esi + 0x198], ebx
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a0], ebx
mov dword [esi + 0x1a4], ebx
mov dword [esi + 0x1a8], ebx
mov dword [esi + 0x1ac], ebx
rep stosd dword es:[edi], eax
push 0x6b3df8
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
mov dword [ebp], 0x94
call fcn.005dd21e
push ebp
mov byte [esp + 0x24], 2
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esi + 0x20]
sub eax, ebx
je 0x52d5e8
dec eax
je 0x52d533
dec eax
jne 0x52d605
mov al, byte [esi + 0xa4]
mov ecx, dword [esi + 0x14]
or al, 0x20
cmp ecx, 5
mov byte [esi + 0xa4], al
jne 0x52d4d5
mov ecx, dword [esi + 0x18]
cmp ecx, ebx
jne 0x52d4ba
or al, 0x80
push str.Windows_2000
mov byte [esi + 0xa4], al
jmp 0x52d4e7
cmp ecx, 1
jne 0x52d4f0
mov cl, byte [esi + 0xa5]
push str.Windows_XP
or cl, 1
mov byte [esi + 0xa5], cl
jmp 0x52d4e7
cmp ecx, 4
jne 0x52d4e2
or al, 0x40
mov byte [esi + 0xa4], al
push str.Windows_NT
lea ecx, [esp + 0x14]
call fcn.005dd2ed
mov eax, dword [esi + 0x14]
cmp eax, 4
jb 0x52d4ff
or byte [esi + 0xa5], 2
cmp eax, 5
jb 0x52d605
mov cl, byte [esi + 0xa5]
or cl, 4
cmp eax, 5
mov byte [esi + 0xa5], cl
jne 0x52d525
cmp dword [esi + 0x18], ebx
je 0x52d605
or cl, 8
mov byte [esi + 0xa5], cl
jmp 0x52d605
mov cl, byte [esi + 0xa4]
mov edx, dword [esi + 0x14]
or cl, 2
cmp edx, 4
mov byte [esi + 0xa4], cl
jne 0x52d556
cmp dword [esi + 0x18], ebx
jne 0x52d556
mov eax, 1
jmp 0x52d558
xor eax, eax
and al, 1
and cl, 0xfb
shl al, 2
or al, cl
cmp edx, 4
mov byte [esi + 0xa4], al
ja 0x52d578
jne 0x52d574
cmp dword [esi + 0x18], ebx
ja 0x52d578
xor ecx, ecx
jmp 0x52d57d
mov ecx, 1
and cl, 1
and al, 0xef
shl cl, 4
or cl, al
push str.Windows
mov byte [esi + 0xa4], cl
lea ecx, [esp + 0x14]
call fcn.005dd2ed
mov al, byte [esi + 0xa4]
test al, 0x10
je 0x52d5d8
cmp dword [esi + 0x14], 4
jne 0x52d5c8
cmp dword [esi + 0x18], ebx
jbe 0x52d5c8
or al, 8
push 0x6b0a84
lea ecx, [esp + 0x14]
mov byte [esi + 0xa4], al
call fcn.005dd540
jmp 0x52d605
push str.98_or_later
lea ecx, [esp + 0x14]
call fcn.005dd540
jmp 0x52d605
push 0x6b0a74
lea ecx, [esp + 0x14]
call fcn.005dd540
jmp 0x52d605
mov cl, byte [esi + 0xa4]
push str.Win32s
or cl, 1
mov byte [esi + 0xa4], cl
lea ecx, [esp + 0x14]
call fcn.005dd2ed
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x18]
lea eax, [esi + 0x24]
push eax
mov eax, dword [esi + 0x14]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
lea eax, [esi + 0xc]
push str._s_v._lu._lu__build__lu___s
push eax
call fcn.005d59a6
add esp, 0x1c
mov ecx, esi
call fcn.0052d6f0
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.msimg32.dll
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
mov dword [esi + 0x194], eax
je 0x52d685
push str.GradientFill
push eax
call edi
mov edx, dword [esi + 0x194]
push str.AlphaBlend
push edx
mov dword [esi + 0x198], eax
call edi
mov dword [esi + 0x19c], eax
mov eax, dword [esi + 0x194]
push str.TransparentBlt
push eax
call edi
mov dword [esi + 0x1a0], eax
push str.user32.dll
call ebp
cmp eax, ebx
mov dword [esi + 0x1a4], eax
je 0x52d6b8
push str.AnimateWindow
push eax
call edi
mov ecx, dword [esi + 0x1a4]
push str.SetLayeredWindowAttributes
push ecx
mov dword [esi + 0x1a8], eax
call edi
mov dword [esi + 0x1ac], eax
mov ecx, esi
call fcn.0052d980
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.005dd1b0
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret