Function at 0x4d2790
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57eec3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x5c8128]
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.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4d27e3
mov ecx, eax
call fcn.00425220
mov edi, eax
jmp 0x4d27e5
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 0x118
call fcn.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4d2829
mov ecx, eax
call fcn.004080b0
mov edi, eax
jmp 0x4d282b
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 [0x585f40]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x58]
push 0xc0
call fcn.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4d287f
mov ecx, eax
call fcn.0041eb30
jmp 0x4d2881
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 [0x585f10]
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.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x4d28f6
mov ecx, eax
call fcn.00412cf0
mov edi, eax
jmp 0x4d28f8
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 0x585e14
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 0x4d298e
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x4d2982
mov dword [section..data], 1
jmp 0x4d2992
mov dword [section..data], 0
jmp 0x4d299b
test eax, eax
je 0x4d299b
push 0xffffffffffffffec
mov ecx, edi
call fcn.00414250
push 2
mov ecx, edi
call fcn.00409bc0
push 0x12c
call fcn.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x4d29ca
mov ecx, eax
call fcn.00411580
mov edi, eax
jmp 0x4d29cc
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.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
test eax, eax
je 0x4d2a68
mov ecx, eax
call fcn.00412cf0
mov ecx, eax
mov dword [ebp - 0x10], eax
jmp 0x4d2a6d
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x188], ecx
je 0x4d2a9f
test ecx, ecx
je 0x4d2a89
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 0x4d2a9f
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 [0x585ec0]
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.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x4d2b4f
mov ecx, eax
call fcn.00412cf0
mov ecx, eax
mov dword [ebp - 0x10], eax
jmp 0x4d2b54
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x18c], ecx
je 0x4d2b86
test ecx, ecx
je 0x4d2b70
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 0x4d2b86
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 [0x585ed0]
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 0x585e44
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 0x585e4c
call fcn.00407900
mov ecx, dword [esi + 0x18c]
call fcn.004133b0
push 0x12c
call fcn.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x4d2c5b
mov ecx, eax
call fcn.00411580
mov edi, eax
jmp 0x4d2c5d
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x180], edi
je 0x4d2c8c
test edi, edi
je 0x4d2c76
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x180]
mov dword [esi + 0x180], edi
test eax, eax
je 0x4d2c8c
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 [0x585f20]
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 [0x585f30]
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.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x4d2d13
mov ecx, eax
call fcn.0041eb30
mov edi, eax
mov dword [ebp - 0x10], eax
jmp 0x4d2d18
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 [0x585ef0]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.0041fb50
push 0xc0
call fcn.004f554a
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x4d2d75
mov ecx, eax
call fcn.0041eb30
mov edi, eax
mov dword [ebp - 0x14], eax
jmp 0x4d2d7a
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 [0x585ef0]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.0041fb50
push 0x134
call fcn.004f554a
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x4d2dd4
mov ecx, eax
call fcn.00425660
mov edi, eax
jmp 0x4d2dd6
xor edi, edi
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x184], edi
je 0x4d2e05
test edi, edi
je 0x4d2def
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov eax, dword [esi + 0x184]
mov dword [esi + 0x184], edi
test eax, eax
je 0x4d2e05
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 [0x585f00]
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