Function at 0x46ecb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4a6ac8
push 0x40d8c0
mov eax, dword fs:[0]
push eax
add esp, 0xffffff5c
push ebx
push esi
push edi
mov eax, dword [0x4a9398]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
jmp 0x46ecff
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x28
jge 0x46ed11
mov ecx, dword [ebp - 0x1c]
imul ecx, dword [ebp - 0x20]
mov dword [ebp - 0x1c], ecx
jmp 0x46ecf6
cmp dword [ebp - 0x1c], 0
jle 0x46ed20
mov edx, dword [ebp - 0x1c]
imul edx, edx, 5
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x46ed36
mov dword [ebp - 0x1c], 0x11
nop
nop
nop
mov dword [ebp - 0x24], 0
mov edx, 1
test edx, edx
je 0x46ed7b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x46ed66
jmp 0x46ed7b
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
jmp 0x46ed40
mov ecx, dword [ebp - 0x1c]
add ecx, 0x1b
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], 0
mov edx, 1
test edx, edx
je 0x46edc6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x46edb1
jmp 0x46edc6
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x2c]
add eax, 1
mov dword [ebp - 0x2c], eax
jmp 0x46ed8b
mov ecx, dword [ebp - 0x1c]
add ecx, 0x17
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x34], 0
jmp 0x46ede1
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x1f
jge 0x46edf2
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
jmp 0x46edd8
cmp dword [ebp - 0x1c], 0xffff0001
jge 0x46ee04
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 0xfffffffb
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
je 0x46ee1c
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], 0
jmp 0x46ee2e
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0x1d
jge 0x46ee5f
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
jge 0x46ee47
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46ee5d
mov dword [ebp - 0x1c], 0
jmp 0x46ee25
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
jmp 0x46ee7f
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 6
jge 0x46eea9
mov eax, dword [ebp - 0x40]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46ee9d
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
jmp 0x46ee76
mov dword [ebp - 4], 0xfffffffe
jmp 0x46eee1
mov dword [ebp - 4], 1
mov dword [ebp - 0x44], 0
jmp 0x46eefa
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 5
jge 0x46ef30
mov eax, dword [ebp - 0x44]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x46ef20
mov eax, dword [ebp - 0x44]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x46ef2b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x46ef2e
mov dword [ebp - 0x1c], eax
jmp 0x46eef1
mov dword [ebp - 4], 0xfffffffe
call fcn.0046ef3e
jmp 0x46ef46
mov dword [ebp - 4], 2
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
jmp 0x46ef66
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
cmp dword [ebp - 0x4c], 3
jge 0x46ef90
mov eax, dword [ebp - 0x4c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46ef84
mov edx, dword [ebp - 0x48]
sub edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
jmp 0x46ef5d
mov dword [ebp - 4], 0xfffffffe
jmp 0x46efc8
mov dword [ebp - 4], 3
mov dword [ebp - 0x50], 0
jmp 0x46efe1
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 3
jge 0x46f017
mov eax, dword [ebp - 0x50]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x46f007
mov eax, dword [ebp - 0x50]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x46f012
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x46f015
mov dword [ebp - 0x1c], eax
jmp 0x46efd8
mov dword [ebp - 4], 0xfffffffe
call fcn.0046f025
jmp 0x46f02d
mov dword [ebp - 4], 4
mov dword [ebp - 0x54], 0
jmp 0x46f046
mov edx, dword [ebp - 0x54]
add edx, 1
mov dword [ebp - 0x54], edx
cmp dword [ebp - 0x54], 9
jge 0x46f07c
mov eax, dword [ebp - 0x54]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x46f06c
mov eax, dword [ebp - 0x54]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x46f077
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x46f07a
mov dword [ebp - 0x1c], eax
jmp 0x46f03d
mov dword [ebp - 4], 0xfffffffe
call fcn.0046f08a
jmp 0x46f092
mov dword [ebp - 0x58], 0
jmp 0x46f0a4
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0xc
jge 0x46f0d5
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
jge 0x46f0bd
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f0d3
mov dword [ebp - 0x1c], 0
jmp 0x46f09b
mov dword [ebp - 0x5c], 0
jmp 0x46f0e7
mov edx, dword [ebp - 0x5c]
add edx, 1
mov dword [ebp - 0x5c], edx
cmp dword [ebp - 0x5c], 7
jge 0x46f118
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], eax
jge 0x46f100
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f116
mov dword [ebp - 0x1c], 0
jmp 0x46f0de
mov dword [ebp - 0x60], 0
jmp 0x46f12a
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
cmp dword [ebp - 0x60], 7
jge 0x46f15b
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
jge 0x46f143
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f159
mov dword [ebp - 0x1c], 0
jmp 0x46f121
mov dword [ebp - 0x64], 0
jmp 0x46f16d
mov edx, dword [ebp - 0x64]
add edx, 1
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
jge 0x46f19d
mov eax, dword [ebp - 0x64]
and eax, 0x80000001
jns 0x46f182
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x46f192
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], ecx
jmp 0x46f19b
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x64]
mov dword [ebp - 0x1c], edx
jmp 0x46f164
push 0x498878
push 0x498880
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x68], 0
mov eax, 1
test eax, eax
je 0x46f1ef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x46f1da
jmp 0x46f1ef
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x68]
add eax, 1
mov dword [ebp - 0x68], eax
jmp 0x46f1b4
mov ecx, dword [ebp - 0x1c]
add ecx, 7
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 5
mov dword [ebp - 0x70], 7
mov dword [ebp - 0x74], 0
jmp 0x46f218
mov edx, dword [ebp - 0x74]
add edx, 1
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x74], 1
jge 0x46f242
mov eax, dword [ebp - 0x74]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f236
mov edx, dword [ebp - 0x70]
sub edx, 1
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x70]
mov dword [ebp - 0x1c], eax
jmp 0x46f20f
mov dword [ebp - 4], 0xfffffffe
jmp 0x46f27a
mov dword [ebp - 0x78], 0
mov edx, 1
test edx, edx
je 0x46f2bc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x46f2a7
jmp 0x46f2bc
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x78]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x78]
add eax, 1
mov dword [ebp - 0x78], eax
jmp 0x46f281
mov ecx, dword [ebp - 0x1c]
add ecx, 3
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 6
mov dword [ebp - 0x80], 0
jmp 0x46f2de
mov edx, dword [ebp - 0x80]
add edx, 1
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 4
jge 0x46f314
mov eax, dword [ebp - 0x80]
cdq
mov ecx, 7
idiv ecx
cmp edx, 5
je 0x46f304
mov eax, dword [ebp - 0x80]
cdq
mov ecx, 0xb
idiv ecx
cmp edx, 7
jne 0x46f30f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
jmp 0x46f312
mov dword [ebp - 0x1c], eax
jmp 0x46f2d5
mov dword [ebp - 4], 0xfffffffe
call fcn.0046f322
jmp 0x46f32a
mov dword [ebp - 0x84], 0
jmp 0x46f345
mov edx, dword [ebp - 0x84]
add edx, 1
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x84], 4
jge 0x46f381
mov eax, dword [ebp - 0x84]
and eax, 0x80000001
jns 0x46f360
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x46f373
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], ecx
jmp 0x46f37f
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x84]
mov dword [ebp - 0x1c], edx
jmp 0x46f336
push 0x498888
push 0x498890
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x88], 0
jmp 0x46f3ac
mov eax, dword [ebp - 0x88]
add eax, 1
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jge 0x46f3e3
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x88]
mov dword [ebp - 0x1c], ecx
jge 0x46f3cb
mov edx, dword [ebp - 0x1c]
neg edx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f3e1
mov dword [ebp - 0x1c], 0
jmp 0x46f39d
mov dword [ebp - 0x8c], 0
jmp 0x46f3fe
mov edx, dword [ebp - 0x8c]
add edx, 1
mov dword [ebp - 0x8c], edx
cmp dword [ebp - 0x8c], 4
jge 0x46f416
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1c], eax
jmp 0x46f3ef
cmp dword [ebp - 0x1c], 0
jle 0x46f425
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 5
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x46f43b
mov dword [ebp - 0x1c], 0x11
nop
nop
nop
mov dword [ebp - 0x90], 0
mov edx, 1
test edx, edx
je 0x46f492
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x46f474
jmp 0x46f492
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0x90]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x90]
add eax, 1
mov dword [ebp - 0x90], eax
jmp 0x46f448
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x98], 0
jmp 0x46f4b6
mov edx, dword [ebp - 0x98]
add edx, 1
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x98], 3
jge 0x46f4ce
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x98]
mov dword [ebp - 0x1c], eax
jmp 0x46f4a7
cmp dword [ebp - 0x1c], 0
jle 0x46f4dd
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 5
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 3
idiv ecx
test edx, edx
jne 0x46f4f3
mov dword [ebp - 0x1c], 0x11
nop
nop
nop
mov dword [ebp - 0x9c], 0
jmp 0x46f511
mov edx, dword [ebp - 0x9c]
add edx, 1
mov dword [ebp - 0x9c], edx
cmp dword [ebp - 0x9c], 0
jge 0x46f548
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x9c]
mov dword [ebp - 0x1c], eax
jge 0x46f530
mov ecx, dword [ebp - 0x1c]
neg ecx
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f546
mov dword [ebp - 0x1c], 0
jmp 0x46f502
mov dword [ebp - 0xa0], 0
mov edx, 1
test edx, edx
je 0x46f59c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
xor edx, edx
mov ecx, 3
div ecx
test edx, edx
jne 0x46f57e
jmp 0x46f59c
mov edx, dword [ebp - 0x1c]
imul edx, dword [ebp - 0xa0]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0xa0]
add eax, 1
mov dword [ebp - 0xa0], eax
jmp 0x46f552
mov ecx, dword [ebp - 0x1c]
add ecx, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 7
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
jmp 0x46f5d1
mov edx, dword [ebp - 0xac]
add edx, 1
mov dword [ebp - 0xac], edx
cmp dword [ebp - 0xac], 2
jge 0x46f60a
mov eax, dword [ebp - 0xac]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f5fb
mov edx, dword [ebp - 0xa8]
sub edx, 1
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0xa8]
mov dword [ebp - 0x1c], eax
jmp 0x46f5c2
mov dword [ebp - 4], 0xfffffffe
jmp 0x46f642
mov dword [ebp - 4], 8
mov dword [ebp - 0xb0], 7
mov dword [ebp - 0xb4], 0
jmp 0x46f66e
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb4], 0
jge 0x46f6a7
mov eax, dword [ebp - 0xb4]
cdq
mov ecx, 7
idiv ecx
test edx, edx
jne 0x46f698
mov edx, dword [ebp - 0xb0]
sub edx, 1
mov dword [ebp - 0xb0], edx
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0xb0]
mov dword [ebp - 0x1c], eax
jmp 0x46f65f
mov dword [ebp - 4], 0xfffffffe
jmp 0x46f6df
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret