Function at 0x410ad0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49696d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x4bb0c8]
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 ebx, ecx
mov dword [ebp - 0x34], ebx
mov edx, dword [0x4bdc3c]
or esi, 0xffffffff
cmp edx, 1
je 0x410b93
test edx, edx
jne 0x410b38
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xa4]
mov eax, dword [eax + 0xa8]
cmp ecx, 0xa
jne 0x410b71
mov edx, 4
mov dword [0x4bdc3c], edx
test ebx, ebx
je 0x410e53
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x410b45
sub edi, ecx
sar edi, 1
mov dword [ebp - 0x44], edi
je 0x410e53
xor eax, eax
test edi, edi
je 0x410ba4
cmp word [ebx + eax*2], 0x2d
je 0x410b9b
inc eax
cmp eax, edi
jb 0x410b63
jmp 0x410b9c
cmp ecx, 6
jne 0x410b89
cmp eax, 3
jne 0x410b7f
mov edx, eax
jmp 0x410b32
add eax, 0xffffffff
jne 0x410b89
lea edx, [eax + 2]
jmp 0x410b32
mov dword [0x4bdc3c], 1
or eax, 0xffffffff
jmp 0x410e55
inc eax
cmp edi, eax
je 0x410e53
cmp edx, 4
je 0x410bb1
lea ebx, [ebx + eax*2]
sub edi, eax
mov dword [ebp - 0x34], ebx
xor bl, bl
xor eax, eax
test edi, edi
je 0x410bdd
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx + edi*2]
nop
movzx edx, word [ecx]
test bl, bl
jne 0x410bd0
cmp edx, 0x2e
jne 0x410bd5
mov bl, 1
jmp 0x410bd5
cmp edx, 0x2d
je 0x410bdd
inc eax
sub ecx, 2
cmp eax, edi
jb 0x410bc0
mov ebx, dword [ebp - 0x34]
sub edi, eax
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x34], ebx
je 0x410e53
cmp edi, eax
je 0x410e53
mov ecx, dword fs:[0x30]
mov eax, dword [0x4bdc3c]
sub eax, 2
je 0x411128
sub eax, 1
je 0x410f59
sub eax, 1
jne 0x410e53
mov edi, dword [ecx + 0x38]
mov dword [ebp - 0x4c], edi
test ebx, ebx
je 0x410e50
cmp word [ebx], ax
je 0x410e50
test edi, edi
je 0x410e50
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x50], ebx
cmp dword [ebp - 0x44], edx
jbe 0x410c67
mov esi, dword [edi + 0x18]
mov edi, dword [ebp - 0x44]
nop
mov eax, dword [ebp - 0x34]
imul ebx, esi
movzx ecx, word [eax + edx*2]
inc edx
add ebx, ecx
cmp edx, edi
jb 0x410c50
mov edi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ebx
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
add ecx, edi
add eax, edi
mov dword [ebp - 0x48], ecx
test ecx, ecx
je 0x410e50
test eax, eax
je 0x410e50
mov ecx, dword [edi + 0xc]
xor esi, esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x5c], ecx
test ecx, ecx
je 0x410e50
add eax, 4
mov edx, 0x80
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x30], eax
mov eax, dword [eax - 4]
cmp eax, ebx
jb 0x410ebd
ja 0x410e50
mov eax, dword [ebp - 0x58]
cmp dword [eax], ecx
ja 0x410e50
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x48]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
lea eax, [eax + eax*2]
mov ebx, dword [ebx + eax*8 + 4]
mov eax, dword [ebp - 0x44]
add ebx, edi
mov edi, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x2c], eax
nop
movzx esi, word [ebx]
test si, si
je 0x410d40
test eax, eax
je 0x410d40
movzx eax, word [edi]
cmp ax, si
je 0x410d2d
mov ecx, eax
cmp ax, dx
mov edx, ecx
jae 0x410d09
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
mov ecx, 0x80
mov eax, esi
cmp ax, cx
mov ecx, esi
jae 0x410d23
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
cmp dx, cx
jne 0x410d40
mov edx, 0x80
mov eax, dword [ebp - 0x2c]
add edi, 2
dec eax
add ebx, 2
mov dword [ebp - 0x2c], eax
cmp word [edi], 0
jne 0x410ce0
movzx eax, word [edi]
mov edi, 0x80
mov ecx, eax
mov edx, eax
cmp ax, di
jae 0x410d5d
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
movzx eax, word [ebx]
mov esi, eax
mov ecx, eax
cmp ax, di
jae 0x410d75
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
cmp edx, ecx
je 0x410e7b
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x48]
add eax, 4
mov dword [ebp - 0x3c], eax
nop dword [eax + eax]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x44]
add ebx, dword [ebp - 0x4c]
dec eax
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
nop
movzx esi, word [ebx]
test si, si
je 0x410dfe
test eax, eax
je 0x410dfe
movzx eax, word [edi]
cmp ax, si
je 0x410deb
mov edx, 0x80
mov ecx, eax
cmp ax, dx
mov edx, ecx
jae 0x410dce
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
mov eax, esi
mov ecx, 0x80
cmp ax, cx
jae 0x410de6
lea ecx, [esi - 0x41]
or eax, 0x20
cmp ecx, 0x19
cmova eax, esi
cmp dx, ax
jne 0x410dfe
mov eax, dword [ebp - 0x38]
add edi, 2
dec eax
add ebx, 2
mov dword [ebp - 0x38], eax
cmp word [edi], 0
jne 0x410da0
movzx eax, word [edi]
mov edi, 0x80
mov ecx, eax
mov edx, eax
cmp ax, di
jae 0x410e1b
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
movzx eax, word [ebx]
mov esi, eax
mov ecx, eax
cmp ax, di
jae 0x410e33
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
cmp edx, ecx
je 0x410e71
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x3c]
inc ecx
add eax, 0x18
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x3c], eax
cmp ecx, dword [ebp - 0x5c]
jb 0x410d90
or esi, 0xffffffff
mov eax, esi
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.0046ce78
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x2c], ecx
je 0x410e50
jmp 0x410e7e
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x4c]
lea eax, [ecx + ecx*2]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + eax*8 + 0x10]
mov ecx, dword [ecx + eax*8 + 0x14]
add edx, edi
test ecx, ecx
je 0x410eaf
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
nop dword [eax + eax]
mov edx, dword [eax - 4]
test edx, edx
jne 0x410ed7
sub eax, 0x14
sub ecx, 1
jne 0x410ea0
mov esi, dword [ebp - 0x54]
mov edx, 0x80
mov ebx, dword [ebp - 0x50]
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp - 0x30]
inc esi
add eax, 8
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x30], eax
cmp esi, ecx
jb 0x410ca5
jmp 0x410e50
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x28]
mov eax, dword [eax - 8]
shr edx, 1
add eax, edi
push edx
push eax
call fcn.00403b80
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
cmp ebx, 8
jb 0x4112ea
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.00413400
lea ecx, [ebx*2 + 2]
mov esi, eax
mov eax, edi
cmp ecx, 0x1000
jb 0x410f4a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112f6
push ecx
push edi
call fcn.0046cebb
add esp, 8
jmp 0x410e53
mov esi, dword [ecx + 0x38]
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x410e50
lea eax, [esi + 0x10]
test eax, eax
je 0x410e50
cmp dword [esi + 0xc], 0
lea edx, [edi + edi]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], 0
jbe 0x410e50
lea ecx, [eax + 8]
mov dword [ebp - 0x2c], ecx
nop
mov eax, dword [ecx]
test eax, eax
je 0x41108c
cmp edx, eax
ja 0x41108c
mov ebx, dword [ecx - 4]
mov ecx, dword [ebp - 0x34]
add ebx, esi
mov eax, dword [ebp - 0x44]
mov edi, ecx
dec eax
mov dword [ebp - 0x40], eax
cmp word [ecx], 0
je 0x411020
nop dword [eax]
movzx esi, word [ebx]
test si, si
je 0x411020
test eax, eax
je 0x411020
movzx eax, word [edi]
cmp ax, si
je 0x41100d
mov edx, 0x80
mov ecx, eax
cmp ax, dx
mov edx, ecx
jae 0x410fee
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
mov ecx, 0x80
mov eax, esi
cmp ax, cx
mov ecx, esi
jae 0x411008
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
cmp dx, cx
jne 0x411020
mov eax, dword [ebp - 0x40]
add edi, 2
dec eax
add ebx, 2
mov dword [ebp - 0x40], eax
cmp word [edi], 0
jne 0x410fc0
movzx eax, word [edi]
mov edi, 0x80
mov ecx, eax
mov edx, eax
cmp ax, di
jae 0x41103d
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
movzx eax, word [ebx]
mov esi, eax
mov ecx, eax
cmp ax, di
jae 0x411055
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
mov esi, dword [ebp - 0x3c]
cmp edx, ecx
jne 0x411086
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 0xc]
add edx, esi
je 0x410e50
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x411086
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
mov edx, dword [eax + 4]
test edx, edx
jne 0x4110a7
sub eax, 0x14
sub ecx, 1
jne 0x411077
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
add ecx, 0x18
inc eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
cmp eax, dword [esi + 0xc]
jb 0x410f90
jmp 0x410e50
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
shr edx, 1
add eax, esi
push edx
push eax
call fcn.00403b80
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
cmp ebx, 8
jb 0x4112ea
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.00413400
lea ecx, [ebx*2 + 2]
mov esi, eax
mov eax, edi
cmp ecx, 0x1000
jb 0x411119
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112f6
push ecx
push edi
call fcn.0046cebb
add esp, 8
jmp 0x410e53
mov esi, dword [ecx + 0x38]
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x410e50
lea eax, [esi + 8]
test eax, eax
je 0x410e50
cmp dword [esi + 4], 0
lea edx, [edi + edi]
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x38], 0
jbe 0x410e50
lea ecx, [eax + 4]
mov dword [ebp - 0x2c], ecx
nop
mov eax, dword [ecx]
test eax, eax
je 0x41125b
cmp edx, eax
ja 0x41125b
mov ebx, dword [ecx - 4]
mov ecx, dword [ebp - 0x34]
add ebx, esi
mov eax, dword [ebp - 0x44]
mov edi, ecx
dec eax
mov dword [ebp - 0x40], eax
cmp word [ecx], 0
je 0x4111f0
nop dword [eax]
movzx esi, word [ebx]
test si, si
je 0x4111f0
test eax, eax
je 0x4111f0
movzx eax, word [edi]
cmp ax, si
je 0x4111dd
mov edx, 0x80
mov ecx, eax
cmp ax, dx
mov edx, ecx
jae 0x4111be
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
mov ecx, 0x80
mov eax, esi
cmp ax, cx
mov ecx, esi
jae 0x4111d8
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
cmp dx, cx
jne 0x4111f0
mov eax, dword [ebp - 0x40]
add edi, 2
dec eax
add ebx, 2
mov dword [ebp - 0x40], eax
cmp word [edi], 0
jne 0x411190
movzx eax, word [edi]
mov edi, 0x80
mov ecx, eax
mov edx, eax
cmp ax, di
jae 0x41120d
lea eax, [ecx - 0x41]
or edx, 0x20
cmp eax, 0x19
cmova edx, ecx
movzx eax, word [ebx]
mov esi, eax
mov ecx, eax
cmp ax, di
jae 0x411225
lea eax, [esi - 0x41]
or ecx, 0x20
cmp eax, 0x19
cmova ecx, esi
mov esi, dword [ebp - 0x3c]
cmp edx, ecx
jne 0x411255
mov edx, dword [ebp - 0x2c]
mov edx, dword [edx + 4]
add edx, esi
je 0x410e50
mov ecx, dword [edx]
test ecx, ecx
je 0x411255
mov eax, ecx
shl eax, 4
add eax, edx
mov edx, dword [eax]
test edx, edx
jne 0x411276
sub eax, 0x10
sub ecx, 1
jne 0x411247
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
add ecx, 0xc
inc eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], eax
cmp eax, dword [esi + 4]
jb 0x411160
jmp 0x410e50
mov dword [ebp - 0x28], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
mov eax, dword [eax - 4]
shr edx, 1
add eax, esi
push edx
push eax
call fcn.00403b80
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
cmp ebx, 8
jb 0x4112ea
mov edi, dword [ebp - 0x28]
mov ecx, edi
call fcn.00413400
lea ecx, [ebx*2 + 2]
mov esi, eax
mov eax, edi
cmp ecx, 0x1000
jb 0x410f4a
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4112f6
jmp 0x410f4a
call fcn.00413400
mov esi, eax
jmp 0x410e53
call fcn.00471c84
int3