Function at 0x492120
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov esi, esp
mov dword [esi + 0xf0], ebp
mov dword [esi + 0xf4], esp
mov dword [esi + 0x100], 0xffffffff
mov dword [esi + 0xfc], 0x49ab80
mov dword [esi + 0xbc], ecx
lea eax, [esi + 0xf8]
mov dword [esi + 0x70], edx
mov ecx, dword fs:[0]
mov dword [esi + 0xf8], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x10]
mov dword [esi + 0x68], 0
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x18], 2
mov dword [esi + 0x100], 6
lea ecx, [esi + 0x40]
push eax
push ecx
call fcn.00490730
add esp, 8
movsd xmm1, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x58]
movsd xmm0, qword [esi + 0x68]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
mov edi, dword [esi + 0x18]
nop
mov eax, dword [esi + 0x38]
lea ecx, [esi + 0x18]
cmp eax, 5
mov ebx, eax
jb 0x492202
mov ebx, dword [esi + 0x14]
mov ecx, edi
test ebx, ebx
je 0x492227
mov edx, dword [ecx + ebx*8 - 8]
or edx, dword [ecx + ebx*8 - 4]
jne 0x492227
cmp eax, 5
lea ecx, [esi + 0x38]
jb 0x49221e
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x14]
test eax, eax
je 0x4921f0
dec eax
mov dword [ecx], eax
jmp 0x4921f0
movsd xmm1, qword [esi + 0x30]
mov eax, dword [esi + 0x70]
movsd xmm2, qword [esi + 0x28]
movq xmm0, qword [esi + 0x38]
movsd xmm3, qword [esi + 0x10]
mov ecx, dword [ebp + 8]
movsd qword [esi + 0x60], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0x58], xmm2
movsd xmm2, qword [eax + 0x28]
movsd qword [esi + 0x40], xmm3
movq qword [esi + 0x68], xmm0
mov ebx, ecx
movq xmm3, qword [esi + 0x40]
shr ebx, 6
cmp ecx, 0x3f
movsd qword [esi + 0x50], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esi + 0xe8], xmm2
movsd xmm2, qword [eax + 0x18]
movsd qword [esi + 0x48], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0xd8], xmm2
movsd xmm2, qword [eax]
movq qword [eax], xmm3
movsd qword [esi + 0xe0], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0xc0], xmm2
movsd xmm2, qword [esi + 0x50]
movsd qword [esi + 0xd0], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [eax + 0x10], xmm2
movsd xmm2, qword [esi + 0x60]
movsd qword [esi + 0xc8], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [eax + 0x20], xmm2
movsd qword [eax + 8], xmm1
movsd xmm1, qword [esi + 0x58]
movsd qword [eax + 0x18], xmm1
movq xmm1, qword [esi + 0x68]
movq qword [eax + 0x28], xmm1
ja 0x49232a
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
cmp ecx, 2
jne 0x492416
mov ecx, dword [eax + 0x28]
mov dword [esi + 4], ebx
cmp ecx, 4
jbe 0x4924da
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x4924dd
mov ecx, dword [esi + 0xc0]
mov eax, dword [esi + 0xc4]
lea edi, [esi + 0xc0]
mov edx, edi
cmp ecx, 2
cmove edx, eax
mov edx, dword [edx + 0x28]
cmp edx, 5
jb 0x492355
cmp ecx, 2
cmovne eax, edi
mov edx, dword [eax + 4]
lea edx, [ebx + edx + 1]
mov dword [esi + 0x68], 0
mov dword [esi + 0x40], 0
mov dword [esi + 4], ebx
cmp edx, 5
jb 0x49238f
lea ecx, [esi + 0x40]
mov dword [esi + 0x100], 5
call fcn.00491210
mov ebx, dword [esi + 4]
cmp eax, 0x80000001
jne 0x492998
movsd xmm1, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x58]
movq xmm0, qword [esi + 0x68]
mov dword [esi + 0x100], 4
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [esi + 0x40]
movq qword [esi + 0x38], xmm0
movsd qword [esi + 0x20], xmm1
movq xmm1, qword [esi + 0x48]
movsd qword [esi + 0x10], xmm2
movq qword [esi + 0x18], xmm1
push ebx
push 0
push 0
lea eax, [esi + 0x10]
push eax
call fcn.00490a30
add esp, 0x10
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
lea edi, [esi + 0xc0]
mov eax, edi
cmp edx, 2
cmove eax, ecx
mov eax, dword [eax + 0x28]
cmp eax, 4
jbe 0x49245c
cmp edx, 2
cmove edi, ecx
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
jmp 0x492465
movsd xmm2, qword [esi + 0xe0]
movsd xmm1, qword [esi + 0xd8]
movsd xmm0, qword [esi + 0xe8]
movsd qword [esi + 0x28], xmm2
movsd qword [esi + 0x20], xmm1
movsd xmm2, qword [esi + 0xc8]
movsd xmm1, qword [esi + 0xd0]
movsd qword [esi + 0x30], xmm0
movsd qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm2
jmp 0x492541
cmp edx, 2
cmove edi, ecx
add edi, 8
lea eax, [edi + eax*8]
push eax
push edi
lea eax, [esi + 0x10]
push eax
call fcn.00490c00
add esp, 0xc
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x28]
movq xmm0, qword [esi + 0x38]
mov ebx, dword [esi + 4]
mov cl, 1
movsd qword [esi + 0xa8], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0xa0], xmm2
movsd xmm2, qword [esi + 0x10]
movq qword [esi + 0xb0], xmm0
movsd qword [esi + 0x98], xmm1
movq xmm1, qword [esi + 0x18]
movsd qword [esi + 0x88], xmm2
movq qword [esi + 0x90], xmm1
mov edx, dword [ebp + 8]
and edx, 0x3f
jne 0x49259c
jmp 0x4927cb
add eax, 8
lea ecx, [eax + ecx*8]
mov dword [esi + 0x68], 0
mov dword [esi + 0x100], 2
mov dword [esi + 0x40], 0
push ecx
push eax
lea eax, [esi + 0x40]
push eax
call fcn.00490c00
add esp, 0xc
movsd xmm2, qword [esi + 0x50]
movsd xmm1, qword [esi + 0x58]
movsd xmm0, qword [esi + 0x48]
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x44]
mov ebx, dword [esi + 4]
movsd qword [esi + 0x18], xmm2
movsd qword [esi + 0x20], xmm1
movsd xmm2, qword [esi + 0x60]
movsd xmm1, qword [esi + 0x68]
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 0x28], xmm2
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x18]
mov dword [esi + 0x88], ecx
mov dword [esi + 0x8c], eax
movq xmm0, qword [esi + 0x10]
movsd xmm2, qword [esi + 0x28]
xor ecx, ecx
movsd qword [esi + 0x98], xmm1
movsd xmm1, qword [esi + 0x20]
movq qword [esi + 0x90], xmm0
movsd qword [esi + 0xa8], xmm2
movsd qword [esi + 0xa0], xmm1
movq xmm1, qword [esi + 0x30]
movq qword [esi + 0xb0], xmm1
mov edx, dword [ebp + 8]
and edx, 0x3f
je 0x4927cb
mov edi, dword [esi + 0xb0]
cmp edi, 4
jbe 0x4925b5
mov edi, dword [esi + 0x8c]
mov eax, dword [esi + 0x90]
jmp 0x4925bb
lea eax, [esi + 0x90]
cmp edi, ebx
jb 0x49297a
je 0x4927cb
mov dword [esi + 0x80], edx
mov edx, dword [ebp + 8]
mov dword [esi + 0x7c], ecx
lea ecx, [eax + ebx*8]
mov dword [esi + 8], eax
mov eax, edi
mov dword [esi + 0x78], edi
lea edi, [edi*8]
shl ebx, 3
sub edi, ebx
add edi, 0xfffffff8
neg edx
and edx, 0x3f
cmp edi, 0x18
mov eax, edx
mov dword [esi + 0xc], edx
jae 0x49260f
mov dword [esi + 4], ecx
mov dword [esi + 0x74], 0
xor ebx, ebx
jmp 0x4926a4
shr edi, 3
mov edx, dword [esi + 0x80]
movd xmm0, dword [esi + 0xc]
xorps xmm2, xmm2
inc edi
mov eax, edi
and eax, 0xfffffffc
lea ecx, [ecx + eax*8]
movd xmm1, edx
mov dword [esi + 4], ecx
mov ecx, eax
mov eax, dword [esi + 8]
lea eax, [ebx + eax + 0x10]
mov ebx, ecx
nop dword [eax + eax]
movdqu xmm3, xmmword [eax - 0x10]
movdqu xmm4, xmmword [eax]
movdqa xmm5, xmm3
psllq xmm3, xmm1
psrlq xmm5, xmm0
shufps xmm2, xmm5, 0x4e
por xmm3, xmm2
movdqa xmm2, xmm4
psllq xmm4, xmm1
psrlq xmm2, xmm0
movdqu xmmword [eax - 0x10], xmm3
shufps xmm5, xmm2, 0x4e
por xmm4, xmm5
movdqu xmmword [eax], xmm4
add eax, 0x20
add ebx, 0xfffffffc
jne 0x492640
pshufd xmm0, xmm2, 0xff
pshufd xmm1, xmm2, 0xee
cmp edi, ecx
movd ebx, xmm0
movd eax, xmm1
jne 0x4926a1
mov edx, eax
mov ecx, ebx
jmp 0x49272f
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x78]
mov edi, dword [esi + 8]
mov dword [esi + 0x84], ebx
mov ebx, dword [esi + 4]
lea eax, [edi + eax*8]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x74]
nop dword [eax]
mov edx, dword [ebx + 4]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x74], eax
mov dword [esi + 4], ebx
mov edi, edx
shr edi, cl
mov ecx, dword [ebx]
mov eax, ecx
mov ebx, ecx
mov ecx, dword [esi + 0xc]
shrd eax, edx, cl
test byte [esi + 0xc], 0x20
mov ecx, dword [esi + 0x80]
cmovne eax, edi
mov dword [esi + 8], eax
mov eax, 0
cmovne edi, eax
mov eax, ebx
shl ebx, cl
shld edx, eax, cl
test cl, 0x20
mov eax, 0
mov ecx, edi
cmovne edx, ebx
cmovne ebx, eax
mov eax, dword [esi + 4]
or edx, dword [esi + 0x84]
or ebx, dword [esi + 0x74]
mov dword [esi + 0x84], edi
mov dword [eax], ebx
mov dword [eax + 4], edx
lea ebx, [eax + 8]
mov edx, dword [esi + 8]
cmp ebx, dword [esi + 0x78]
mov eax, edx
jne 0x4926c0
mov eax, edx
or eax, ecx
je 0x4927cb
mov dword [esi + 8], edx
mov edx, dword [esi + 0xb0]
cmp edx, 5
jb 0x492755
mov eax, dword [esi + 0x8c]
cmp eax, edx
je 0x49275a
mov ebx, ecx
jmp 0x4927a1
cmp edx, 4
jne 0x4927af
inc edx
mov dword [esi + 0xc], ecx
je 0x4929c2
dec edx
mov dword [esi + 0x100], 3
bsr ecx, edx
mov edx, 0xffffffff
not ecx
shr edx, cl
inc edx
je 0x4929c2
lea ecx, [esi + 0x88]
call fcn.00491210
mov ebx, dword [esi + 0xc]
cmp eax, 0x80000001
jne 0x4929be
mov eax, dword [esi + 0x8c]
lea ecx, [esi + 0x8c]
mov edi, dword [esi + 0x90]
jmp 0x4927bf
mov ebx, ecx
lea ecx, [esi + 0xb0]
lea edi, [esi + 0x90]
mov eax, edx
mov edx, dword [esi + 8]
mov dword [edi + eax*8 + 4], ebx
mov dword [edi + eax*8], edx
inc dword [ecx]
movsd xmm3, qword [esi + 0xb0]
movsd xmm2, qword [esi + 0xa8]
movsd xmm0, qword [esi + 0x88]
movsd xmm1, qword [esi + 0x90]
movsd qword [esi + 0x68], xmm3
movsd qword [esi + 0x60], xmm2
movsd xmm3, qword [esi + 0xa0]
movsd xmm2, qword [esi + 0x98]
movsd qword [esi + 0x48], xmm1
movsd qword [esi + 0x40], xmm0
movsd qword [esi + 0x58], xmm3
movsd qword [esi + 0x50], xmm2
mov edi, dword [esi + 0x48]
nop dword [eax]
mov eax, dword [esi + 0x68]
lea ecx, [esi + 0x48]
cmp eax, 5
mov ebx, eax
jb 0x492832
mov ebx, dword [esi + 0x44]
mov ecx, edi
test ebx, ebx
je 0x492857
mov edx, dword [ecx + ebx*8 - 8]
or edx, dword [ecx + ebx*8 - 4]
jne 0x492857
cmp eax, 5
lea ecx, [esi + 0x68]
jb 0x49284e
mov eax, dword [esi + 0x44]
lea ecx, [esi + 0x44]
test eax, eax
je 0x492820
dec eax
mov dword [ecx], eax
jmp 0x492820
movsd xmm1, qword [esi + 0x60]
movsd xmm2, qword [esi + 0x58]
cmp dword [ebp + 8], 0x40
movsd xmm0, qword [esi + 0x68]
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [esi + 0x50]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [esi + 0x40]
movsd qword [esi + 0x38], xmm0
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [esi + 0x48]
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
jb 0x4928c1
cmp dword [esi + 0xc0], 2
je 0x4928c1
mov eax, dword [esi + 0xe8]
cmp eax, 5
jb 0x4928c1
shl eax, 3
push 8
push eax
push dword [esi + 0xc8]
call fcn.00452e30
add esp, 0xc
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx + 0x28]
cmp eax, 5
jb 0x4928e0
shl eax, 3
push 8
push eax
push dword [ecx + 8]
call fcn.00452e30
mov ecx, dword [esi + 0x70]
add esp, 0xc
movsd xmm1, qword [esi + 0x30]
movsd xmm2, qword [esi + 0x28]
movsd xmm0, qword [esi + 0x38]
mov eax, dword [esi + 0xbc]
movsd qword [ecx + 0x20], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [ecx + 0x18], xmm2
movsd xmm2, qword [esi + 0x10]
movsd qword [ecx + 0x28], xmm0
movsd qword [ecx + 0x10], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [ecx], xmm2
movsd xmm2, qword [ecx + 0x28]
movsd qword [ecx + 8], xmm1
movsd xmm1, qword [ecx + 0x30]
movsd qword [eax + 0x28], xmm2
movsd xmm2, qword [ecx + 0x18]
movsd qword [eax + 0x30], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [ecx]
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax], xmm2
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [ecx + 8]
mov ecx, dword [esi + 0xf8]
movsd qword [eax + 8], xmm1
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x100], 3
push 0x5fcb48
push edi
push ebx
call fcn.005b1ab0
add esp, 0xc
jmp 0x4929ec
test eax, eax
jne 0x4929b2
push 0x5fc568
push 0x11
push str.capacity_overflow
call fcn.005b1730
add esp, 0xc
jmp 0x4929ec
push edx
push eax
call fcn.005b14d0
add esp, 8
jmp 0x4929ec
test eax, eax
jne 0x4929e2
mov dword [esi + 0x100], 3
push 0x5fc568
push 0x11
push str.capacity_overflow
call fcn.005b1730
add esp, 0xc
jmp 0x4929ec
push edx
push eax
call fcn.005b14d0
add esp, 8
ud2