Function at 0x4d5240
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x581e23
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5cc128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 2
call fcn.00409bc0
push 0x44
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4d5293
mov ecx, eax
call fcn.00425220
mov edi, eax
jmp 0x4d5295
xor edi, edi
push 0xffffff
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.004252e0
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0xa4]
push pe_nt_image_headers32
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4d52d9
mov ecx, eax
call fcn.004080b0
mov edi, eax
jmp 0x4d52db
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
mov ecx, edi
call fcn.00409b50
mov edx, dword [edi]
mov ecx, edi
movaps xmm0, xmmword [0x588f30]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
push 0xc0
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4d532f
mov ecx, eax
call fcn.0041eb30
jmp 0x4d5331
xor eax, eax
push 3
push 0x95
mov ecx, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0041e800
mov eax, dword [edi]
mov ecx, edi
push dword [ebp - 0x10]
call dword [eax + 0xa4]
push 1
mov ecx, edi
call fcn.0040ae10
mov edx, dword [edi]
mov ecx, edi
movaps xmm0, xmmword [0x588f00]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
push 2
mov ecx, edi
call fcn.00409bc0
push 0x170
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4d53a6
mov ecx, eax
call fcn.00412cf0
mov edi, eax
jmp 0x4d53a8
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
mov ecx, edi
call fcn.00409b50
push 1
mov ecx, edi
call fcn.00409b20
push 1
mov ecx, edi
call fcn.00409af0
push ecx
mov ecx, esp
push 0x588e0c
call fcn.00407900
mov ecx, edi
call fcn.004133b0
mov edx, dword [edi]
xorps xmm0, xmm0
push 1
sub esp, 0x10
mov ecx, edi
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
push 1
mov ecx, edi
call fcn.0040ae10
mov eax, dword [edi]
mov ecx, edi
push 0x333333
call dword [eax + 0x12c]
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x4d543e
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4d5432
mov dword [section..data], 1
jmp 0x4d5442
mov dword [section..data], 0
jmp 0x4d544b
test eax, eax
je 0x4d544b
push 0xffffffffffffffec
mov ecx, edi
call fcn.00414250
push 2
mov ecx, edi
call fcn.00409bc0
push 0x12c
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4d547a
mov ecx, eax
call fcn.00411580
mov edi, eax
jmp 0x4d547c
xor edi, edi
mov eax, dword [edi]
mov ecx, edi
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x14]
push 1
mov ecx, edi
call fcn.00409b50
push 1
mov ecx, edi
call fcn.0040ae10
push 1
sub esp, 0x10
mov ecx, edi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x154
mov dword [eax + 0xc], 0x1e
mov eax, dword [edi]
call dword [eax + 0x58]
push 1
sub esp, 0x10
mov ecx, edi
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0x3c
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov eax, dword [edi]
call dword [eax + 0x7c]
push 0x170
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4d5518
mov ecx, eax
call fcn.00412cf0
mov ecx, eax
mov dword [ebp - 0x10], eax
jmp 0x4d551d
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x188], ecx
je 0x4d554f
test ecx, ecx
je 0x4d5539
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x188]
mov dword [esi + 0x188], ecx
test eax, eax
je 0x4d554f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x188]
push 0
call fcn.00409b50
mov ecx, dword [esi + 0x188]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x188]
movaps xmm0, xmmword [0x588eb0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x188]
push 1
call fcn.00409b20
mov ecx, dword [esi + 0x188]
push 1
call fcn.00409af0
push ecx
mov ecx, esp
push str.ck_W
call fcn.00407900
mov ecx, dword [esi + 0x188]
call fcn.004133b0
mov ecx, dword [esi + 0x188]
push 0x333333
mov eax, dword [ecx]
call dword [eax + 0x12c]
mov ecx, dword [esi + 0x188]
push 0xfffffffffffffff2
call fcn.00414250
push 0x170
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x4d55ff
mov ecx, eax
call fcn.00412cf0
mov ecx, eax
mov dword [ebp - 0x10], eax
jmp 0x4d5604
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x18c], ecx
je 0x4d5636
test ecx, ecx
je 0x4d5620
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
mov eax, dword [esi + 0x18c]
mov dword [esi + 0x18c], ecx
test eax, eax
je 0x4d5636
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x18c]
push 2
call fcn.00409b50
mov ecx, dword [esi + 0x18c]
push 0x8822
call fcn.00414190
mov ecx, dword [esi + 0x18c]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x18c]
movaps xmm0, xmmword [0x588ec0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x18c]
push 1
call fcn.00409b20
mov ecx, dword [esi + 0x18c]
push 1
call fcn.00409af0
push ecx
mov ecx, esp
push 0x588e3c
call fcn.00407900
mov ecx, dword [esi + 0x18c]
call fcn.004133b0
mov ecx, dword [esi + 0x18c]
push 0x666666
mov eax, dword [ecx]
call dword [eax + 0x12c]
mov ecx, dword [esi + 0x18c]
push 0xfffffffffffffff2
call fcn.00414250
push ecx
mov ecx, esp
push 0x588e44
call fcn.00407900
mov ecx, dword [esi + 0x18c]
call fcn.004133b0
push 0x12c
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x4d570b
mov ecx, eax
call fcn.00411580
mov edi, eax
jmp 0x4d570d
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x180], edi
je 0x4d573c
test edi, edi
je 0x4d5726
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x180]
mov dword [esi + 0x180], edi
test eax, eax
je 0x4d573c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x180]
push esi
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x180]
push 3
call fcn.00409b50
mov ecx, dword [esi + 0x180]
movaps xmm0, xmmword [0x588f10]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
mov ecx, dword [esi + 0x180]
movaps xmm0, xmmword [0x588f20]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x180]
push 2
call fcn.00409bc0
push 0xc0
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x4d57c3
mov ecx, eax
call fcn.0041eb30
mov edi, eax
mov dword [ebp - 0x10], eax
jmp 0x4d57c8
xor edi, edi
mov dword [ebp - 0x10], edi
push 3
push 0x8b
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041e800
push 2
mov ecx, edi
call fcn.0041fa00
movaps xmm0, xmmword [0x588ee0]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.0041fb50
push 0xc0
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x4d5825
mov ecx, eax
call fcn.0041eb30
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x4d582a
xor edi, edi
mov dword [ebp - 0x14], edi
push 3
push 0x89
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0041e800
push 2
mov ecx, edi
call fcn.0041fa00
movaps xmm0, xmmword [0x588ee0]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.0041fb50
push 0x134
call fcn.004f81ee
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x4d5884
mov ecx, eax
call fcn.00425660
mov edi, eax
jmp 0x4d5886
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x184], edi
je 0x4d58b5
test edi, edi
je 0x4d589f
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x184]
mov dword [esi + 0x184], edi
test eax, eax
je 0x4d58b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0x184]
push 3
call fcn.00409b50
mov ecx, dword [esi + 0x184]
push 1
call fcn.0040ae10
mov ecx, dword [esi + 0x184]
push dword [esi + 0x180]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x184]
xorps xmm0, xmm0
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x7c]
mov ecx, dword [esi + 0x184]
push dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push dword [ebp - 0x14]
mov ecx, dword [esi + 0x184]
call fcn.004257e0
mov ecx, dword [esi + 0x184]
movaps xmm0, xmmword [0x588ef0]
push 1
sub esp, 0x10
mov edx, dword [ecx]
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret