Function at 0x494470
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x100
mov esi, esp
mov dword [esi + 0xe8], ebp
mov dword [esi + 0xec], esp
mov dword [esi + 0xf8], 0xffffffff
mov dword [esi + 0xf4], 0x49abd0
lea ebx, [esi + 0xf0]
mov edi, edx
mov eax, dword fs:[0]
mov dword [esi + 0xf0], eax
mov dword fs:[0], ebx
mov ebx, dword [ebp + 8]
movzx edx, byte [ebx + 0x30]
cmp dl, 1
jne 0x49453f
movsd xmm2, qword [edi + 0x28]
movsd xmm1, qword [edi + 0x20]
movsd xmm0, qword [edi + 0x30]
movsd qword [ecx + 0x28], xmm2
movsd qword [ecx + 0x20], xmm1
movsd xmm2, qword [edi + 0x18]
movsd xmm1, qword [edi + 0x10]
movsd qword [ecx + 0x30], xmm0
movsd qword [ecx + 0x18], xmm2
movsd qword [ecx + 0x10], xmm1
movsd xmm2, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm2
mov eax, dword [ebx + 0x28]
cmp eax, 5
jb 0x494529
shl eax, 3
push 8
push eax
push dword [ebx + 8]
mov ebx, edx
call fcn.00452e30
mov edx, ebx
add esp, 0xc
cmp dl, 1
je 0x4949d2
mov eax, dword [edi + 0x28]
cmp eax, 5
jae 0x4945ac
jmp 0x4949d2
movzx eax, byte [edi + 0x30]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x4945c2
cmp eax, 1
jne 0x494702
movsd xmm1, qword [ebx + 0x20]
movsd xmm2, qword [ebx + 0x18]
movsd xmm0, qword [ebx + 0x28]
mov al, 2
sub al, dl
mov edx, dword [ebx + 0x34]
movsd qword [ecx + 0x20], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [ecx + 0x18], xmm2
movsd xmm2, qword [ebx]
movsd qword [ecx + 0x28], xmm0
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
mov byte [ecx + 0x30], al
mov eax, dword [ebx + 0x31]
mov dword [ecx + 0x31], eax
mov dword [ecx + 0x34], edx
mov eax, dword [edi + 0x28]
cmp eax, 5
jb 0x4949d2
shl eax, 3
push 8
push eax
push dword [edi + 8]
call fcn.00452e30
add esp, 0xc
jmp 0x4949d2
test dl, dl
je 0x49470a
movsd xmm1, qword [edi + 0x20]
movsd xmm2, qword [edi + 0x18]
movsd xmm0, qword [edi + 0x28]
movsd xmm3, qword [edi]
mov dword [esi + 0x1c], eax
mov edx, 4
mov dword [esi + 0x10], edi
movsd qword [esi + 0xa8], xmm1
movsd xmm1, qword [edi + 0x10]
movsd qword [esi + 0xa0], xmm2
movsd xmm2, qword [ebx + 0x28]
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0x88], xmm3
movsd qword [esi + 0x98], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x78], xmm2
movsd xmm2, qword [ebx + 0x18]
movsd qword [esi + 0x90], xmm1
movsd xmm1, qword [ebx + 0x20]
movsd qword [esi + 0x68], xmm2
movsd xmm2, qword [ebx]
mov ecx, dword [esi + 0xb0]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esi + 0x50], xmm2
cmp ecx, 5
cmovb ecx, edx
mov dword [esi + 8], ecx
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 0x58], xmm1
mov eax, dword [esi + 0x78]
cmp eax, 5
cmovae edx, eax
cmp ecx, edx
mov dword [esi + 0x18], edx
jae 0x49472a
movsd xmm1, qword [ebx + 0x20]
movsd xmm2, qword [ebx + 0x18]
movsd xmm0, qword [ebx + 0x28]
lea eax, [esi + 0x88]
mov dword [esi + 0xf8], 6
lea ecx, [esi + 0x20]
lea edx, [esi + 0xb8]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [ebx + 0x10]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [ebx]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [ebx + 8]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x28], xmm1
push eax
push ecx
push edx
call fcn.0048a520
add esp, 0xc
mov eax, dword [esi + 0xb0]
mov edi, dword [esi + 0x14]
cmp eax, 5
jb 0x4947a2
shl eax, 3
push 8
push eax
push dword [esi + 0x90]
jmp 0x49479a
test dl, dl
je 0x4945ca
mov ecx, dword [edi + 0x28]
mov byte [esi + 0xf], dl
cmp ecx, 4
mov dword [esi + 8], ecx
jbe 0x4947ca
mov ecx, dword [edi + 4]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 8]
jmp 0x4947cd
movsd xmm1, qword [edi + 0x20]
movsd xmm2, qword [edi + 0x18]
movsd xmm0, qword [edi + 0x28]
lea eax, [esi + 0x50]
mov dword [esi + 0xf8], 6
lea ecx, [esi + 0x20]
lea edx, [esi + 0xb8]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [edi + 0x10]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [edi]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [edi + 8]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x28], xmm1
push eax
push ecx
push edx
call fcn.0048a520
add esp, 0xc
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 0x14]
cmp eax, 5
jb 0x4947a2
shl eax, 3
push 8
push eax
push dword [esi + 0x58]
call fcn.00452e30
add esp, 0xc
movzx edx, byte [esi + 0x1c]
lea eax, [esi + 0xb8]
mov byte [esi + 7], 1
mov dword [esi + 0xf8], 1
mov ecx, edi
push eax
call fcn.00494cc0
add esp, 4
jmp 0x4949d2
lea ecx, [edi + 8]
mov edx, dword [ebx + 0x28]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x1c], eax
cmp edx, 4
jbe 0x4947f9
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
mov ebx, dword [esi + 8]
mov dword [esi + 0x80], eax
cmp ebx, edx
jb 0x49480d
jmp 0x4948f0
lea eax, [ebx + 8]
mov ebx, dword [esi + 8]
mov dword [esi + 0x80], eax
cmp ebx, edx
jae 0x4948f0
mov eax, dword [ebp + 8]
mov dword [esi + 0xf8], 2
lea ecx, [esi + 0x50]
lea edx, [esi + 0x88]
movsd xmm1, qword [eax + 0x20]
movsd xmm0, qword [eax + 0x28]
movsd xmm2, qword [eax + 0x18]
movsd xmm3, qword [eax]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x68], xmm2
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x50], xmm3
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [esi + 0x10]
movsd qword [esi + 0x58], xmm1
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x40], xmm1
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x38], xmm2
movsd qword [esi + 0x30], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esi + 0x20]
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm2
push eax
push ecx
push edx
call fcn.0048aa50
add esp, 0xc
mov bl, 2
mov eax, dword [esi + 0x48]
sub bl, byte [esi + 0x1c]
cmp eax, 5
jb 0x4948c8
shl eax, 3
push 8
push eax
push dword [esi + 0x28]
call fcn.00452e30
add esp, 0xc
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x88]
mov byte [esi + 7], 1
mov dword [esi + 0xf8], 1
movzx edx, bl
push eax
call fcn.00494cc0
add esp, 4
jmp 0x4949d2
jbe 0x4949e6
mov eax, dword [esi + 0x10]
mov dword [esi + 0xf8], 3
lea ecx, [esi + 0x50]
lea edx, [esi + 0x88]
movsd xmm1, qword [eax + 0x20]
movsd xmm0, qword [eax + 0x28]
movsd xmm2, qword [eax + 0x18]
movsd xmm3, qword [eax]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x68], xmm2
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x50], xmm3
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [ebp + 8]
movsd qword [esi + 0x58], xmm1
movsd xmm2, qword [eax + 0x28]
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x48], xmm2
movsd qword [esi + 0x40], xmm1
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x38], xmm2
movsd qword [esi + 0x30], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
lea eax, [esi + 0x20]
movsd qword [esi + 0x28], xmm1
movsd qword [esi + 0x20], xmm2
push eax
push ecx
push edx
call fcn.0048aa50
add esp, 0xc
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x14]
cmp eax, 5
jb 0x4949af
shl eax, 3
push 8
push eax
push dword [esi + 0x28]
call fcn.00452e30
add esp, 0xc
movzx edx, byte [esi + 0x1c]
lea eax, [esi + 0x88]
mov byte [esi + 7], 1
mov dword [esi + 0xf8], 1
mov ecx, edi
push eax
call fcn.00494cc0
add esp, 4
mov eax, dword [esi + 0xf0]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
shl ebx, 3
shl edx, 3
nop dword [eax]
test ebx, ebx
je 0x494a3c
test edx, edx
je 0x494a3c
mov eax, dword [esi + 0x84]
mov edi, dword [esi + 0x80]
mov dword [esi + 8], ebx
mov ecx, dword [eax + ebx - 8]
mov eax, dword [eax + ebx - 4]
mov dword [esi + 0x18], eax
mov eax, dword [edi + edx - 8]
mov edi, dword [edi + edx - 4]
mov ebx, dword [esi + 0x18]
cmp ecx, eax
sbb ebx, edi
mov ebx, dword [esi + 8]
jb 0x49480d
add ebx, 0xfffffff8
add edx, 0xfffffff8
cmp eax, ecx
sbb edi, dword [esi + 0x18]
jae 0x4949f0
jmp 0x4948f6
lea eax, [esi + 0x50]
mov dword [esi + 0x48], 0
mov dword [esi + 0x50], 4
mov dword [esi + 0x54], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x58], 2
mov dword [esi + 0xf8], 4
lea ecx, [esi + 0x20]
push eax
push ecx
call fcn.00490730
add esp, 8
movsd xmm1, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x38]
movsd xmm0, qword [esi + 0x48]
movsd qword [esi + 0x70], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esi + 0x68], xmm2
movsd xmm2, qword [esi + 0x20]
movsd qword [esi + 0x78], xmm0
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [esi + 0x28]
movsd qword [esi + 0x50], xmm2
movsd qword [esi + 0x58], xmm1
mov edi, dword [esi + 0x58]
nop dword [eax + eax]
mov eax, dword [esi + 0x78]
lea ecx, [esi + 0x58]
cmp eax, 5
mov ebx, eax
jb 0x494ad2
mov ebx, dword [esi + 0x54]
mov ecx, edi
test ebx, ebx
je 0x494af7
mov edx, dword [ecx + ebx*8 - 8]
or edx, dword [ecx + ebx*8 - 4]
jne 0x494af7
cmp eax, 5
lea ecx, [esi + 0x78]
jb 0x494aee
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x54]
test eax, eax
je 0x494ac0
dec eax
mov dword [ecx], eax
jmp 0x494ac0
movsd xmm1, qword [esi + 0x70]
movsd xmm2, qword [esi + 0x68]
movsd xmm0, qword [esi + 0x78]
mov ecx, dword [esi + 0x14]
lea eax, [esi + 0x20]
mov byte [esi + 7], 0
mov dword [esi + 0xf8], 1
mov edx, 1
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [esi + 0x60]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [esi + 0x50]
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [esi + 0x20], xmm2
movsd qword [esi + 0x28], xmm1
push eax
call fcn.00494cc0
add esp, 4
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp + 8]
movzx edx, byte [esi + 0xf]
mov eax, dword [ebx + 0x28]
cmp eax, 5
jae 0x494514
jmp 0x494529